00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef IMAGESTACK_H
00014 #define IMAGESTACK_H
00015
00016 #include "il_internal.h"
00017
00018
00019
00020 #define I_STACK_INCREMENT 1024
00021
00022 typedef struct iFree
00023 {
00024 ILuint Name;
00025 void *Next;
00026 } iFree;
00027
00028
00029
00030 ILboolean iEnlargeStack(void);
00031 void iFreeMem(void);
00032
00033
00034 ILuint StackSize = 0;
00035 ILuint LastUsed = 0;
00036 ILuint CurName = 0;
00037 ILimage **ImageStack = NULL;
00038 iFree *FreeNames = NULL;
00039 ILboolean OnExit = IL_FALSE;
00040 ILboolean ParentImage = IL_TRUE;
00041
00042
00043 #endif//IMAGESTACK_H