]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - lhnet.h
add a new "scale" property in font files. Specifying, e.g., "scale 1.2" in a font...
[xonotic/darkplaces.git] / lhnet.h
diff --git a/lhnet.h b/lhnet.h
index b9868a190bcda42ff7aef508297651f5606c70bf..c865f9a9835f51b0a2766fc67af9ed22914116f4 100644 (file)
--- a/lhnet.h
+++ b/lhnet.h
@@ -16,7 +16,11 @@ typedef struct lhnetaddress_loop_s
 lhnetaddress_loop_t;
 
 #define LHNETADDRESSTYPE_INET4_FAMILY 2
+#ifdef WIN32
+#define LHNETADDRESSTYPE_INET6_FAMILY 23
+#else
 #define LHNETADDRESSTYPE_INET6_FAMILY 10
+#endif
 
 // compatible with sockaddr_in
 typedef struct lhnetaddress_inet4_s
@@ -70,6 +74,7 @@ lhnetsocket_t;
 
 void LHNET_Init(void);
 void LHNET_Shutdown(void);
+void LHNET_SleepUntilPacket_Microseconds(int microseconds);
 lhnetsocket_t *LHNET_OpenSocket_Connectionless(lhnetaddress_t *address);
 void LHNET_CloseSocket(lhnetsocket_t *lhnetsocket);
 lhnetaddress_t *LHNET_AddressFromSocket(lhnetsocket_t *sock);