X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmapobjects%2Fdefs.qh;h=40af5252e202d43f489751169447ee356783d3e8;hb=95f519076e501b981eb877dd921dee635b2fbd77;hp=45afb51f9ac98ad5806f5ae41ed4ff9360c02596;hpb=5aab6120acfc624751d20a695d1b911b3e919831;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/mapobjects/defs.qh b/qcsrc/common/mapobjects/defs.qh index 45afb51f9..40af5252e 100644 --- a/qcsrc/common/mapobjects/defs.qh +++ b/qcsrc/common/mapobjects/defs.qh @@ -26,16 +26,15 @@ const int SF_TRIGGER_RESET = BIT(2); //---------------- // STATES & ACTIVE //---------------- -#ifdef CSQC -// this stuff is defined in the server side engine VM, so we must define it separately here const int STATE_TOP = 0; const int STATE_BOTTOM = 1; const int STATE_UP = 2; const int STATE_DOWN = 3; +.int active; +.void (entity this, int act_state) setactive; const int ACTIVE_NOT = 0; const int ACTIVE_ACTIVE = 1; const int ACTIVE_IDLE = 2; const int ACTIVE_BUSY = 2; const int ACTIVE_TOGGLE = 3; -#endif