bits means what in all _map arrays.
Here is what I have guessed so far:
If tile is rail (how to determine?):
Code: Select all
_map5 (X _ _ _ _ _ _ _) - rail has signals
_map5 (_ _ _ X X X X X) - rail track orientation
_map2 (X X X X _ _ _ _) - signals status (?)
_map3_lo (X X X X _ _ _ _) - signals configuration
_map3_lo (_ _ _ _ X X X X) - track type
_map3_hi (_ _ _ _ _ X X X) - presignals configuration
Code: Select all
_map3_lo (X X X X X X X X) - owner
_map5 (_ _ _ _ _ X X X) - road direction/orientation
Code: Select all
_map_type_and_height (_ _ _ _ X X X X) - land height (or rather height of one of the corners of tile?)
_map_type_and_height (X X X X _ _ _ _) - land (tile) type
I would be thankful if somebody can confirm this, and compleate missing parts.
Thanks!
PS.
Specific questions:
* (ti.map5 & 0xF8) == 0xC0)
* (ti.map5 & 0xF8) == 0xE0)
* (_map5[tile]&0xF0) == 0x10
* ti.tileh & 0x10
* how to check what i sunder the bridge