il_lif.h
Upload User: wmy0603
Upload Date: 2022-05-02
Package Size: 1808k
Code Size: 1k
Development Platform:

Visual C++

  1. //-----------------------------------------------------------------------------
  2. //
  3. // ImageLib Sources
  4. // Copyright (C) 2000-2001 by Denton Woods
  5. // Last modified: 05/25/2001 <--Y2K Compliant! =]
  6. //
  7. // Filename: src-IL/include/il_lif.c
  8. //
  9. // Description: Reads a Homeworld image.
  10. //
  11. //-----------------------------------------------------------------------------
  12. #ifndef LIF_H
  13. #define LIF_H
  14. #include "il_internal.h"
  15. typedef struct LIF_HEAD
  16. {
  17.     char Id[8]; //"Willy 7"
  18.     ILuint Version; // Version Number (260)
  19.     ILuint Flags; // Usually 50
  20.     ILuint Width;
  21. ILuint Height;
  22.     ILuint PaletteCRC; // CRC of palettes for fast comparison.
  23.     ILuint ImageCRC; // CRC of the image.
  24. ILuint PalOffset; // Offset to the palette (not used).
  25. ILuint TeamEffect0; // Team effect offset 0
  26. ILuint TeamEffect1; // Team effect offset 1
  27. } LIF_HEAD;
  28. ILboolean iIsValidLif(void);
  29. ILboolean iCheckLif(LIF_HEAD *Header);
  30. ILboolean iLoadLifInternal(void);
  31. #endif//LIF_H