]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mapobjects/trigger/counter.qh
Some more cleanup to map objects, allow trigger_delay and trigger_counter to be deact...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapobjects / trigger / counter.qh
index 394d15472cdbc68f289b9476ec00311e6dd22e09..a34e95b831fb85e97243686ada7d225ee6ccfd1e 100644 (file)
@@ -1,4 +1,13 @@
 #pragma once
 
+#ifdef SVQC
+void counter_reset(entity this);
+
+.float counter_cnt;
+
+IntrusiveList g_counters;
+STATIC_INIT(g_counters) { g_counters = IL_NEW(); }
+#endif
 
 const int COUNTER_FIRE_AT_COUNT = BIT(2);
+const int COUNTER_PER_PLAYER = BIT(3);