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

@@ -367,8 +367,8 @@ public:
bool IsCompleteTimetable() const;
/**
* Gets the total duration of the vehicles timetable or Tick::INVALID_TICKS is the timetable is not complete.
* @return total timetable duration or Tick::INVALID_TICKS for incomplete timetables
* Gets the total duration of the vehicles timetable or Ticks::INVALID_TICKS is the timetable is not complete.
* @return total timetable duration or Ticks::INVALID_TICKS for incomplete timetables
*/
inline TimerGameTick::Ticks GetTimetableTotalDuration() const { return this->IsCompleteTimetable() ? this->timetable_duration : Ticks::INVALID_TICKS; }