equal
deleted
inserted
replaced
205 VARDEF bool _network_autoclean_companies; |
205 VARDEF bool _network_autoclean_companies; |
206 VARDEF uint8 _network_autoclean_unprotected; // Remove a company after X months |
206 VARDEF uint8 _network_autoclean_unprotected; // Remove a company after X months |
207 VARDEF uint8 _network_autoclean_protected; // Unprotect a company after X months |
207 VARDEF uint8 _network_autoclean_protected; // Unprotect a company after X months |
208 |
208 |
209 VARDEF Year _network_restart_game_year; // If this year is reached, the server automaticly restarts |
209 VARDEF Year _network_restart_game_year; // If this year is reached, the server automaticly restarts |
|
210 VARDEF uint8 _network_min_players; // Minimum number of players for game to unpause |
210 |
211 |
211 NetworkGameList *NetworkQueryServer(const char* host, unsigned short port, bool game_info); |
212 NetworkGameList *NetworkQueryServer(const char* host, unsigned short port, bool game_info); |
212 |
213 |
213 byte NetworkSpectatorCount(void); |
214 byte NetworkSpectatorCount(void); |
214 |
215 |
219 void NetworkUpdateClientInfo(uint16 client_index); |
220 void NetworkUpdateClientInfo(uint16 client_index); |
220 void NetworkAddServer(const char *b); |
221 void NetworkAddServer(const char *b); |
221 void NetworkRebuildHostList(void); |
222 void NetworkRebuildHostList(void); |
222 bool NetworkChangeCompanyPassword(byte argc, char *argv[]); |
223 bool NetworkChangeCompanyPassword(byte argc, char *argv[]); |
223 void NetworkPopulateCompanyInfo(void); |
224 void NetworkPopulateCompanyInfo(void); |
|
225 void CheckMinPlayers(void); |
224 |
226 |
225 #endif /* ENABLE_NETWORK */ |
227 #endif /* ENABLE_NETWORK */ |
226 |
228 |
227 // Those variables must always be registered! |
229 // Those variables must always be registered! |
228 VARDEF bool _networking; |
230 VARDEF bool _networking; |