X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fconstants.qh;h=576be7c56832b762ec854735fd5dee82f9c16e9d;hp=6f0eccfafb8af72f94a556ad5709a0554c0ccfab;hb=b34fc8210b8f92e55a622147b1398f5e2899ab43;hpb=d2509861580bce6e6f1ffc9e9a26aea2d70b6756 diff --git a/qcsrc/common/constants.qh b/qcsrc/common/constants.qh index 6f0eccfaf..576be7c56 100644 --- a/qcsrc/common/constants.qh +++ b/qcsrc/common/constants.qh @@ -34,11 +34,12 @@ 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_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 AS_STRING = 1; const float AS_INT = 2; @@ -111,6 +112,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; @@ -300,8 +302,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; @@ -310,17 +310,20 @@ 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_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; const float CTF_STATE_DEFEND = 2; const float CTF_STATE_COMMANDER = 3; -const float STAT_HUD = 50; const float HUD_NORMAL = 0; const float HUD_SPIDERBOT = 10; const float HUD_WAKIZASHI = 11; @@ -337,6 +340,10 @@ const float STAT_VEHICLESTAT_RELOAD1 = 64; const float STAT_VEHICLESTAT_AMMO2 = 65; const float STAT_VEHICLESTAT_RELOAD2 = 66; +// mod stats (1xx) +const float STAT_REDALIVE = 100; +const float STAT_BLUEALIVE = 101; + //const float STAT_SPIDERBOT_AIM 53 // compressShotOrigin //const float STAT_SPIDERBOT_TARGET 54 // compressShotOrigin @@ -503,6 +510,7 @@ float DEATH_CHEAT = 10016; float DEATH_FIRE = 10017; float DEATH_TURRET = 10020; float DEATH_QUIET = 10021; +float DEATH_HEADSHOT = 10022; float DEATH_SBMINIGUN = 10030; float DEATH_SBROCKET = 10031; @@ -559,6 +567,8 @@ 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; float KILL_TEAM_BLUE = 10302; @@ -585,6 +595,14 @@ 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; +float RACE_FAIL = 10403; + // weapon requests float WR_SETUP = 1; // (SVQC) setup weapon data float WR_THINK = 2; // (SVQC) logic to run every frame @@ -633,3 +651,5 @@ string HUD_PANELNAME_ENGINEINFO = "engineinfo"; string HUD_PANELNAME_INFOMESSAGES = "infomessages"; float HUD_MENU_ENABLE = 0; + +#define SERVERFLAG_ALLOW_FULLBRIGHT 1