#include <artfile.h>
Inheritance diagram for ArtFile:
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) |
ARTSTRUCT * | GetDataHandle () |
Protected Attributes | |
ARTSTRUCT | m_Art |
Definition at line 11 of file artfile.h.
|
Read an ART file straight from the GroupFile Definition at line 5 of file artfile.cpp. |
|
Load an ART file from disk Definition at line 100 of file artfile.cpp. |
|
Create an empty ART file Definition at line 179 of file artfile.cpp. |
|
Definition at line 188 of file artfile.cpp. |
|
Returns a pointer to the actual ARTSTRUCT data |
|
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) |
|
Returns the number of the last tile in the ART file |
|
Returns the X dimension of the tile in index nNum Definition at line 223 of file artfile.cpp. |
|
Returns the Y dimension of the tile in index nNum Definition at line 233 of file artfile.cpp. |
|
Returns the number of the first tile in the ART file |
|
Returns the current ART file version |
|
Art data |