Codechange: Move date consts and functions to CalendarTime and TimerGameCalendar classes

This commit is contained in:
Tyler Trahan
2023-08-16 09:43:31 -04:00
parent fca2b37726
commit 77173a6a10
66 changed files with 400 additions and 393 deletions

View File

@@ -82,7 +82,7 @@ static const RoadTypeInfo _original_roadtypes[] = {
0x01,
/* introduction date */
static_cast<int32_t>(MIN_YEAR),
static_cast<int32_t>(CalendarTime::MIN_YEAR),
/* roadtypes required for this to be introduced */
ROADTYPES_NONE,
@@ -162,7 +162,7 @@ static const RoadTypeInfo _original_roadtypes[] = {
0x01,
/* introduction date */
INVALID_DATE,
CalendarTime::INVALID_DATE,
/* roadtypes required for this to be introduced */
ROADTYPES_NONE,