![]() |
VR-Forces 4.5 Class Documentation
|

Public Member Functions | |
| trpgTileHeader (void) | |
| ~trpgTileHeader (void) | |
| void | AddMaterial (int) |
| void | AddModel (int) |
| void | AddLocalMaterial (trpgLocalMaterial &) |
| void | SetDate (int32) |
| {secret} | |
| void | SetMaterial (int no, int id) |
| void | SetModel (int no, int id) |
| bool | GetNumMaterial (int32 &) const |
| Returns the number of materials used in this tile. | |
| bool | GetMaterial (int32 nth, int32 &matID) const |
| bool | GetNumModel (int32 &) const |
| This is the number of models used in this tile. | |
| bool | GetModel (int32 nth, int32 &modID) const |
| bool | GetNumLocalMaterial (int32 &) const |
| Returns the number of local materials in this tile. | |
| bool | GetLocalMaterial (int32 nth, trpgLocalMaterial &locMat) const |
| const std::vector < trpgLocalMaterial > * | GetLocalMaterialList (void) const |
| bool | GetDate (int32 &) const |
| {secret} | |
| bool | isValid (void) const |
| Validity check. | |
| void | Reset (void) |
| Resets the contents back to empty. | |
| bool | Write (trpgWriteBuffer &) |
| Writes this class to a write buffer. | |
| bool | Read (trpgReadBuffer &) |
| Reads this class from a read buffer. | |
| bool | Print (trpgPrintBuffer &) const |
| Prints this class to a print buffer. | |
| void | SetBlockNo (int row, int col) |
| void | GetBlockNo (int &row, int &col) |
Public Member Functions inherited from trpgReadWriteable | |
| trpgReadWriteable () | |
| const char * | getErrMess () const |
Public Member Functions inherited from trpgCheckable | |
| trpgCheckable (void) | |
| virtual | ~trpgCheckable (void) |
| virtual TeAttrHdl | GetHandle () const |
| virtual void | SetHandle (TeAttrHdl hdl) |
Protected Attributes | |
| std::vector< int > | matList |
| std::vector< int > | modelList |
| std::vector< trpgLocalMaterial > | locMats |
| int | date |
| {secret} | |
| int | row |
| int | col |
Protected Attributes inherited from trpgReadWriteable | |
| char | errMess [512] |
Protected Attributes inherited from trpgCheckable | |
| bool | valid |
| TeAttrHdl | handle |
| bool | writeHandle |
| trpgTileHeader::trpgTileHeader | ( | void | ) |
| trpgTileHeader::~trpgTileHeader | ( | void | ) |
| void trpgTileHeader::AddMaterial | ( | int | ) |
| void trpgTileHeader::AddModel | ( | int | ) |
| void trpgTileHeader::AddLocalMaterial | ( | trpgLocalMaterial & | ) |
| void trpgTileHeader::SetDate | ( | int32 | ) |
{secret}
Returns the number of materials used in this tile.
Returns the number of local materials in this tile.
| bool trpgTileHeader::GetLocalMaterial | ( | int32 | nth, |
| trpgLocalMaterial & | locMat | ||
| ) | const |
| const std::vector<trpgLocalMaterial>* trpgTileHeader::GetLocalMaterialList | ( | void | ) | const |
| bool trpgTileHeader::isValid | ( | void | ) | const |
Validity check.
Reimplemented from trpgCheckable.
|
virtual |
Resets the contents back to empty.
Implements trpgReadWriteable.
|
virtual |
Writes this class to a write buffer.
Implements trpgReadWriteable.
|
virtual |
Reads this class from a read buffer.
Reimplemented from trpgReadWriteable.
|
virtual |
Prints this class to a print buffer.
Reimplemented from trpgReadWriteable.
|
protected |
|
protected |
|
protected |
|
protected |
{secret}
|
protected |
|
protected |