]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/spawnflags.qh
target_speaker: deprecate GLOBAL (BIT(2)) spawnflag, remove magic numbers
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / spawnflags.qh
index b4a97de60c29dabae051548e70880b20c44b717a..6e213fa76d29a41fc07f1fef6f5ca7ee721e69f3 100644 (file)
@@ -84,6 +84,12 @@ const int PLAT_CRUSH = BIT(2);
 // changelevel
 const int CHANGELEVEL_MULTIPLAYER = BIT(1);
 
+// speaker
+const int SPEAKER_LOOPED_ON = BIT(0);
+const int SPEAKER_LOOPED_OFF = BIT(1);
+const int SPEAKER_GLOBAL = BIT(2); // legacy, set speaker atten to -1 instead
+const int SPEAKER_ACTIVATOR = BIT(3);
+
 // teleport
 const int TELEPORT_FLAG_SOUND = BIT(0);
 const int TELEPORT_FLAG_PARTICLES = BIT(1);