X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fconstants.qh;h=b52931e60ed876f27ca471a770db52a3369b7fb8;hb=05c3c6e3a6abe0b8989243e21a55eadc0a65ec4a;hp=2215b892abd580f84cf98f7124130de3369f6ebf;hpb=99cb391b8d83f0efdb2c9aeb7ccc50683dfd0b55;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/constants.qh b/qcsrc/common/constants.qh index 2215b892a..b52931e60 100644 --- a/qcsrc/common/constants.qh +++ b/qcsrc/common/constants.qh @@ -528,24 +528,30 @@ float MSG_KILL = 1; float MSG_SPREE = 2; float MSG_KILL_ACTION = 3; float MSG_KILL_ACTION_SPREE = 4; - -float KILL_TEAM = 0; -float KILL_TEAM_SPREE = 1; -float KILL_FIRST_BLOOD = 2; -float KILL_FIRST_VICTIM = 3; -float KILL_TYPEFRAG = 4; -float KILL_TYPEFRAGGED = 5; -float KILL_FRAG = 6; -float KILL_FRAGGED = 7; -float KILL_SPREE = 8; -float KILL_END_SPREE = 9; -float KILL_SPREE_3 = 10; -float KILL_SPREE_5 = 11; -float KILL_SPREE_10 = 12; -float KILL_SPREE_15 = 13; -float KILL_SPREE_20 = 14; -float KILL_SPREE_25 = 15; -float KILL_SPREE_30 = 16; +float MSG_INFO = 5; + +float KILL_TEAM = 10301; +float KILL_TEAM_SPREE = 10302; +float KILL_FIRST_BLOOD = 10303; +float KILL_FIRST_VICTIM = 10304; +float KILL_TYPEFRAG = 10305; +float KILL_TYPEFRAGGED = 10306; +float KILL_FRAG = 10307; +float KILL_FRAGGED = 10308; +float KILL_SPREE = 10309; +float KILL_END_SPREE = 10310; +float KILL_SPREE_3 = 10311; +float KILL_SPREE_5 = 10312; +float KILL_SPREE_10 = 10313; +float KILL_SPREE_15 = 10314; +float KILL_SPREE_20 = 10315; +float KILL_SPREE_25 = 10316; +float KILL_SPREE_30 = 10317; + +float INFO_GOTFLAG = 10318; +float INFO_PICKUPFLAG = 10319; +float INFO_LOSTFLAG = 10320; +float INFO_RETURNFLAG = 10321; // weapon requests float WR_SETUP = 1; // (SVQC) setup weapon data @@ -554,8 +560,26 @@ float WR_CHECKAMMO1 = 3; // (SVQC) checks ammo for weapon float WR_CHECKAMMO2 = 4; // (SVQC) checks ammo for weapon float WR_AIM = 5; // (SVQC) runs bot aiming code for this weapon float WR_PRECACHE = 6; // (CSQC and SVQC) precaches models/sounds used by this weapon -float WR_SUICIDEMESSAGE = 7; // (SVQC) sets w_deathtypestring or leaves it alone (and may inspect w_deathtype for details) -float WR_KILLMESSAGE = 8; // (SVQC) sets w_deathtypestring or leaves it alone +float WR_SUICIDEMESSAGE = 7; // (CSQC) sets w_deathtypestring or leaves it alone (and may inspect w_deathtype for details) +float WR_KILLMESSAGE = 8; // (CSQC) sets w_deathtypestring or leaves it alone float WR_RELOAD = 9; // (SVQC) does not need to do anything float WR_RESETPLAYER = 10; // (SVQC) does not need to do anything float WR_IMPACTEFFECT = 11; // (CSQC) impact effect + + +float HUD_PANEL_WEAPONICONS = 0; +float HUD_PANEL_INVENTORY = 1; +float HUD_PANEL_POWERUPS = 2; +float HUD_PANEL_HEALTHARMOR = 3; +float HUD_PANEL_NOTIFY = 4; +float HUD_PANEL_TIMER = 5; +float HUD_PANEL_RADAR = 6; +float HUD_PANEL_SCORE = 7; +float HUD_PANEL_RACETIMER = 8; +float HUD_PANEL_VOTE = 9; +float HUD_PANEL_MODICONS = 10; +float HUD_PANEL_PRESSEDKEYS = 11; +float HUD_PANEL_CHAT = 12; +float HUD_PANEL_NUM = 13; + +float HUD_MENU_ENABLE = 0;