(svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks.
This commit is contained in:
@@ -31,6 +31,13 @@ static const int DAY_TICKS = 74; ///< ticks per day
|
||||
static const int DAYS_IN_YEAR = 365; ///< days per year
|
||||
static const int DAYS_IN_LEAP_YEAR = 366; ///< sometimes, you need one day more...
|
||||
|
||||
static const int STATION_RATING_TICKS = 185; ///< cycle duration for updating station rating
|
||||
static const int STATION_ACCEPTANCE_TICKS = 250; ///< cycle duration for updating station acceptance
|
||||
static const int CARGO_AGING_TICKS = 185; ///< cycle duration for aging cargo
|
||||
static const int INDUSTRY_PRODUCE_TICKS = 256; ///< cycle duration for industry production
|
||||
static const int TOWN_GROWTH_TICKS = 70; ///< cycle duration for towns trying to grow. (this originates from the size of the town array in TTD
|
||||
|
||||
|
||||
/*
|
||||
* ORIGINAL_BASE_YEAR, ORIGINAL_MAX_YEAR and DAYS_TILL_ORIGINAL_BASE_YEAR are
|
||||
* primarily used for loading newgrf and savegame data and returning some
|
||||
|
Reference in New Issue
Block a user