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

Function LEVEL_TIMER_UID

scripts/Merc7.cpp:1172–1174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1170#define SPECIAL_TIMER_ID_LIMIT (SPECIAL_TIMER_ID_BASE + SPECIAL_TIMER_MAX * SPECIAL_TIMER_CLASSES - 1)
1171
1172inline int LEVEL_TIMER_UID(uint8_t timer_class, uint8_t index) {
1173 return (SPECIAL_TIMER_ID_BASE + (timer_class % SPECIAL_TIMER_CLASSES) * SPECIAL_TIMER_MAX + index);
1174}
1175
1176/*
1177$$ACTION

Callers 2

cTimedEnableForcefieldFunction · 0.70
cTimedRoomSetWindFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected