MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / setDate

Function setDate

src/OpenLoco/src/Date.cpp:61–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 void setDate(const Date& date)
62 {
63 setCurrentDayOfMonth(date.day - 1);
64 setCurrentMonth(date.month);
65 setCurrentYear(date.year);
66 }
67
68 uint16_t getDayProgression()
69 {

Callers 2

dateTickFunction · 0.85
initialiseDateFunction · 0.85

Calls 3

setCurrentDayOfMonthFunction · 0.85
setCurrentMonthFunction · 0.85
setCurrentYearFunction · 0.85

Tested by

no test coverage detected