diff --git a/code/gamespy/sv_gamespy.h b/code/gamespy/sv_gamespy.h index dc033679..98ffd6d1 100644 --- a/code/gamespy/sv_gamespy.h +++ b/code/gamespy/sv_gamespy.h @@ -24,6 +24,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #pragma once +#include "q_gamespy.h" + #ifdef __cplusplus extern "C" { #endif @@ -37,6 +39,11 @@ extern const char* GS_GetCurrentGameName(); void SV_CreateGamespyChallenge(char* challenge); void SV_GamespyAuthorize(netadr_t from, const char* response); +void SV_GamespyHeartbeat(); +void SV_ProcessGamespyQueries(); +qboolean SV_InitGamespy(); +void SV_ShutdownGamespy(); +void SV_RestartGamespy(); #ifdef __cplusplus } diff --git a/code/server/server.h b/code/server/server.h index 07c593b3..0dba4254 100644 --- a/code/server/server.h +++ b/code/server/server.h @@ -633,14 +633,6 @@ void SV_NET_UpdateClientNetProfileInfo(netprofclient_t* netprofile, int rate); void SV_NET_UpdateAllNetProfileInfo(); void SV_NET_CalcTotalNetProfile(netprofclient_t* netprofile, qboolean server); -// -// sv_gamespy.c -// -void SV_GamespyHeartbeat(); -void SV_ProcessGamespyQueries(); -qboolean SV_InitGamespy(); -void SV_ShutdownGamespy(); - #ifdef __cplusplus } #endif diff --git a/code/server/sv_init.c b/code/server/sv_init.c index 3686f3b7..fb45591a 100644 --- a/code/server/sv_init.c +++ b/code/server/sv_init.c @@ -24,6 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include "../client/client.h" #include "../qcommon/tiki.h" #include "../qcommon/bg_compat.h" +#include "../gamespy/sv_gamespy.h" static char last_mapname[ MAX_QPATH ]; static int g_iSvsTimeFixupCount;