From: Rudolf Polzer Date: Sun, 3 Jul 2011 15:15:40 +0000 (+0200) Subject: add some new (unused) defines for audio channels to do a later switchover X-Git-Tag: xonotic-v0.5.0~151^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ad13ea88ff54e35dce60f38d37ec7f4328d4cc25;p=xonotic%2Fxonotic-data.pk3dir.git add some new (unused) defines for audio channels to do a later switchover --- diff --git a/qcsrc/common/constants.qh b/qcsrc/common/constants.qh index fcce8a70b..2fbad527c 100644 --- a/qcsrc/common/constants.qh +++ b/qcsrc/common/constants.qh @@ -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