X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fserver%2Fclient.qh;h=33b9d4511967c5c0834fdc9f0190c78b78d10df3;hb=45ff12256c9c1ad461cb9c7f70be3f58574ce38b;hp=5fc5422c63f7e55e5d4316f1a91fad7f3b0bdce5;hpb=658f02759864ffee0d43fc79d5da92ca138619e3;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/client.qh b/qcsrc/server/client.qh index 5fc5422c6..33b9d4511 100644 --- a/qcsrc/server/client.qh +++ b/qcsrc/server/client.qh @@ -50,11 +50,12 @@ string autocvar_hostname; int autocvar_spawn_debug; string autocvar_sv_motd; int autocvar_sv_name_maxlength = 64; +string autocvar_sv_quickmenu_file; bool autocvar_sv_servermodelsonly; +bool autocvar_sv_showspectators; int autocvar_sv_spectate; bool autocvar_sv_teamnagger; float autocvar_sv_player_scale; -bool autocvar_sv_showspectators; // WEAPONTODO .string weaponorder_byimpulse; @@ -64,7 +65,6 @@ bool autocvar_sv_showspectators; .float jointime; // time of connecting .float startplaytime; // time of switching from spectator to player .float alivetime; // time of being alive -.float motd_actived_time; // used for both motd and campaign_message .bool wasplayer; @@ -159,7 +159,6 @@ CLASS(Client, Object) ATTRIB(Client, teamkill_soundtime, float, this.teamkill_soundtime); ATTRIB(Client, teamkill_soundsource, entity, this.teamkill_soundsource); ATTRIB(Client, usekeypressed, bool, this.usekeypressed); - ATTRIB(Client, motd_actived_time, float, this.motd_actived_time); ATTRIB(Client, jointime, float, this.jointime); ATTRIB(Client, spectatortime, float, this.spectatortime); ATTRIB(Client, startplaytime, float, this.startplaytime); @@ -186,7 +185,6 @@ CLASS(Client, Object) ATTRIB(Client, specialcommand_pos, int, this.specialcommand_pos); ATTRIB(Client, hitplotfh, int, this.hitplotfh); ATTRIB(Client, clientdata, entity, this.clientdata); - ATTRIB(Client, cmd_floodcount, int, this.cmd_floodcount); ATTRIB(Client, cmd_floodtime, float, this.cmd_floodtime); ATTRIB(Client, wasplayer, bool, this.wasplayer); ATTRIB(Client, weaponorder_byimpulse, string, this.weaponorder_byimpulse); @@ -320,7 +318,7 @@ bool independent_players; .float nickspamtime; // time of last nick change .float nickspamcount; -void SendWelcomemessage_msg_type(entity this, bool force_centerprint, int msg_type); +void SendWelcomeMessage(entity this, int msg_type); // respawning .int respawn_flags; @@ -394,6 +392,8 @@ void SetSpectatee_status(entity this, int spectatee_num); void FixPlayermodel(entity player); +void GiveWarmupResources(entity this); + void ClientInit_misc(entity this); int GetPlayerLimit();