mirror of
https://github.com/love2d/megasource.git
synced 2026-08-17 19:24:09 +02:00
Add DevIL 1.7.8.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// ImageLib Sources
|
||||
// Copyright (C) 2000-2001 by Denton Woods
|
||||
// Last modified: 05/25/2001 <--Y2K Compliant! =]
|
||||
//
|
||||
// Filename: src-IL/include/il_lif.c
|
||||
//
|
||||
// Description: Reads a Homeworld image.
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
#ifndef LIF_H
|
||||
#define LIF_H
|
||||
|
||||
#include "il_internal.h"
|
||||
|
||||
typedef struct LIF_HEAD
|
||||
{
|
||||
char Id[8]; //"Willy 7"
|
||||
ILuint Version; // Version Number (260)
|
||||
ILuint Flags; // Usually 50
|
||||
ILuint Width;
|
||||
ILuint Height;
|
||||
ILuint PaletteCRC; // CRC of palettes for fast comparison.
|
||||
ILuint ImageCRC; // CRC of the image.
|
||||
ILuint PalOffset; // Offset to the palette (not used).
|
||||
ILuint TeamEffect0; // Team effect offset 0
|
||||
ILuint TeamEffect1; // Team effect offset 1
|
||||
} LIF_HEAD;
|
||||
|
||||
ILboolean iIsValidLif(void);
|
||||
ILboolean iCheckLif(LIF_HEAD *Header);
|
||||
ILboolean iLoadLifInternal(void);
|
||||
|
||||
#endif//LIF_H
|
||||
Reference in New Issue
Block a user