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

Function cTimeGlassBreak

scripts/merc5.cpp:939–945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

937}
938
939void cTimeGlassBreak(int room_number, int portal_num, float time) {
940 if (breaking_glass_index >= 64)
941 breaking_glass_index = 0;
942 breaking_glass_data[breaking_glass_index].room_number = room_number;
943 breaking_glass_data[breaking_glass_index].portal_num = portal_num;
944 aSetLevelTimer(time, LEVEL_TIMER_UID(0, breaking_glass_index++));
945}
946
947/*
948$$ACTION

Callers 1

CallEventMethod · 0.85

Calls 2

aSetLevelTimerFunction · 0.85
LEVEL_TIMER_UIDFunction · 0.70

Tested by

no test coverage detected