Add station cargo history

This commit is contained in:
Andreas Schmitt
2021-06-23 08:21:29 +02:00
parent f3b39b12a8
commit 9b1783809d
13 changed files with 352 additions and 1 deletions

View File

@@ -27,6 +27,9 @@ struct Waypoint;
static const StationID NEW_STATION = 0xFFFE;
static const StationID INVALID_STATION = 0xFFFF;
static const uint MAX_STATION_CARGO_HISTORY_DAYS = 24;
static const uint STATION_CARGO_HISTORY_FACTOR = 25;
typedef SmallStack<StationID, StationID, INVALID_STATION, 8, 0xFFFD> StationIDStack;
/** Station types */