palettefile.h

Go to the documentation of this file.
00001 #ifndef _PaletteFile_H_
00002 #define _PaletteFile_H_
00003 
00004 #include "stdafx.h"
00005 #include "fileformatdefs.h"
00006 #include "vardefs.h"
00007 #include <stdio.h>
00008 #include "basefile.h"
00009 
00011 class PaletteFile : public BaseFile
00012 {
00013 public:
00014 
00016         PaletteFile(FILESTRUCT* data);
00017 
00019         PaletteFile(const char* sFilename);
00020 
00022         PaletteFile();
00023 
00024         ~PaletteFile();
00025         
00027         uint16 GetNumPalLookups(){ return m_Palette.numpalookups; }
00028 
00030         PALETTESTRUCT* GetDataHandle(){ return &m_Palette; }
00031 
00032 protected:
00033 
00035         PALETTESTRUCT m_Palette;
00036 };
00037 
00038 #endif
00039 

Generated on Sat Jan 11 23:36:56 2003 for Build-Lib by doxygen1.2.18