OpenTTD Source  20241108-master-g80f628063a
Tile::TileBase Struct Reference

Data that is stored per tile. More...

Data Fields

uint8_t type
 The type (bits 4..7), bridges (2..3), rainforest/desert (0..1)
 
uint8_t height
 The height of the northern corner.
 
uint16_t m2
 Primarily used for indices to towns, industries and stations.
 
uint8_t m1
 Primarily used for ownership information.
 
uint8_t m3
 General purpose.
 
uint8_t m4
 General purpose.
 
uint8_t m5
 General purpose.
 

Detailed Description

Data that is stored per tile.

Also used TileExtended for this. Look at docs/landscape.html for the exact meaning of the members.

Definition at line 32 of file map_func.h.


The documentation for this struct was generated from the following file: