OpenLoco
OpenLoco copied to clipboard
Standardise TileElement function names
The tile elements surface, track, station, road, signal, building, tree, wall, industry have a number of functions that serve the same purpose. As they access different parts of the struct we can't just have a common function in the TileElementBase but we should at least use the same names for them for each of the elements.
Common functions:
- sequenceIndex (a.k.a. multiTileIndex, sequence, ...). Standardise to
sequenceIndex()andsetSequenceIndex() - rotation (a.k.a. unkDirection, direction, ...). Standardise to
rotation()andsetRotation().
There are some other ones like owner which i think is standardised already. Road and Track share many names should check they are also standardised.