Change: Extend entity override manager and station spec lists to support 16 bit IDs.

This commit is contained in:
Peter Nelson
2023-04-17 23:19:30 +01:00
committed by PeterN
parent e5c9a3e527
commit 912eb68981
10 changed files with 30 additions and 25 deletions

View File

@@ -22,13 +22,13 @@ extern StationPool _station_pool;
struct StationSpecList {
const StationSpec *spec;
uint32 grfid; ///< GRF ID of this custom station
uint8 localidx; ///< Station ID within GRF of station
uint16_t localidx; ///< Station ID within GRF of station
};
struct RoadStopSpecList {
const RoadStopSpec *spec;
uint32 grfid; ///< GRF ID of this custom road stop
uint8 localidx; ///< Station ID within GRF of road stop
uint16_t localidx; ///< Station ID within GRF of road stop
};
struct RoadStopTileData {