Skip to content

Commit

Permalink
Added GameSpy function declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
L committed Feb 5, 2023
1 parent bdc3de7 commit 92f58d2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions code/server/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ extern cvar_t *g_gametypestring;
extern cvar_t *sv_chatter;
extern cvar_t *sv_gamename;
extern cvar_t *sv_location;
extern cvar_t *sv_debug_gamespy;
extern cvar_t *sv_gamespy;
extern cvar_t *sv_lanForceRate; // dedicated 1 (LAN) server forces local client rates to 99999 (bug #491)
extern cvar_t *sv_strictAuth;

Expand Down Expand Up @@ -385,6 +387,7 @@ void SV_UpdateConfigstrings( client_t *client );
void SV_SetUserinfo( int index, const char *val );
void SV_GetUserinfo( int index, char *buffer, int bufferSize );

int SV_NumClients(void);
void SV_ChangeMaxClients( void );
void SV_SpawnServer( const char *server, qboolean loadgame, qboolean restart, qboolean bTransition );

Expand Down Expand Up @@ -511,6 +514,13 @@ void SV_Netchan_Transmit( client_t *client, msg_t *msg);
void SV_Netchan_TransmitNextFragment( client_t *client );
qboolean SV_Netchan_Process( client_t *client, msg_t *msg );

//
// sv_gamespy.c
//
void SV_GamespyHeartbeat();
qboolean SV_InitGamespy();
void SV_ShutdownGamespy();

#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit 92f58d2

Please sign in to comment.