aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/net_univ.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parsec/include/net_univ.h')
-rw-r--r--src/parsec/include/net_univ.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/parsec/include/net_univ.h b/src/parsec/include/net_univ.h
new file mode 100644
index 0000000..e182be1
--- /dev/null
+++ b/src/parsec/include/net_univ.h
@@ -0,0 +1,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_
+
+