network.h
changeset 2944 2360b2da2bb0
parent 2881 ade9a553be53
child 3041 96c5e9e8c3f3
--- a/network.h	Tue Jan 31 20:05:44 2006 +0000
+++ b/network.h	Tue Jan 31 22:16:15 2006 +0000
@@ -73,9 +73,9 @@
 	byte clients_max;                               // Max clients allowed on server
 	byte clients_on;                                // Current count of clients on server
 	byte companies_max;                             // Max companies allowed on server
-	byte companies_on;                              // How many started companies do we have
+	byte companies_on;                              // How many started companies do we have (XXX - disabled for server atm, use ActivePlayerCount())
 	byte spectators_max;                            // Max spectators allowed on server
-	byte spectators_on;                             // How many spectators do we have?
+	byte spectators_on;                             // How many spectators do we have? (XXX - disabled for server atm, use NetworkSpectatorCount())
 	uint16 game_date;                               // Current date
 	uint16 start_date;                              // When the game started
 	char map_name[NETWORK_NAME_LENGTH];             // Map which is played ["random" for a randomized map]
@@ -210,6 +210,8 @@
 
 NetworkGameList *NetworkQueryServer(const char* host, unsigned short port, bool game_info);
 
+byte NetworkSpectatorCount(void);
+
 #endif /* ENABLE_NETWORK */
 
 // Those variables must always be registered!