ioq3quest/code/q3_ui
Zack Middleton 9f239d647b Make 'globalservers 0' fetch all masters
This commit fixes the vanilla Q3 UI VMs not displaying a server list
when id Software's master server is down.

Originally master 0 for the globalservers command was Internet and
master 1 was MPlayer (defunct). In 2008 ioquake3 changed it so that
master 0 to 4 were five separate master servers with no affect on
original Quake3/Team Arena UI VMs; they continued to get the server
list from master.quake3arena.com.

id Software's master server (master.quake3arena.com) goes down
occasionally. Using ioq3's UI VM additional master servers can be
accessed but players using the original UI VMs are unable to get a
server list.

In order to fix the original UI VMs in Quake3/Team Arena's pk3s this
commit makes 'globalservers 0' fetch all master servers. So players
get a combined list of id Software's and ioquake3's master list. Or
just ioquake3's list if id Software's master is down.

Getting lists from individual master servers using globalservers has
changed from 0 through 4 to 1 through 5 to accommodate using 0 for
other purposes. This commit modifies ioq3's UI code to support the new
values for globalservers command.

A side affect of these changes is that UI VMs based on ioq3 since 2008
will have Internet1 fetch all master servers and Internet2 request
sv_master1 instead of sv_master2 and so on. It may be worth noting that
getting server list from masters 3-5 could not be done using ioq3's UI
before 2011.
2017-07-20 15:39:51 -05:00
..
ui_addbots.c Make add bots menu use standard menu drawing 2015-09-16 01:43:28 -05:00
ui_atoms.c Fix q3_ui cursor going off screen in widescreen 2017-07-01 11:27:22 -05:00
ui_cdkey.c
ui_cinematics.c
ui_confirm.c
ui_connect.c Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings 2011-07-29 12:27:00 +00:00
ui_controls2.c Fix always switching back to mgun in Q3 controls menu 2014-05-18 20:27:18 -05:00
ui_credits.c Add smiletheory to credits in q3_ui. 2012-10-26 04:16:25 +00:00
ui_demo2.c Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings 2011-07-29 12:27:00 +00:00
ui_display.c
ui_gameinfo.c Fix iamamonkey printing 'levels' instead of 'awards' 2016-05-23 10:23:14 -05:00
ui_ingame.c
ui_loadconfig.c
ui_local.h renderer -> renderergl1, rend2 -> renderergl2 2013-02-15 23:46:37 +00:00
ui_login.c
ui_main.c Fix g_teamAutoJoin and g_teamForceBalance 2017-06-22 21:56:20 -05:00
ui_menu.c In q3_ui if uis.demoversion is set, hide "Team Arena" and "Mods" in main menu. (They aren't shown in id's q3a demo and use to be drawn under demo message). 2012-12-01 23:17:14 +00:00
ui_mfield.c Fix overstrike/insert logic being reversed in q3_ui 2014-07-03 21:06:05 -05:00
ui_mods.c * Merge unified-sdl to trunk 2007-09-05 18:17:46 +00:00
ui_network.c
ui_options.c
ui_playermodel.c Bug 5035 - Automatically selecting player model in q3_ui does not work if skin is not specified, patch by Zack Middleton 2011-06-11 15:26:36 +00:00
ui_players.c Fix 'missing token' in parsers for animations.cfg 2017-06-07 19:06:41 -05:00
ui_playersettings.c
ui_preferences.c Fix ui warnings 2014-09-01 11:05:46 +01:00
ui_qmenu.c Add mouse wheel support to UI list boxes 2017-06-03 14:03:09 -05:00
ui_rankings.c
ui_rankstatus.c
ui_removebots.c
ui_saveconfig.c Add string length checking to function COM_StripExtension. This fixes the R_RemapShader buffer overflow exploit that can be found here: 2006-05-06 01:56:24 +00:00
ui_serverinfo.c Fix IPv6 favorites in q3_ui 2013-02-08 18:11:03 -06:00
ui_servers2.c Make 'globalservers 0' fetch all masters 2017-07-20 15:39:51 -05:00
ui_setup.c
ui_signup.c
ui_sound.c Added option for selecting sound system (SDL or OpenAL) and option for setting SDL sound quality to q3_ui sound menu. 2011-09-20 03:29:22 +00:00
ui_sparena.c
ui_specifyleague.c
ui_specifyserver.c
ui_splevel.c Fix possible levelPicNames buffer overflow in q3_ui 2015-01-12 21:28:03 -06:00
ui_sppostgame.c
ui_spreset.c
ui_spskill.c
ui_startserver.c Fix g_teamAutoJoin and g_teamForceBalance 2017-06-22 21:56:20 -05:00
ui_team.c Fix ui warnings 2014-09-01 11:05:46 +01:00
ui_teamorders.c fix team orders menu 2006-12-28 17:46:10 +00:00
ui_video.c Fix ui warnings 2014-09-01 11:05:46 +01:00