X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=dec2988e3b15b4aab1056f38f94bc74203123a64;hp=83b3b7fdf6381d1d1581a930606f06ce056aa192;hb=910285b4709a25f6c3ee4b2980b8d3ebabb24c44;hpb=95a13db2c33c3436d19d79d71782d5c2d0633837 diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 83b3b7fdf6..dec2988e3b 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -17,7 +17,7 @@ float require_spawnfunc_prefix; // if this float exists, only functions with spa float ctf_score_value(string parameter); -float g_dm, g_domination, g_ctf, g_tdm, g_keyhunt, g_onslaught, g_assault, g_arena, g_ca, g_lms, g_runematch, g_race, g_nexball, g_cts, g_ka; +float g_dm, g_domination, g_ctf, g_tdm, g_keyhunt, g_onslaught, g_assault, g_arena, g_ca, g_lms, g_runematch, g_race, g_nexball, g_cts, g_freezetag, g_keepaway; float g_cloaked, g_footsteps, g_jump_grunt, g_grappling_hook, g_midair, g_minstagib, g_pinata, g_norecoil, g_minstagib_invis_alpha, g_bloodloss; float g_warmup_limit; float g_warmup_allguns; @@ -263,7 +263,8 @@ float blockSpectators; //if set, new or existing spectators or observers will be void checkSpectatorBlock(); .float winning; -.float jointime; +.float jointime; // time of joining +.float alivetime; // time of being alive float isJoinAllowed(); #define PREVENT_JOIN_TEXT "^1You may not join the game at this time.\n\nThe player limit reached maximum capacity." @@ -531,6 +532,7 @@ float game_starttime; //point in time when the countdown is over .float stat_sv_airaccel_qw; .float stat_sv_airstrafeaccel_qw; .float stat_sv_airspeedlimit_nonqw; +.float stat_sv_maxspeed; void W_Porto_Remove (entity p); @@ -553,8 +555,8 @@ void target_voicescript_clear(entity pl); .string target4; .float trigger_reverse; -// Nexball -.entity ballcarried; +// Nexball +.entity ballcarried; // Also used for keepaway .float metertime; float g_nexball_meter_period; @@ -597,18 +599,8 @@ string matchid; .float hitplotfh; .string noise4; -.float stat_hit; -.float stat_fired; -.float stat_count; - -.float stats_hit[WEP_MAXCOUNT]; // for hitscan bullets hit -.float stats_fired[WEP_MAXCOUNT]; // for hitscan bullets fired - .float last_pickup; -FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(stats_hit); -FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(stats_fired); - .float stat_leadlimit; float radar_showennemies; @@ -655,9 +647,14 @@ string deathmessage; .float nex_charge; .float nex_charge_rottime; +.float nex_chargepool_ammo; float allowed_to_spawn; // boolean variable used by the clan arena code to determine if a player can spawn (after the round has ended) float serverflags; .float team_forced; // can be a team number to force a team, or 0 for default action, or -1 for forced spectator + +.float freezetag_frozen; +.float freezetag_beginrevive_time; +.float freezetag_revive_progress;