Wrapper class to abstract away the way the tiles are stored.
debug_inline uint16_t & m2()
Primarily used for indices to towns, industries and stations.
debug_inline uint8_t & m7()
Primarily used for newgrf support.
debug_inline uint8_t & m4()
General purpose.
debug_inline uint8_t & m6()
General purpose.
debug_inline uint8_t & m3()
General purpose.
debug_inline uint8_t & m1()
Primarily used for ownership information.
debug_inline uint8_t & m5()
General purpose.
Map writing/reading functions for tiles.
void SetTileType(Tile tile, TileType type)
Set the type of a tile.
void SetTileHeight(Tile tile, uint height)
Sets the height of a tile.
@ MP_VOID
Invisible tiles at the SW and SE border.
void MakeVoid(Tile t)
Make a nice void tile ;)