aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/net_univ.h
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
commitc068f22329d5cc722622a2183bbb22eef2093df7 (patch)
tree12d56c1aede67988a55e241364606bfbb4dba933 /src/parsec/include/net_univ.h
downloadopenparsec-c068f22329d5cc722622a2183bbb22eef2093df7.tar.xz
openparsec-c068f22329d5cc722622a2183bbb22eef2093df7.zip
initial importHEADmain
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_
+
+