Add Com_InitGameSpy() for future use

This commit is contained in:
smallmodel 2025-04-22 22:51:06 +02:00
parent 25de66ed80
commit 73b4569c07
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
3 changed files with 10 additions and 0 deletions

View file

@ -24,6 +24,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "q_gamespy.h"
void Com_InitGameSpy()
{
}
const char *Com_GetMasterHost()
{
return "master.333networks.com";

View file

@ -24,6 +24,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#pragma once
void Com_InitGameSpy();
const char *Com_GetMasterHost();
int Com_GetMasterQueryPort();
int Com_GetMasterHeartbeatPort();

View file

@ -45,6 +45,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# include "../uilib/ui_public.h"
#endif
#include "../gamespy/q_gamespy.h"
qboolean CL_FinishedIntro(void);
#ifdef __cplusplus
@ -1994,6 +1996,8 @@ void Com_Init( char *commandLine ) {
RecoverLostAutodialData();
Com_InitGameSpy();
iEnd = Sys_Milliseconds();
Com_Printf( "--- Common Initialization Complete --- %i ms\n", iEnd - iStart );
}