#include <th_map.h>
◆ map_tile()
◆ ~map_tile()
◆ aiTemperature
| uint16_t map_tile::aiTemperature[2] {8192, 8192} |
A value between 0 (extreme cold) and 65535 (extreme heat) representing the temperature of the tile. To allow efficient calculation of a tile's heat based on the previous tick's heat of the surrounding tiles, the previous temperature is also stored, with the array indices switching every tick.
◆ entities
◆ flags
Flags for information and object type.
◆ iParcelId
| uint16_t map_tile::iParcelId {0} |
Parcels (plots) of land have an ID, with each tile in the plot having that ID. Parcel 0 is the outside.
◆ iRoomId
| uint16_t map_tile::iRoomId {0} |
Rooms have an ID, with room #0 being the corridor (and the outside).
◆ objects
◆ oEarlyEntities
Linked list for entities rendered in an early (right-to-left) pass.
◆ raw
raw data from map file for debugging
◆ raw_length
◆ tile_layers
Tile layers for rendering. For each layer, the lower byte is the index in the sprite sheet, and the upper byte is for the drawing flags. Layer 0 is for the floor Layer 1 is for the north wall Layer 2 is for the west wall Layer 3 is for the UI NB: In Lua, layers are numbered 1 - 4 rather than 0 - 3
The documentation for this struct was generated from the following file:
- /home/runner/work/CorsixTH/CorsixTH/CorsixTH/Src/th_map.h