Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
71
rylCoder_16.02.2008_src/addons/DevIL/src-IL/include/il_gif.h
Normal file
71
rylCoder_16.02.2008_src/addons/DevIL/src-IL/include/il_gif.h
Normal file
@@ -0,0 +1,71 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// ImageLib Sources
|
||||
// Copyright (C) 2000-2002 by Denton Woods
|
||||
// Last modified: 05/18/2002 <--Y2K Compliant! =]
|
||||
//
|
||||
// Filename: src-IL/include/il_gif.h
|
||||
//
|
||||
// Description: Reads from a Graphics Interchange Format (.gif) file.
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
#ifndef GIF_H
|
||||
#define GIF_H
|
||||
|
||||
#include "il_internal.h"
|
||||
|
||||
#define GIF87A 87
|
||||
#define GIF89A 89
|
||||
|
||||
#ifdef _WIN32
|
||||
#pragma pack(push, gif_struct, 1)
|
||||
#endif
|
||||
typedef struct GIFHEAD
|
||||
{
|
||||
char Sig[6];
|
||||
ILushort Width;
|
||||
ILushort Height;
|
||||
ILubyte ColourInfo;
|
||||
ILubyte Background;
|
||||
ILubyte Aspect;
|
||||
} IL_PACKSTRUCT GIFHEAD;
|
||||
|
||||
typedef struct IMAGEDESC
|
||||
{
|
||||
ILubyte Separator;
|
||||
ILushort OffX;
|
||||
ILushort OffY;
|
||||
ILushort Width;
|
||||
ILushort Height;
|
||||
ILubyte ImageInfo;
|
||||
} IL_PACKSTRUCT IMAGEDESC;
|
||||
|
||||
typedef struct GFXCONTROL
|
||||
{
|
||||
ILubyte Size;
|
||||
ILubyte Packed;
|
||||
ILushort Delay;
|
||||
ILubyte Transparent;
|
||||
ILubyte Terminator;
|
||||
ILboolean Used; //this stores if a gfxcontrol was read - it is IL_FALSE (!)
|
||||
|
||||
//if a gfxcontrol was read from the file, IL_TRUE otherwise
|
||||
} IL_PACKSTRUCT GFXCONTROL;
|
||||
#ifdef _WIN32
|
||||
#pragma pack(pop, gif_struct)
|
||||
#endif
|
||||
|
||||
// Internal functions
|
||||
ILboolean iLoadGifInternal(ILvoid);
|
||||
ILboolean ilLoadGifF(ILHANDLE File);
|
||||
ILboolean iIsValidGif(ILvoid);
|
||||
ILboolean iGetPalette(ILubyte Info, ILpal *Pal);
|
||||
ILboolean GetImages(ILpal *GlobalPal, GIFHEAD *GifHead);
|
||||
ILboolean SkipExtensions(GFXCONTROL *Gfx);
|
||||
ILboolean GifGetData(ILubyte *Data, ILuint ImageSize, ILuint Width, ILuint Height, ILuint Stride, GFXCONTROL *Gfx);
|
||||
ILboolean RemoveInterlace(ILimage *image);
|
||||
ILboolean iCopyPalette(ILpal *Dest, ILpal *Src);
|
||||
ILboolean ConvertTransparent(ILimage *Image, ILubyte TransColour);
|
||||
|
||||
Reference in New Issue
Block a user