]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
added back the hacky NAT routing fix since it actually does work, the win32 problems...
[xonotic/darkplaces.git] / server.h
index 8ceabc2bdb86f6229d357171d26a31991cf35fe9..5a330ffefdd8b190f4e18b33cb4a2f2b03762fbb 100644 (file)
--- a/server.h
+++ b/server.h
@@ -81,6 +81,12 @@ typedef struct client_s
        qboolean                dropasap;                       // has been told to go to another level
        qboolean                sendsignon;                     // only valid before spawned
 
+#ifndef NOROUTINGFIX
+       // LordHavoc: to make netquake protocol get through NAT routers, have to wait for client to ack
+       qboolean                waitingforconnect;      // waiting for connect from client (stage 1)
+       qboolean                sendserverinfo;         // send server info in next datagram (stage 2)
+#endif
+
        double                  last_message;           // reliable messages must be sent
                                                                                // periodically