mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Move GameSpy server functions to sv_gamespy.h
This commit is contained in:
parent
0eb8f9f466
commit
7697fc49f6
3 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue