X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;fp=qcsrc%2Fserver%2Fdefs.qh;h=3281218ccb00ac50fa4ceff4700022a73c3447c9;hp=80bf9a1c4a50a809f4dc7d41b2a008a551ee77b2;hb=3aed354c1125db3e6e862f552c253b06b09d5d86;hpb=f3f7d43d0e8249cd68bb51bff305568ed031b942 diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 80bf9a1c4..3281218cc 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -39,7 +39,6 @@ float g_pickup_respawntimejitter_powerup; float g_jetpack; float sv_clones; -float sv_gentle; float sv_foginterval; entity activator; @@ -58,6 +57,9 @@ float team1_score, team2_score, team3_score, team4_score; float maxclients; +// flag set on worldspawn so that the code knows if it is dedicated or not +float server_is_dedicated; + // Fields .void(entity inflictor, entity attacker, float damage, float deathtype, vector hitloc, vector force) event_damage; @@ -206,8 +208,6 @@ float WS_READY = 4; // idle frame void weapon_defaultspawnfunc(float wpn); -string w_deathtypestring; - .vector dest1, dest2; float gameover; @@ -253,8 +253,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 @@ -549,7 +547,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 @@ -586,12 +590,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 serverflags; .float team_forced; // can be a team number to force a team, or 0 for default action, or -1 for forced spectator