blob: e182be1d9c5ca3c7e7ae449b98139411a38077e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/*
* PARSEC HEADER: net_univ.h
*/
#ifndef _NET_UNIV_H_
#define _NET_UNIV_H_
// for server_s ---------------------------------------------------------------
//
#include "net_csdf.h"
// max. # of entries in the linklist ------------------------------------------
//
#define MAX_LINKLIST_SIZE MAX_SERVERS * MAX_NUM_LINKS / 2
// forward decls --------------------------------------------------------------
//
struct Stargate;
// external variables ---------------------------------------------------------
//
extern server_s server_list[];
extern link_s link_list[];
extern mapobj_s* map_objs[];
extern int num_servers_joined;
extern int g_nNumLinks;
extern int num_map_objs;
// external functions ---------------------------------------------------------
//
int NET_GetGameServerList();
Stargate* NET_FindStargate( word serverid );
#endif // _NET_UNIV_H_
|