]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/door.qh
Remove SELFPARAM() from .think and .touch
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / door.qh
index e91061f14ce06950362a9003547a6744baeb7776..84a9d6aa234224fe3d2d35b6c1640941c73b85f1 100644 (file)
@@ -1,3 +1,5 @@
+#pragma once
+
 // door constants
 const int DOOR_START_OPEN = 1;
 const int DOOR_DONT_LINK = 4;
@@ -5,13 +7,13 @@ const int DOOR_TOGGLE = 32;
 
 const int DOOR_NOSPLASH = 256; // generic anti-splashdamage spawnflag
 
+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();
 
-// abused
-.float attack_finished_single;
+.float door_finished;
 #endif