X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=08a81e2d057aa7729bdd90d327edef01c8cba32d;hb=136bde75f76430926f45692fc783f12f053c3b1e;hp=5be04141dfce6b62dfc424369323fb7803bd8448;hpb=5b6650aacd624aa8a1153ee4322fb40a94eb3cb9;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 5be04141d..08a81e2d0 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -17,8 +17,8 @@ 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; -float g_cloaked, g_footsteps, g_jump_grunt, g_grappling_hook, g_laserguided_missile, g_midair, g_minstagib, g_pinata, g_norecoil, g_vampire, g_minstagib_invis_alpha, g_bloodloss; +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; +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; float g_warmup_allow_timeout; @@ -243,10 +243,6 @@ float alreadychangedlevel; .float welcomemessage_time; .float version; -// Laser target for laser-guided weapons -.entity lasertarget; -.float laser_on; - // minstagib vars .float jump_interval; // laser refire @@ -329,6 +325,9 @@ float sv_loddistance2; .string weaponorder_byimpulse; +.float cvar_cl_allow_uid2name; +.string stored_netname; + void Announce(string snd); void AnnounceTo(entity e, string snd); @@ -523,6 +522,8 @@ string clientstuff; .string fog; string cvar_changes; +string cvar_purechanges; +float cvar_purechanges_count; float game_starttime; //point in time when the countdown is over .float stat_game_starttime; @@ -530,6 +531,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); @@ -596,15 +598,7 @@ 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 - -FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(stats_hit); -FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(stats_fired); +.float last_pickup; .float stat_leadlimit; @@ -651,5 +645,15 @@ string deathmessage; .entity realowner; .float nex_charge; +.float nex_charge_rottime; +.float nex_charge_pool_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;