mirror of
https://github.com/unknownworlds/NS.git
synced 2024-12-11 05:10:56 +00:00
8552ac617c
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@1 67975925-1194-0748-b3d5-c16f83f1a3a1
34 lines
No EOL
1,018 B
C
34 lines
No EOL
1,018 B
C
#if !defined( HUD_SERVERSH )
|
|
#define HUD_SERVERSH
|
|
#pragma once
|
|
|
|
#define NET_CALLBACK /* */
|
|
|
|
// Dispatchers
|
|
void NET_CALLBACK ListResponse( struct net_response_s *response );
|
|
void NET_CALLBACK ServerResponse( struct net_response_s *response );
|
|
void NET_CALLBACK PingResponse( struct net_response_s *response );
|
|
void NET_CALLBACK RulesResponse( struct net_response_s *response );
|
|
void NET_CALLBACK PlayersResponse( struct net_response_s *response );
|
|
|
|
void ServersInit( void );
|
|
void ServersShutdown( void );
|
|
void ServersThink( double time );
|
|
void ServersCancel( void );
|
|
|
|
// Get list and get server info from each
|
|
void ServersList( void );
|
|
|
|
// Query for IP / IPX LAN servers
|
|
void BroadcastServersList( int clearpending );
|
|
|
|
void ServerPing( int server );
|
|
void ServerRules( int server );
|
|
void ServerPlayers( int server );
|
|
|
|
int ServersGetCount( void );
|
|
const char *ServersGetInfo( int server );
|
|
int ServersIsQuerying( void );
|
|
void SortServers( const char *fieldname );
|
|
|
|
#endif // HUD_SERVERSH
|