00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 #ifndef STATES_H
00014 #define STATES_H
00015 
00016 #include "ilut_internal.h"
00017 
00018 
00019 ILboolean ilutAble(ILenum Mode, ILboolean Flag);
00020 
00021 
00022 #define ILUT_ATTRIB_STACK_MAX 32
00023 
00024 ILuint ilutCurrentPos = 0;  
00025 
00026 
00027 
00028 
00029 
00030 typedef struct ILUT_STATES
00031 {
00032 
00033         
00034         ILboolean       ilutUsePalettes;
00035         ILboolean       ilutOglConv;
00036         ILboolean       ilutForceIntegerFormat;
00037         ILenum          ilutDXTCFormat;
00038 
00039         
00040         ILboolean       ilutUseS3TC;
00041         ILboolean       ilutGenS3TC;
00042         ILboolean       ilutAutodetectTextureTarget;
00043         ILint           MaxTexW;
00044         ILint           MaxTexH;
00045         ILint           MaxTexD;
00046 
00047         
00048         ILuint          D3DMipLevels;
00049         ILenum          D3DPool;
00050         ILint           D3DAlphaKeyColor; 
00051 
00052 } ILUT_STATES;
00053 
00054 ILUT_STATES ilutStates[ILUT_ATTRIB_STACK_MAX];
00055 
00056 
00057 #endif//STATES_H