PaletteFile Class Reference

#include <palettefile.h>

Inheritance diagram for PaletteFile:

BaseFile List of all members.

Public Methods

 PaletteFile (FILESTRUCT *data)
 PaletteFile (const char *sFilename)
 PaletteFile ()
 ~PaletteFile ()
uint16 GetNumPalLookups ()
PALETTESTRUCTGetDataHandle ()

Protected Attributes

PALETTESTRUCT m_Palette

Detailed Description

This is used to deal with Palette (.DAT) files

Definition at line 11 of file palettefile.h.


Constructor & Destructor Documentation

PaletteFile::PaletteFile FILESTRUCT   data
 

Read a Palette file straight from the GroupFile

Definition at line 5 of file palettefile.cpp.

PaletteFile::PaletteFile const char *    sFilename
 

Load a Palette file from disk

Definition at line 36 of file palettefile.cpp.

PaletteFile::PaletteFile  
 

Create an empty Palette file

Definition at line 69 of file palettefile.cpp.

PaletteFile::~PaletteFile  
 

Definition at line 74 of file palettefile.cpp.


Member Function Documentation

PALETTESTRUCT* PaletteFile::GetDataHandle   [inline]
 

Returns a pointer to the actual formatted Palette data

Definition at line 30 of file palettefile.h.

uint16 PaletteFile::GetNumPalLookups   [inline]
 

Returns the number of palette lookups

Definition at line 27 of file palettefile.h.


Member Data Documentation

PALETTESTRUCT PaletteFile::m_Palette [protected]
 

The actual formatted Palette data

Definition at line 35 of file palettefile.h.


The documentation for this class was generated from the following files:
Generated on Sat Jan 11 23:36:59 2003 for Build-Lib by doxygen1.2.18