X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=865d39b10eef9c3369ca63942b29fbd771b09f43;hp=0824cb46369434a955d5e5110b437d28dfe0e9f8;hb=a7b24450e4c7ca75636df1375d01d2266bd00c8c;hpb=0de9d927d67bd8ac5d90d0801aa0a711361626d5 diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 0824cb4636..865d39b10e 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -104,6 +104,7 @@ float maxclients; //.float cnt2; .float play_time; +.float respawn_time; .float death_time; .float fade_time; .float fade_rate; @@ -263,9 +264,6 @@ float alreadychangedlevel; .float version; -// minstagib vars -.float jump_interval; // laser refire - //swamp .float in_swamp; // bool .entity swampslug; // Uses this to release from swamp ("untouch" fix) @@ -273,11 +271,6 @@ float alreadychangedlevel; // footstep interval .float nextstep; -.float ready; -#define RESTART_COUNTDOWN 10 -float restart_mapalreadyrestarted; //bool, indicates whether reset_map() was already executed -entity restartTimer; -void restartTimer_Think(); float blockSpectators; //if set, new or existing spectators or observers will be removed unless they become a player within g_maxplayers_spectator_blocktime seconds .float spectatortime; //point in time since the client is spectating or observing void checkSpectatorBlock(); @@ -289,21 +282,6 @@ void checkSpectatorBlock(); float nJoinAllowed(float includeMe); #define PREVENT_JOIN_TEXT "^1You may not join the game at this time.\n\nThe player limit reached maximum capacity." -//sv_timeout: pauses the game by setting the gamespeed to a really low value (see TIMEOUT_SLOWMO_VALUE) -#define TIMEOUT_SLOWMO_VALUE 0.0001 -float sys_frametime; // gets initialised in worlspawn, saves the value from autocvar_sys_ticrate -float remainingTimeoutTime; // contains the time in seconds that the active timeout has left -float remainingLeadTime; // contains the number of seconds left of the leadtime (before the timeout starts) -float timeoutStatus; // (values: 0, 1, 2) contains whether a timeout is not active (0), was called but still at leadtime (1) or is active (2) -.float allowedTimeouts; // contains the number of allowed timeouts for each player -entity timeoutInitiator; // contains the entity of the player who started the last timeout -float orig_slowmo; // contains the value of autocvar_slowmo so that, after timeout finished, it isn't set to slowmo 1 necessarily -.vector lastV_angle; //used when pausing the game in order to force the player to keep his old view angle fixed -entity timeoutHandler; //responsible for centerprinting the timeout countdowns and playing sounds -void timeoutHandler_Think(); -void evaluateTimeout(); -void evaluateTimein(); - .float spawnshieldtime; .float lms_nextcheck;