MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / saveRequestFilename

Function saveRequestFilename

TheForceEngine/TFE_Game/saveSystem.cpp:297–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295 }
296
297 const char* saveRequestFilename()
298 {
299 if (s_req == SF_REQ_SAVE && s_saveDelay <= 0)
300 {
301 s_req = SF_REQ_NONE;
302 return s_reqFilename;
303 }
304 if (s_saveDelay > 0) { s_saveDelay--; }
305 return nullptr;
306 }
307
308 void getSaveFilenameFromIndex(s32 index, char* name)
309 {

Callers 1

updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected