ArtFile Class Reference

#include <artfile.h>

Inheritance diagram for ArtFile:

BaseFile List of all members.

Public Methods

 ArtFile (FILESTRUCT *data)
 ArtFile (const char *sFilename)
 ArtFile ()
 ~ArtFile ()
uint32 GetVersion ()
uint32 GetNumTiles ()
uint32 GetTileStart ()
uint32 GetTileEnd ()
uint16 GetTileSizeX (uint32 nNum)
uint16 GetTileSizeY (uint32 nNum)
ARTSTRUCTGetDataHandle ()

Protected Attributes

ARTSTRUCT m_Art

Detailed Description

This class is used to deal with ART files

Definition at line 11 of file artfile.h.


Constructor & Destructor Documentation

ArtFile::ArtFile FILESTRUCT   data
 

Read an ART file straight from the GroupFile

Definition at line 5 of file artfile.cpp.

ArtFile::ArtFile const char *    sFilename
 

Load an ART file from disk

Definition at line 100 of file artfile.cpp.

ArtFile::ArtFile  
 

Create an empty ART file

Definition at line 179 of file artfile.cpp.

ArtFile::~ArtFile  
 

Definition at line 188 of file artfile.cpp.


Member Function Documentation

ARTSTRUCT* ArtFile::GetDataHandle   [inline]
 

Returns a pointer to the actual ARTSTRUCT data

Definition at line 48 of file artfile.h.

uint32 ArtFile::GetNumTiles   [inline]
 

Returns the number of tiles in the ART archive. Note: don't use this number. If you want to get the correct number, use (nTileEnd - nTileStart)

Definition at line 33 of file artfile.h.

uint32 ArtFile::GetTileEnd   [inline]
 

Returns the number of the last tile in the ART file

Definition at line 39 of file artfile.h.

uint16 ArtFile::GetTileSizeX uint32    nNum
 

Returns the X dimension of the tile in index nNum

Definition at line 223 of file artfile.cpp.

uint16 ArtFile::GetTileSizeY uint32    nNum
 

Returns the Y dimension of the tile in index nNum

Definition at line 233 of file artfile.cpp.

uint32 ArtFile::GetTileStart   [inline]
 

Returns the number of the first tile in the ART file

Definition at line 36 of file artfile.h.

uint32 ArtFile::GetVersion   [inline]
 

Returns the current ART file version

Definition at line 27 of file artfile.h.


Member Data Documentation

ARTSTRUCT ArtFile::m_Art [protected]
 

Art data

Definition at line 53 of file artfile.h.


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