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

Function LEVEL_TIMER_UID

scripts/merc5.cpp:935–937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

933#define SPECIAL_TIMER_ID_LIMIT (SPECIAL_TIMER_ID_BASE + SPECIAL_TIMER_MAX * SPECIAL_TIMER_CLASSES - 1)
934
935inline int LEVEL_TIMER_UID(uint8_t timer_class, uint8_t index) {
936 return (SPECIAL_TIMER_ID_BASE + (timer_class % SPECIAL_TIMER_CLASSES) * SPECIAL_TIMER_MAX + index);
937}
938
939void cTimeGlassBreak(int room_number, int portal_num, float time) {
940 if (breaking_glass_index >= 64)

Callers 1

cTimeGlassBreakFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected