diff options
author | Tyler Trahan <tyler@tylertrahan.com> | 2021-04-22 13:54:32 -0400 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-06-10 23:26:16 +0200 |
commit | d09210e1c6a446ec5a97de4e171aa101d047765a (patch) | |
tree | d45a31e2b65f3399888e14524b805b15ef94a90f /src/date_type.h | |
parent | c2db408d5d947cd4f3df42754a598226818c519f (diff) | |
download | openttd-d09210e1c6a446ec5a97de4e171aa101d047765a.tar.xz |
Feature: Configurable subsidy duration
Diffstat (limited to 'src/date_type.h')
-rw-r--r-- | src/date_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/date_type.h b/src/date_type.h index 4cbcfac4e..c0f005734 100644 --- a/src/date_type.h +++ b/src/date_type.h @@ -28,6 +28,7 @@ typedef uint8 Day; ///< Type for the day of the month, note: 1 based, first d 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 MONTHS_IN_YEAR = 12; ///< months per year 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 |