X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fconstants.qh;h=5ebeb54659e4ba7e936c0666077f967fa5cd22b5;hp=facf3bc9506d2a36da606352e2653413b1f24038;hb=bc51fd3d6308269b5ad770ef62b23fe98ee2cfe1;hpb=8d871808b81981b390e6450daab616f68c621849 diff --git a/qcsrc/common/constants.qh b/qcsrc/common/constants.qh index facf3bc95..5ebeb5465 100644 --- a/qcsrc/common/constants.qh +++ b/qcsrc/common/constants.qh @@ -58,6 +58,9 @@ const float TE_CSQC_VOTERESET = 109; const float TE_CSQC_ANNOUNCE = 110; const float TE_CSQC_TARGET_MUSIC = 111; const float TE_CSQC_NOTIFY = 112; +const float TE_CSQC_WEAPONCOMPLAIN = 113; +const float TE_CSQC_CAMPINGRIFLE_SCOPE = 115; +const float TE_CSQC_NEX_SCOPE = 116; const float RACE_NET_CHECKPOINT_HIT_QUALIFYING = 0; // byte checkpoint, short time, short recordtime, string recordholder const float RACE_NET_CHECKPOINT_CLEAR = 1; @@ -104,6 +107,9 @@ const float ENT_CLIENT_TUBANOTE = 23; const float ENT_CLIENT_WARPZONE = 24; const float ENT_CLIENT_WARPZONE_CAMERA = 25; const float ENT_CLIENT_TRIGGER_MUSIC = 26; +const float ENT_CLIENT_HOOK = 27; +const float ENT_CLIENT_LGBEAM = 28; +const float ENT_CLIENT_GAUNTLET = 29; const float ENT_CLIENT_TURRET = 40; @@ -144,6 +150,7 @@ const float K_RIGHTARROW = 131; const float K_ALT = 132; const float K_CTRL = 133; const float K_SHIFT = 134; + const float K_F1 = 135; const float K_F2 = 136; const float K_F3 = 137; @@ -156,6 +163,7 @@ const float K_F9 = 143; const float K_F10 = 144; const float K_F11 = 145; const float K_F12 = 146; + const float K_INS = 147; const float K_DEL = 148; const float K_PGDN = 149; @@ -163,21 +171,38 @@ const float K_PGUP = 150; const float K_HOME = 151; const float K_END = 152; -const float K_KP_HOME = 160; -const float K_KP_UPARROW = 161; -const float K_KP_PGUP = 162; -const float K_KP_LEFTARROW = 163; -const float K_KP_5 = 164; -const float K_KP_RIGHTARROW = 165; -const float K_KP_END = 166; -const float K_KP_DOWNARROW = 167; -const float K_KP_PGDN = 168; -const float K_KP_ENTER = 169; -const float K_KP_INS = 170; -const float K_KP_DEL = 171; -const float K_KP_SLASH = 172; -const float K_KP_MINUS = 173; -const float K_KP_PLUS = 174; +const float K_NUMLOCK = 154; +const float K_CAPSLOCK = 155; +const float K_SCROLLOCK = 156; + +const float K_KP_0 = 157; +const float K_KP_INS = K_KP_0; +const float K_KP_1 = 158; +const float K_KP_END = K_KP_1; +const float K_KP_2 = 159; +const float K_KP_DOWNARROW = K_KP_2; +const float K_KP_3 = 160; +const float K_KP_PGDN = K_KP_3; +const float K_KP_4 = 161; +const float K_KP_LEFTARROW = K_KP_4; +const float K_KP_5 = 162; +const float K_KP_6 = 163; +const float K_KP_RIGHTARROW = K_KP_6; +const float K_KP_7 = 164; +const float K_KP_HOME = K_KP_7; +const float K_KP_8 = 165; +const float K_KP_UPARROW = K_KP_8; +const float K_KP_9 = 166; +const float K_KP_PGUP = K_KP_9; +const float K_KP_PERIOD = 167; +const float K_KP_DEL = K_KP_PERIOD; +const float K_KP_DIVIDE = 168; +const float K_KP_SLASH = K_KP_DIVIDE; +const float K_KP_MULTIPLY = 169; +const float K_KP_MINUS = 170; +const float K_KP_PLUS = 171; +const float K_KP_ENTER = 172; +const float K_KP_EQUALS = 173; const float K_PAUSE = 255; @@ -373,7 +398,7 @@ float CHAN_AUTO = 0; // on world: announcers, ... INFO // on players: item pickup ITEMS // on entities: UNUSED - // on csqc: UNUSED + // on csqc: announcers INFO float CHAN_WEAPON = 1; // Weapon fire // on world: UNUSED // on players: weapon firing WEAPONS @@ -388,7 +413,7 @@ float CHAN_TRIGGER = 3; // Triggers/Items // on world: UNUSED // on players: item pickup ITEMS // on entities: platforms moving etc. ITEMS - // on csqc: UNUSED + // on csqc: platforms moving etc. ITEMS float CHAN_PROJECTILE = 4; // Projectiles // on world: UNUSED // on players: projectiles hitting player SHOTS @@ -485,6 +510,8 @@ float DEATH_WAKIGUN = 10040; float DEATH_WAKIROCKET = 10041; float DEATH_WAKIBLOWUP = 10042; +float DEATH_GENERIC = 10050; + float DEATH_WEAPON = 10100; float DEATH_CUSTOM = 10300; @@ -530,28 +557,30 @@ float MSG_KILL_ACTION = 3; float MSG_KILL_ACTION_SPREE = 4; 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; +float KILL_TEAM_RED = 10301; +float KILL_TEAM_BLUE = 10302; +float KILL_TEAM_SPREE = 10303; +float KILL_FIRST_BLOOD = 10304; +float KILL_FIRST_VICTIM = 10305; +float KILL_TYPEFRAG = 10306; +float KILL_TYPEFRAGGED = 10307; +float KILL_FRAG = 10308; +float KILL_FRAGGED = 10309; +float KILL_SPREE = 10310; +float KILL_END_SPREE = 10311; +float KILL_SPREE_3 = 10312; +float KILL_SPREE_5 = 10313; +float KILL_SPREE_10 = 10314; +float KILL_SPREE_15 = 10315; +float KILL_SPREE_20 = 10316; +float KILL_SPREE_25 = 10317; +float KILL_SPREE_30 = 10318; + +float INFO_GOTFLAG = 10319; +float INFO_PICKUPFLAG = 10320; +float INFO_LOSTFLAG = 10321; +float INFO_RETURNFLAG = 10322; +float INFO_CAPTUREFLAG = 10323; // weapon requests float WR_SETUP = 1; // (SVQC) setup weapon data @@ -567,8 +596,8 @@ 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_WEAPONS = 0; +float HUD_PANEL_AMMO = 1; float HUD_PANEL_POWERUPS = 2; float HUD_PANEL_HEALTHARMOR = 3; float HUD_PANEL_NOTIFY = 4; @@ -580,4 +609,24 @@ 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_PANEL_ENGINEINFO = 13; +float HUD_PANEL_INFOMESSAGES = 14; +float HUD_PANEL_NUM = 15; // always last panel id + 1, please increment when adding a new panel + +string HUD_PANELNAME_WEAPONS = "weapons"; +string HUD_PANELNAME_AMMO = "ammo"; +string HUD_PANELNAME_POWERUPS = "powerups"; +string HUD_PANELNAME_HEALTHARMOR = "healtharmor"; +string HUD_PANELNAME_NOTIFY = "notify"; +string HUD_PANELNAME_TIMER = "timer"; +string HUD_PANELNAME_RADAR = "radar"; +string HUD_PANELNAME_SCORE = "score"; +string HUD_PANELNAME_RACETIMER = "racetimer"; +string HUD_PANELNAME_VOTE = "vote"; +string HUD_PANELNAME_MODICONS = "modicons"; +string HUD_PANELNAME_PRESSEDKEYS = "pressedkeys"; +string HUD_PANELNAME_CHAT = "chat"; +string HUD_PANELNAME_ENGINEINFO = "engineinfo"; +string HUD_PANELNAME_INFOMESSAGES = "infomessages"; + +float HUD_MENU_ENABLE = 0;