Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ setCurrentYear
Function
setCurrentYear
src/OpenLoco/src/Date.cpp:41–44 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
39
}
40
41
void setCurrentYear(const int16_t year)
42
{
43
getGameState().currentYear = year;
44
}
45
46
int8_t getCurrentDayOfMonth()
47
{
Callers
3
setDate
Function · 0.85
onMouseUp
Function · 0.85
createTown
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected