Added a quick connect menu option which joins the client to the most populated server with a ping under 50. Mod/gamedir is not considered.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2448 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8f14e5ab9f
commit
17962a3ac7
3 changed files with 107 additions and 4 deletions
|
@ -809,6 +809,7 @@ void M_Menu_Quit_f (void)
|
|||
/* Menu Subsystem */
|
||||
|
||||
void M_Menu_ServerList2_f(void);
|
||||
void M_QuickConnect_f(void);
|
||||
|
||||
void M_Menu_MediaFiles_f (void);
|
||||
void M_Menu_FPS_f (void);
|
||||
|
@ -866,6 +867,8 @@ void M_Init_Internal (void)
|
|||
#ifdef WEBCLIENT
|
||||
Cmd_AddRemCommand ("menu_download", Menu_DownloadStuff_f);
|
||||
#endif
|
||||
|
||||
Cmd_AddRemCommand ("quickconnect", M_QuickConnect_f);
|
||||
}
|
||||
|
||||
void M_DeInit_Internal (void)
|
||||
|
@ -909,6 +912,8 @@ void M_DeInit_Internal (void)
|
|||
Cmd_RemoveCommand ("menu_particlesets");
|
||||
|
||||
Cmd_RemoveCommand ("menu_download");
|
||||
|
||||
Cmd_RemoveCommand ("quickconnect");
|
||||
}
|
||||
|
||||
void FPS_Preset_f(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue