#include <TileTable.h>
◆ addTile()
void TileTable::addTile |
( |
TileData |
tileData | ) |
|
◆ tile()
const TileData & TileTable::tile |
( |
int |
id | ) |
const |
◆ tileId()
- Parameters
-
tileset | Tileset to use. |
variant | Tile variant. |
- Returns
- Tile id for the given tileset and variant, or
0
if the tile wasn't found. Note that tile with id '0' belongs to TILESET_INVALID
.
- Original binary offset:
- 0x00487F84
◆ tileIdForTileset()
int TileTable::tileIdForTileset |
( |
Tileset |
tileset, |
|
|
bool |
nonRandom |
|
) |
| const |
- Parameters
-
tileset | Tileset to use. |
nonRandom | Whether to get the base tile id, or a random base or special tile. Looks like this might have been used in the map editor. |
- Returns
- Tile id for the requested tileset.
- Original binary offset:
- 0x00487ED6
◆ deserialize
- Original binary offset:
- 0x00488000
◆ _idByTilesetVariant
◆ _tiles
The documentation for this class was generated from the following files: