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

Method getLevelId

TheForceEngine/TFE_DarkForces/darkForcesMain.cpp:471–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469 }
470
471 void DarkForces::getLevelId(char* name)
472 {
473 const char* levelName = agent_getLevelName();
474 if (levelName)
475 {
476 strcpy(name, levelName);
477 }
478 else
479 {
480 name[0] = 0;
481 }
482 }
483
484 void skipToLevelNextScene(s32 index)
485 {

Callers 2

setupPathFunction · 0.80
saveHeaderFunction · 0.80

Calls 1

agent_getLevelNameFunction · 0.85

Tested by

no test coverage detected