]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/platforms.qh
Move non-generic entity flags to their own headers
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / platforms.qh
index f0727be3ca1fe59cf57b8779d60e20178ffc533b..346cebc7163dfade8657cba5caa5e3cc455838c6 100644 (file)
@@ -1,5 +1,7 @@
-#ifndef PLATFORMS_H
-#define PLATFORMS_H
+#pragma once
+
+
+const int PLAT_LOW_TRIGGER = BIT(0);
 
 .float dmgtime2;
 
@@ -9,8 +11,5 @@ void plat_trigger_use(entity this, entity actor, entity trigger);
 void plat_go_up(entity this);
 void plat_go_down(entity this);
 void plat_crush(entity this, entity blocker);
-const float PLAT_LOW_TRIGGER = 1;
 
 .float dmg;
-
-#endif