- Main Page
- Data Structures
- Files

# /home/dwoods/DevIL/src-IL/include/il_lif.h

    00001 //-----------------------------------------------------------------------------
    00002 //
    00003 // ImageLib Sources
    00004 // Copyright (C) 2000-2001 by Denton Woods
    00005 // Last modified: 05/25/2001 <--Y2K Compliant! =]
    00006 //
    00007 // Filename: src-IL/include/il_lif.c
    00008 //
    00009 // Description: Reads a Homeworld image.
    00010 //
    00011 //-----------------------------------------------------------------------------
    00012
    00013
    00014 #ifndef LIF_H
    00015 #define LIF_H
    00016
    00017 #include "il_internal.h"
    00018
    00019 typedef struct LIF_HEAD
    00020 {
    00021     char        Id[8];                  //"Willy 7"
    00022     ILuint      Version;                // Version Number (260)
    00023     ILuint      Flags;                  // Usually 50
    00024     ILuint      Width;
    00025         ILuint  Height;
    00026     ILuint      PaletteCRC;             // CRC of palettes for fast comparison.
    00027     ILuint      ImageCRC;               // CRC of the image.
    00028         ILuint  PalOffset;              // Offset to the palette (not used).
    00029         ILuint  TeamEffect0;    // Team effect offset 0
    00030         ILuint  TeamEffect1;    // Team effect offset 1
    00031 } LIF_HEAD;
    00032
    00033 ILboolean iIsValidLif(void);
    00034 ILboolean iCheckLif(LIF_HEAD *Header);
    00035 ILboolean iLoadLifInternal(void);
    00036
    00037 #endif//LIF_H