Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ getCurrentYear
Function
getCurrentYear
src/OpenLoco/src/Date.cpp:36–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
}
35
36
uint16_t getCurrentYear()
37
{
38
return getGameState().currentYear;
39
}
40
41
void setCurrentYear(const int16_t year)
42
{
Callers
15
makeCurrentEraPlaylist
Function · 0.85
getCurrentDate
Function · 0.85
isMonthlyProductionClosing
Method · 0.85
getNewChallengeProgress
Method · 0.85
generateNewBuildingArgs
Function · 0.85
getStreetLightStyle
Function · 0.85
canIndustryObjBeCreated
Function · 0.85
allocateNewIndustry
Function · 0.85
sub_488050
Function · 0.85
setupStationCountAndLength
Function · 0.85
updateBuildableIndustries
Function · 0.85
draw
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected