]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
add some new (unused) defines for audio channels to do a later switchover
authorRudolf Polzer <divVerent@xonotic.org>
Sun, 3 Jul 2011 15:15:40 +0000 (17:15 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Sun, 3 Jul 2011 15:15:40 +0000 (17:15 +0200)
qcsrc/common/constants.qh

index fcce8a70bbfcfab6b76ad6b3be16a80f35634113..2fbad527ce3532ef6c44c771f734a71f6bf05261 100644 (file)
@@ -429,6 +429,32 @@ const float STAT_DOM_PPS_YELLOW = 104;
 #define SP_SCORE 3
 // game mode specific indices are not in common/, but in server/scores_rules.qc!
 
+#ifdef XON020_CHANNELS
+float CH_INFO = 0; // only on world and csqc
+float CH_ITEMS_AUTO = 0; // only on players
+float CH_WEAPON_A = 1; // only on players and entities
+float CH_VOICE = 2; // only on players
+float CH_AMBIENT = 2; // only on entities
+float CH_BGM = 2; // only on csqc
+float CH_TRIGGERS = 3; // only on players, entities, csqc
+float CH_SHOTS_NOAUTO = 4; // only on players, entities, csqc
+float CH_WEAPON_B = 5; // only on players and entities
+float CH_PAIN = 6; // only on players and csqc
+float CH_PLAYER = 7; // only on players and entities
+#else
+float CH_INFO = 0;
+float CH_SHOTS_NOAUTO = 4;
+float CH_ITEMS = 256;
+float CH_WEAPON_A = 257;
+float CH_VOICE = 258;
+float CH_AMBIENT = 259;
+float CH_BGM = 260;
+float CH_TRIGGERS = 261;
+float CH_WEAPON_B = 257;
+float CH_PAIN = 262;
+float CH_PLAYER = 263;
+#endif
+
 // this assignment must match menu/xonotic/dialog_settings_misc.c!
 float  CHAN_AUTO                               = 0;
        // on world: announcers, ...                     INFO