X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=fb93b7c7876b3d133d4f5b30b2daa872b56e4aa8;hp=4138c2945ed970f14a876e7e8b77553ff777560b;hb=94a967120c8bfe0d4ffd95690b97e5af297dfc05;hpb=09c2c7cc220916338ad8d401265624efc5114a4e diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 4138c2945e..fb93b7c787 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; @@ -47,9 +46,6 @@ entity activator; float player_count; float currentbots; float bots_would_leave; -float lms_lowest_lives; -float lms_next_place; -float LMS_NewPlayerLives(); void UpdateFrags(entity player, float f); .float totalfrags; @@ -58,6 +54,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; @@ -102,6 +101,7 @@ float maxclients; //.float cnt2; .float play_time; +.float respawn_flags; .float respawn_time; .float death_time; .float fade_time; @@ -206,8 +206,6 @@ float WS_READY = 4; // idle frame void weapon_defaultspawnfunc(float wpn); -string w_deathtypestring; - .vector dest1, dest2; float gameover; @@ -215,9 +213,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 @@ -242,9 +237,9 @@ float game_completion_ratio; // 0 at start, 1 near end .float winning; .float jointime; // time of joining .float alivetime; // time of being alive +.float motd_actived_time; // used for both motd and campaign_message float nJoinAllowed(entity ignore); -#define PREVENT_JOIN_TEXT "^1You may not join the game at this time.\n\nThe player limit reached maximum capacity." .float spawnshieldtime; @@ -253,8 +248,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 @@ -277,11 +270,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; @@ -291,9 +279,6 @@ float sv_clforceplayermodels; .float cvar_cl_allow_uidtracking; .string stored_netname; -void Announce(string snd); -void AnnounceTo(entity e, string snd); - .float version_nagtime; #define NUM_JUMPPADSUSED 3 @@ -304,9 +289,6 @@ string gamemode_name; float startitem_failed; -void DropAllRunes(entity pl); - - typedef .float floatfield; floatfield Item_CounterField(float it); @@ -462,8 +444,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; @@ -552,7 +536,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,17 +576,9 @@ string deathmessage; #define ACTIVE_BUSY 2 #define ACTIVE_TOGGLE 3 .float active; -.float (float act_state) setactive; +.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 @@ -604,7 +586,6 @@ float serverflags; .float player_blocked; .float freezetag_frozen; -.float freezetag_revive_progress; .entity muzzle_flash; .float misc_bulletcounter; // replaces uzi & hlac bullet counter.