]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.h
add a "freeslots" field to the host cache
[xonotic/darkplaces.git] / netconn.h
index 63df664494c0f3833439d997001e283f3cbc8cba..e04bdb5dbd93da4469d2f6f32a0dfb075fd42fff 100755 (executable)
--- a/netconn.h
+++ b/netconn.h
@@ -252,6 +252,8 @@ typedef struct serverlist_info_s
        int numbots;
        // number of currently connected players that are not bots
        int numhumans;
+       // number of free slots
+       int freeslots;
        // protocol version
        int protocol;
        // game data version
@@ -273,7 +275,8 @@ typedef enum
        SLIF_PROTOCOL,
        SLIF_NUMBOTS,
        SLIF_NUMHUMANS,
-       SLIF_COUNT
+       SLIF_COUNT,
+       SLIF_FREESLOTS
 } serverlist_infofield_t;
 
 typedef enum