X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fcommon%2Ftriggers%2Ffunc%2Fdoor.qh;h=f7ed28c5bbc463c3371e16959b38270cbae7d25f;hb=e9f30b97435c6afe3d6911f21e1f4fd1b97e93da;hp=cc508e8d987d47c07ddd2a4d9f386324ba30e4dd;hpb=e053dbda6abe97a2ca90c23de16dde99d253dcc8;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/func/door.qh b/qcsrc/common/triggers/func/door.qh index cc508e8d9..f7ed28c5b 100644 --- a/qcsrc/common/triggers/func/door.qh +++ b/qcsrc/common/triggers/func/door.qh @@ -1,18 +1,17 @@ // door constants -const float DOOR_START_OPEN = 1; -const float DOOR_DONT_LINK = 4; -const float DOOR_TOGGLE = 32; +const int DOOR_START_OPEN = 1; +const int DOOR_DONT_LINK = 4; +const int DOOR_TOGGLE = 32; -const float DOOR_NOSPLASH = 256; // generic anti-splashdamage spawnflag +const int DOOR_NOSPLASH = 256; // generic anti-splashdamage spawnflag -const float SPAWNFLAGS_GOLD_KEY = 8; -const float SPAWNFLAGS_SILVER_KEY = 16; +const int DOOR_NONSOLID = 1024; + +const int SPAWNFLAGS_GOLD_KEY = 8; +const int SPAWNFLAGS_SILVER_KEY = 16; #ifdef CSQC // stuff for preload -void ent_door(); -void ent_door_trigger(); -// abused -.float attack_finished_single; +.float door_finished; #endif