X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fconstants.qh;h=409e6c86f7fa01c4bc9507321ffa1c45242a2d86;hb=2fb4172213439edb17c1d116747c75f9540f2017;hp=25acf94439a3f9079d975461294018ee5ef93bc1;hpb=95a13db2c33c3436d19d79d71782d5c2d0633837;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/constants.qh b/qcsrc/common/constants.qh index 25acf9443..409e6c86f 100644 --- a/qcsrc/common/constants.qh +++ b/qcsrc/common/constants.qh @@ -34,12 +34,13 @@ const float GAME_LMS = 6; const float GAME_ARENA = 7; const float GAME_KEYHUNT = 8; const float GAME_ASSAULT = 9; -const float GAME_ONSLAUGHT = 10; -const float GAME_RACE = 11; -const float GAME_NEXBALL = 12; -const float GAME_CTS = 13; -const float GAME_CA = 14; -const float GAME_KEEPAWAY = 15; +const float GAME_ONSLAUGHT = 10; +const float GAME_RACE = 11; +const float GAME_NEXBALL = 12; +const float GAME_CTS = 13; +const float GAME_CA = 14; +const float GAME_FREEZETAG = 15; +const float GAME_KEEPAWAY = 16; const float AS_STRING = 1; const float AS_INT = 2; @@ -112,6 +113,7 @@ 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_ACCURACY = 30; const float ENT_CLIENT_TURRET = 40; @@ -301,8 +303,6 @@ const float STAT_SWITCHWEAPON = 36; const float STAT_GAMESTARTTIME = 37; const float STAT_STRENGTH_FINISHED = 38; const float STAT_INVINCIBLE_FINISHED = 39; -const float STAT_DAMAGE_HITS = 40; // Used by the weapon stats code, represents the total amount of damage done to other players -const float STAT_DAMAGE_FIRED = 41;// Used by the weapon stats code, represents the total amount of potential damage fired const float STAT_PRESSED_KEYS = 42; const float STAT_ALLOW_OLDNEXBEAM = 43; // this stat could later contain some other bits of info, like, more server-side particle config const float STAT_FUEL = 44; @@ -311,12 +311,14 @@ const float STAT_SHOTORG = 46; // compressShotOrigin const float STAT_LEADLIMIT = 47; const float STAT_BULLETS_LOADED = 48; const float STAT_NEX_CHARGE = 49; -const float STAT_LAST_PICKUP = 50; +const float STAT_LAST_PICKUP = 50; const float STAT_HUD = 51; +const float STAT_NEX_CHARGEPOOL = 52; // see DP source, quakedef.h const float STAT_MOVEVARS_AIRSPEEDLIMIT_NONQW = 222; const float STAT_MOVEVARS_AIRSTRAFEACCEL_QW = 223; +const float STAT_MOVEVARS_MAXSPEED = 244; const float STAT_MOVEVARS_AIRACCEL_QW = 254; const float CTF_STATE_ATTACK = 1; @@ -342,6 +344,12 @@ const float STAT_VEHICLESTAT_RELOAD2 = 66; // mod stats (1xx) const float STAT_REDALIVE = 100; const float STAT_BLUEALIVE = 101; +const float STAT_YELLOWALIVE = 102; +const float STAT_PINKALIVE = 103; + +// freeze tag +const float STAT_FROZEN = 104; +const float STAT_REVIVE_PROGRESS = 105; //const float STAT_SPIDERBOT_AIM 53 // compressShotOrigin //const float STAT_SPIDERBOT_TARGET 54 // compressShotOrigin @@ -566,7 +574,7 @@ float MSG_SPREE = 2; float MSG_KILL_ACTION = 3; float MSG_KILL_ACTION_SPREE = 4; float MSG_INFO = 5; - +float MSG_KA = 6; float MSG_RACE = 10; float KILL_TEAM_RED = 10301; @@ -594,6 +602,9 @@ float INFO_LOSTFLAG = 10321; float INFO_RETURNFLAG = 10322; float INFO_CAPTUREFLAG = 10323; +float KA_PICKUPBALL = 10350; +float KA_DROPBALL = 10351; + float RACE_SERVER_RECORD = 10400; float RACE_NEW_TIME = 10401; float RACE_NEW_RANK = 10402; @@ -628,7 +639,8 @@ float HUD_PANEL_PRESSEDKEYS = 11; float HUD_PANEL_CHAT = 12; 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 +float HUD_PANEL_PHYSICS = 15; +float HUD_PANEL_NUM = 16; // always last panel id + 1, please increment when adding a new panel string HUD_PANELNAME_WEAPONS = "weapons"; string HUD_PANELNAME_AMMO = "ammo"; @@ -645,6 +657,7 @@ string HUD_PANELNAME_PRESSEDKEYS = "pressedkeys"; string HUD_PANELNAME_CHAT = "chat"; string HUD_PANELNAME_ENGINEINFO = "engineinfo"; string HUD_PANELNAME_INFOMESSAGES = "infomessages"; +string HUD_PANELNAME_PHYSICS = "physics"; float HUD_MENU_ENABLE = 0;