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

Function exportGameStateToFile

src/OpenLoco/src/S5/S5.cpp:202–206  ·  view source on GitHub ↗

0x00441C26

Source from the content-addressed store, hash-verified

200
201 // 0x00441C26
202 bool exportGameStateToFile(const fs::path& path, SaveFlags flags)
203 {
204 FileStream fs(path, StreamMode::write);
205 return exportGameStateToFile(fs, flags);
206 }
207
208 bool exportGameStateToFile(Stream& stream, SaveFlags flags)
209 {

Callers 8

goToNextStepFunction · 0.85
confirmSaveGameFunction · 0.85
saveLandscapeFunction · 0.85
compareGameStatesFunction · 0.85
autosaveFunction · 0.85
simulateFunction · 0.85
prepareSaveGameFunction · 0.85

Calls 15

beginFunction · 0.85
closeConstructionWindowsFunction · 0.85
reorganiseFunction · 0.85
resetSpatialIndexFunction · 0.85
zeroUnusedOrderTableFunction · 0.85
getHeadersFunction · 0.85
shouldPackObjectsFunction · 0.85
prepareGameStateFunction · 0.85
reloadAllFunction · 0.85
endFunction · 0.85
invalidateScreenFunction · 0.85
resetSceneAgeFunction · 0.85

Tested by

no test coverage detected