X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fclient.qh;h=31d65f948608c1ba8e394b11970f73bd3c4f1412;hb=aecd4e7b9523204a1dec88eaee0fd618976baf85;hp=313945de81e91d3ae3f6d93e6b5d370ba76591a6;hpb=4435e6a342e65c52cb1fc00aea84f6018eff16ac;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/client.qh b/qcsrc/server/client.qh index 313945de8..31d65f948 100644 --- a/qcsrc/server/client.qh +++ b/qcsrc/server/client.qh @@ -33,7 +33,8 @@ bool autocvar_g_nodepthtestplayers; string autocvar_g_mutatormsg; float autocvar_sv_foginterval; float autocvar_sv_maxidle; -bool autocvar_sv_maxidle_spectatorsareidle; +float autocvar_sv_maxidle_playertospectator = 60; +bool autocvar_sv_maxidle_alsokickspectators; int autocvar_sv_maxidle_slots; bool autocvar_sv_maxidle_slots_countbots; bool autocvar_g_forced_respawn; @@ -364,8 +365,6 @@ void ClientData_Touch(entity e); int nJoinAllowed(entity this, entity ignore); -void checkSpectatorBlock(entity this); - void PlayerUseKey(entity this); void FixClientCvars(entity e); @@ -377,6 +376,7 @@ IntrusiveList g_initforplayer; STATIC_INIT(g_initforplayer) { g_initforplayer = IL_NEW(); } void play_countdown(entity this, float finished, Sound samp); +void player_powerups_remove_all(entity this); void RotRegen(entity this, float current, float regenstable, float regenfactor, float regenlinear, float regenframetime, float rotstable, float rotfactor, float rotlinear, float rotframetime, float limit_mod);