Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
dateTick
Function · 0.85
initialiseDate
Function · 0.85
Calls
3
setCurrentDayOfMonth
Function · 0.85
setCurrentMonth
Function · 0.85
setCurrentYear
Function · 0.85
Tested by
no test coverage detected