mirror of
https://github.com/love2d/megasource.git
synced 2026-08-16 00:02:15 +02:00
Add DevIL 1.7.8.
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// ImageLib Sources
|
||||
// Copyright (C) 2000-2002 by Denton Woods
|
||||
// Last modified: 05/25/2001 <--Y2K Compliant! =]
|
||||
//
|
||||
// Filename: src-IL/include/il_stack.h
|
||||
//
|
||||
// Description: The main image stack
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef IMAGESTACK_H
|
||||
#define IMAGESTACK_H
|
||||
|
||||
#include "il_internal.h"
|
||||
|
||||
|
||||
// Just a guess...seems large enough
|
||||
#define I_STACK_INCREMENT 1024
|
||||
|
||||
typedef struct iFree
|
||||
{
|
||||
ILuint Name;
|
||||
void *Next;
|
||||
} iFree;
|
||||
|
||||
|
||||
// Internal functions
|
||||
ILboolean iEnlargeStack(void);
|
||||
void iFreeMem(void);
|
||||
|
||||
// Globals for il_stack.c
|
||||
ILuint StackSize = 0;
|
||||
ILuint LastUsed = 0;
|
||||
ILuint CurName = 0;
|
||||
ILimage **ImageStack = NULL;
|
||||
iFree *FreeNames = NULL;
|
||||
ILboolean OnExit = IL_FALSE;
|
||||
ILboolean ParentImage = IL_TRUE;
|
||||
|
||||
|
||||
#endif//IMAGESTACK_H
|
||||
Reference in New Issue
Block a user