X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=netconn.h;h=2e9d92341c1e6acd8c06122ec59c8db407adfebf;hp=cfde20dedcecf396f237a55c44e241d880e22e33;hb=a0338ffd578afdaf693aee96bc6f948afb5b1844;hpb=b809b71209987c128cc62fe62b779a5ce4a931b6 diff --git a/netconn.h b/netconn.h index cfde20de..2e9d9234 100755 --- 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);