]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/mapobjects/trigger/counter.qh
Ensure trigger_flipflop starts disabled upon reset, also allow flipflop triggers...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapobjects / trigger / counter.qh
1 #pragma once
2
3 #ifdef SVQC
4 spawnfunc(trigger_counter);
5
6 .float counter_cnt;
7
8 IntrusiveList g_counters;
9 STATIC_INIT(g_counters) { g_counters = IL_NEW(); }
10 #endif
11
12 const int COUNTER_FIRE_AT_COUNT = BIT(2);
13 const int COUNTER_PER_PLAYER = BIT(3);