]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/door_secret.qh
Move non-generic entity flags to their own headers
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / door_secret.qh
index 7c39519e10e9f29d62f38ee0bc76f0dd4b0ed584..ee575bc424c2aa8bdc98da839badc986f362dd6e 100644 (file)
@@ -1,2 +1,8 @@
 #pragma once
-#include "../spawnflags.qh"
+
+
+const int DOOR_SECRET_OPEN_ONCE = BIT(0); // stays open - LEGACY, set wait to -1 instead
+const int DOOR_SECRET_1ST_LEFT = BIT(1); // 1st move is left of arrow
+const int DOOR_SECRET_1ST_DOWN = BIT(2); // 1st move is down from arrow
+const int DOOR_SECRET_NO_SHOOT = BIT(3); // only opened by trigger
+const int DOOR_SECRET_YES_SHOOT = BIT(4); // shootable even if targeted