summaryrefslogtreecommitdiff
path: root/network.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-23 17:37:26 +0000
committertruelight <truelight@openttd.org>2004-12-23 17:37:26 +0000
commit824d73be2d438cf0ce5205bbc2d9144899b19d90 (patch)
tree58714b88a827433fe0f108fda19afc593185fdea /network.h
parente480efb19dc73986721591676580eb1a2296aec3 (diff)
downloadopenttd-824d73be2d438cf0ce5205bbc2d9144899b19d90.tar.xz
(svn r1252) -Add: [Network] With 'set restart_game_date' you can set the date for in
which year the server must restart hisself. (0 = disabled, default value)
Diffstat (limited to 'network.h')
-rw-r--r--network.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/network.h b/network.h
index 0a13665ef..a02ee5446 100644
--- a/network.h
+++ b/network.h
@@ -184,6 +184,8 @@ VARDEF bool _network_autoclean_companies;
VARDEF uint8 _network_autoclean_unprotected; // Remove a company after X months
VARDEF uint8 _network_autoclean_protected; // Unprotect a company after X months
+VARDEF uint16 _network_restart_game_date; // If this year is reached, the server automaticly restarts
+
NetworkGameList *NetworkQueryServer(const byte* host, unsigned short port, bool game_info);
#endif /* ENABLE_NETWORK */