#include <TileData.h>
Inherits RefCountClass.
Public Member Functions | |
| TileData (void) | |
| UnsignedByte * | getDataPtr (void) |
| void | updateMips (void) |
| Bool | hasRGBDataForWidth (Int width) |
| UnsignedByte * | getRGBDataForWidth (Int width) |
Public Member Functions inherited from RefCountClass | |
| RefCountClass (void) | |
| RefCountClass (const RefCountClass &) | |
| void | Add_Ref (void) const |
| WWINLINE void | Release_Ref (void) const |
| int | Num_Refs (void) const |
| virtual void | Delete_This (void) |
Static Public Member Functions | |
| static Int | dataLen (void) |
Static Public Member Functions inherited from RefCountClass | |
| static int | Total_Refs (void) |
| static RefCountClass * | Add_Active_Ref (RefCountClass *obj) |
| static RefCountClass * | Set_Ref_Owner (RefCountClass *obj, char *file, int line) |
| static void | Remove_Active_Ref (RefCountClass *obj) |
| static bool | Validate_Active_Ref (RefCountClass *obj) |
Public Attributes | |
| ICoord2D | m_tileLocationInTexture |
Public Attributes inherited from RefCountClass | |
| RefCountNodeClass | ActiveRefNode |
| ActiveRefStruct | ActiveRefInfo |
Static Protected Member Functions | |
| static void | doMip (UnsignedByte *pHiRes, Int hiRow, UnsignedByte *pLoRes) |
Additional Inherited Members | |
Static Public Attributes inherited from RefCountClass | |
| static RefCountListClass | ActiveRefList |
Protected Member Functions inherited from RefCountClass | |
| virtual | ~RefCountClass (void) |
This class holds the bitmap data from the .tga texture files. It is used to create the D3D texture in the game and 3d windows, and to create DIB data for the 2d window.
Definition at line 68 of file TileData.h.
| TileData::TileData | ( | void | ) |
Definition at line 41 of file TileData.cpp.
|
inlinestatic |
Definition at line 100 of file TileData.h.
|
staticprotected |
doMip - generates the next mip level mipping pHiRes down to pLoRes. pLoRes is 1/2 the width of pHiRes, and both are square.
Definition at line 88 of file TileData.cpp.
|
inline |
Definition at line 99 of file TileData.h.
| UnsignedByte * TileData::getRGBDataForWidth | ( | Int | width | ) |
Definition at line 65 of file TileData.cpp.
Definition at line 53 of file TileData.cpp.
| void TileData::updateMips | ( | void | ) |
Definition at line 77 of file TileData.cpp.
|
protected |
Definition at line 75 of file TileData.h.
|
protected |
Definition at line 82 of file TileData.h.
|
protected |
Definition at line 78 of file TileData.h.
|
protected |
Definition at line 81 of file TileData.h.
|
protected |
Mipped down copies of the tile data.
Definition at line 77 of file TileData.h.
|
protected |
Definition at line 80 of file TileData.h.
|
protected |
Definition at line 79 of file TileData.h.
| ICoord2D TileData::m_tileLocationInTexture |
Definition at line 85 of file TileData.h.