MCPcopy 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

makeCurrentEraPlaylistFunction · 0.85
getCurrentDateFunction · 0.85
generateNewBuildingArgsFunction · 0.85
getStreetLightStyleFunction · 0.85
canIndustryObjBeCreatedFunction · 0.85
allocateNewIndustryFunction · 0.85
sub_488050Function · 0.85
drawFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected