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

Function agent_getLevelName

TheForceEngine/TFE_DarkForces/agent.cpp:241–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239 }
240
241 const char* agent_getLevelName()
242 {
243 if (!s_maxLevelIndex) { return nullptr; }
244 const s32 index = clamp(s_levelIndex, 1, s_maxLevelIndex);
245 return s_levelGamePaths[index - 1];
246 }
247
248 const char* agent_getLevelDisplayName()
249 {

Callers 5

mission_startTaskFuncFunction · 0.85
handleGeneralInputFunction · 0.85
getLevelIdMethod · 0.85
startNextModeFunction · 0.85
player_createControllerFunction · 0.85

Calls 1

clampFunction · 0.85

Tested by

no test coverage detected