]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.h
upgraded network protocol to DPPROTOCOL_VERSION4 - this means partial entity updates...
[xonotic/darkplaces.git] / netconn.h
index cfde20dedcecf396f237a55c44e241d880e22e33..2e9d92341c1e6acd8c06122ec59c8db407adfebf 100755 (executable)
--- a/netconn.h
+++ b/netconn.h
@@ -191,6 +191,7 @@ extern unsigned short ntohs (unsigned short netshort);
 //
 //============================================================================
 
+extern cvar_t sv_maxplayers;
 extern sizebuf_t net_message;
 
 int NetConn_SendReliableMessage(netconn_t *conn, sizebuf_t *data);
@@ -209,6 +210,7 @@ void NetConn_Shutdown(void);
 netconn_t *NetConn_Open(lhnetsocket_t *mysocket, lhnetaddress_t *peeraddress);
 void NetConn_Close(netconn_t *conn);
 void NetConn_Listen(qboolean state);
+int NetConn_IsLocalGame(void);
 //int NetConn_ReceivedMessage(netconn_t *conn, qbyte *data, int length);
 //int NetConn_ClientParsePacket(lhnetsocket_t *mysocket, qbyte *data, int length, lhnetaddress_t *peeraddress);
 //int NetConn_ServerParsePacket(lhnetsocket_t *mysocket, qbyte *data, int length, lhnetaddress_t *peeraddress);