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
commitc9645885d085706aab46c593fab1fd2c1d560c17 (patch)
tree58714b88a827433fe0f108fda19afc593185fdea /network.h
parent3672ae111857e7dffff55737a50d06f5d44114a5 (diff)
downloadopenttd-c9645885d085706aab46c593fab1fd2c1d560c17.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 */