X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fconstants.qh;h=e8a20f55681ed45cb6991b98a03848f0f2ea9085;hb=4cf67f3644408e5ac791692650b6b9b0660884cf;hp=3e2cf69057766cefaa0199061feb050a96dcb148;hpb=5f4019d9788930e9fe2202dcfae032abc36537fd;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/constants.qh b/qcsrc/common/constants.qh index 3e2cf6905..e8a20f556 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_BEAM = 114; +const float TE_CSQC_CAMPINGRIFLE_SCOPE = 115; const float RACE_NET_CHECKPOINT_HIT_QUALIFYING = 0; // byte checkpoint, short time, short recordtime, string recordholder const float RACE_NET_CHECKPOINT_CLEAR = 1; @@ -144,6 +147,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 +160,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 +168,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; @@ -555,6 +577,7 @@ 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 @@ -570,8 +593,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; @@ -584,6 +607,23 @@ float HUD_PANEL_MODICONS = 10; float HUD_PANEL_PRESSEDKEYS = 11; float HUD_PANEL_CHAT = 12; float HUD_PANEL_ENGINEINFO = 13; -float HUD_PANEL_NUM = 14; // always last panel id + 1, please increment when adding a new panel +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;