]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/door.qh
Allow customizing the sound secret door plays when touched
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / door.qh
index b58091b0ad8cd76a1ed330b63ce4c3d09e0da205..adfc060e80257653aa447a341ccf076581ce9a0f 100644 (file)
@@ -1,12 +1,14 @@
 // 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