mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +00:00
* Supply specific identifier to the master server (Mathieu Olivier)
This commit is contained in:
parent
b2d87c4b2a
commit
47ee177430
3 changed files with 4 additions and 4 deletions
|
@ -3666,7 +3666,7 @@ void CL_GlobalServers_f( void ) {
|
||||||
// Use the extended query for IPv6 masters
|
// Use the extended query for IPv6 masters
|
||||||
if (to.type == NA_IP6 || to.type == NA_MULTICAST6)
|
if (to.type == NA_IP6 || to.type == NA_MULTICAST6)
|
||||||
{
|
{
|
||||||
cmdname = "getserversExt " GAMENAME;
|
cmdname = "getserversExt " GAMENAME_FOR_MASTER;
|
||||||
|
|
||||||
// TODO: test if we only have an IPv6 connection. If it's the case,
|
// TODO: test if we only have an IPv6 connection. If it's the case,
|
||||||
// request IPv6 servers only by appending " ipv6" to the command
|
// request IPv6 servers only by appending " ipv6" to the command
|
||||||
|
|
|
@ -31,15 +31,15 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#define BASEGAME "foobar"
|
#define BASEGAME "foobar"
|
||||||
#define CLIENT_WINDOW_TITLE "changeme"
|
#define CLIENT_WINDOW_TITLE "changeme"
|
||||||
#define CLIENT_WINDOW_MIN_TITLE "changeme2"
|
#define CLIENT_WINDOW_MIN_TITLE "changeme2"
|
||||||
|
#define GAMENAME_FOR_MASTER "iofoo3" // must NOT contain whitespaces
|
||||||
#else
|
#else
|
||||||
#define PRODUCT_NAME "ioq3"
|
#define PRODUCT_NAME "ioq3"
|
||||||
#define BASEGAME "baseq3"
|
#define BASEGAME "baseq3"
|
||||||
#define CLIENT_WINDOW_TITLE "ioquake3"
|
#define CLIENT_WINDOW_TITLE "ioquake3"
|
||||||
#define CLIENT_WINDOW_MIN_TITLE "ioq3"
|
#define CLIENT_WINDOW_MIN_TITLE "ioq3"
|
||||||
|
#define GAMENAME_FOR_MASTER "Quake3Arena"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GAMENAME BASEGAME
|
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define PRODUCT_VERSION "1.35"
|
#define PRODUCT_VERSION "1.35"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -413,7 +413,7 @@ void SVC_Info( netadr_t from ) {
|
||||||
va("%i", sv_maxclients->integer - sv_privateClients->integer ) );
|
va("%i", sv_maxclients->integer - sv_privateClients->integer ) );
|
||||||
Info_SetValueForKey( infostring, "gametype", va("%i", sv_gametype->integer ) );
|
Info_SetValueForKey( infostring, "gametype", va("%i", sv_gametype->integer ) );
|
||||||
Info_SetValueForKey( infostring, "pure", va("%i", sv_pure->integer ) );
|
Info_SetValueForKey( infostring, "pure", va("%i", sv_pure->integer ) );
|
||||||
Info_SetValueForKey( infostring, "gamename", GAMENAME );
|
Info_SetValueForKey( infostring, "gamename", GAMENAME_FOR_MASTER );
|
||||||
|
|
||||||
#ifdef USE_VOIP
|
#ifdef USE_VOIP
|
||||||
if (sv_voip->integer) {
|
if (sv_voip->integer) {
|
||||||
|
|
Loading…
Reference in a new issue