X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=c9924ecca1a7b5a32cd8f7534e101fa269116b67;hb=6c111e4d7176d56d83f0f1fc10280493c0439b9e;hp=58fb8a086972201443f5a9c8df68156c771c0d2e;hpb=8f0f47ad72cb8977d36e9690cd958f37825097d2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 58fb8a086..c9924ecca 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -57,7 +57,8 @@ float team1_score, team2_score, team3_score, team4_score; float maxclients; -float server_is_local; // innocent until proven guilty by ClientConnect() in cl_client.qc +// flag set on worldspawn so that the code knows if it is dedicated or not +float server_is_dedicated; // Fields @@ -103,6 +104,7 @@ float server_is_local; // innocent until proven guilty by ClientConnect() in cl_ //.float cnt2; .float play_time; +.float respawn_flags; .float respawn_time; .float death_time; .float fade_time; @@ -207,8 +209,6 @@ float WS_READY = 4; // idle frame void weapon_defaultspawnfunc(float wpn); -string w_deathtypestring; - .vector dest1, dest2; float gameover; @@ -216,9 +216,6 @@ float intermission_running; float intermission_exittime; float alreadychangedlevel; - -.float runes; - // Keys player is holding .float itemkeys; // message delay for func_door locked by keys and key locks @@ -254,8 +251,6 @@ float nJoinAllowed(entity ignore); .entity flagcarried; -.entity lastrocket; - .float playerid; float playerid_last; .float noalign; // if set to 1, the item or spawnpoint won't be dropped to the floor @@ -278,11 +273,6 @@ float default_weapon_alpha; .string cvar_g_xonoticversion; .string cvar_cl_weaponpriority; .string cvar_cl_weaponpriorities[10]; -#ifdef ALLOW_FORCEMODELS -.float cvar_cl_forceplayermodels; -.float cvar_cl_forceplayermodelsfromxonotic; -float sv_clforceplayermodels; -#endif .float cvar_cl_gunalign; .float cvar_cl_noantilag; @@ -305,9 +295,6 @@ string gamemode_name; float startitem_failed; -void DropAllRunes(entity pl); - - typedef .float floatfield; floatfield Item_CounterField(float it); @@ -463,8 +450,10 @@ string cvar_changes; string cvar_purechanges; float cvar_purechanges_count; -float game_starttime; //point in time when the countdown is over +float game_starttime; //point in time when the countdown to game start is over +float round_starttime; //point in time when the countdown to round start is over .float stat_game_starttime; +.float stat_round_starttime; .float stat_sv_airaccel_qw; .float stat_sv_airstrafeaccel_qw; @@ -553,7 +542,13 @@ float client_cefc_accumulatortime; .float clip_load; .float old_clip_load; .float clip_size; + +.entity lastrocket; .float minelayer_mines; +.float nex_charge; +.float nex_charge_rottime; +.float nex_chargepool_ammo; +.float hagar_load; .float grab; // 0 = can't grab, 1 = owner can grab, 2 = owner and team mates can grab, 3 = anyone can grab @@ -590,14 +585,6 @@ string deathmessage; .void (float act_state) setactive; .entity realowner; -.float nex_charge; -.float nex_charge_rottime; -.float nex_chargepool_ammo; - -.float hagar_load; - -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 @@ -605,7 +592,6 @@ float serverflags; .float player_blocked; .float freezetag_frozen; -.float freezetag_revive_progress; .entity muzzle_flash; .float misc_bulletcounter; // replaces uzi & hlac bullet counter.