MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / LEVEL_GOAL_UID

Function LEVEL_GOAL_UID

scripts/Merc7.cpp:1315–1317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1313#define GOAL_PRIORITY_LOW 0
1314
1315inline int LEVEL_GOAL_UID(uint8_t goal_class, uint8_t index) {
1316 return (SPECIAL_TIMER_ID_BASE + (goal_class % SPECIAL_GOAL_CLASSES) * SPECIAL_GOAL_MAX + index);
1317}
1318
1319static uint8_t DC_Goal_Index = 0;
1320

Callers 3

cDroidManagerHandleGoalsFunction · 0.85
cSendDroidObjToExitFunction · 0.85
cSendDroidObjToTermFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected