- Main Page
- Data Structures
- Files

- File List
- Globals

# E:/DevIL/src-IL/include/il_stack.h

    00001 //-----------------------------------------------------------------------------
    00002 //
    00003 // ImageLib Sources
    00004 // Copyright (C) 2000-2002 by Denton Woods
    00005 // Last modified: 05/25/2001 <--Y2K Compliant! =]
    00006 //
    00007 // Filename: src-IL/include/il_stack.h
    00008 //
    00009 // Description: The main image stack
    00010 //
    00011 //-----------------------------------------------------------------------------
    00012
    00013 #ifndef IMAGESTACK_H
    00014 #define IMAGESTACK_H
    00015
    00016 #include "il_internal.h"
    00017
    00018
    00019 // Just a guess...seems large enough
    00020 #define I_STACK_INCREMENT 1024
    00021
    00022 typedef struct iFree
    00023 {
    00024         ILuint  Name;
    00025         void    *Next;
    00026 } iFree;
    00027
    00028
    00029 // Internal functions
    00030 ILboolean       iEnlargeStack(void);
    00031 void            iFreeMem(void);
    00032
    00033 // Globals for il_stack.c
    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