summaryrefslogtreecommitdiff
path: root/src/openttd.h
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-19 20:58:59 +0000
committertruebrain <truebrain@openttd.org>2011-12-19 20:58:59 +0000
commit55de5d336c2b82aa2393a28e09b64f72f4661a25 (patch)
treee22b50238bfb53086c4e27e0d8487f9e332f7b6f /src/openttd.h
parent5ff98b45c1f9097f521c95cfa46728e1f39a8f6d (diff)
downloadopenttd-55de5d336c2b82aa2393a28e09b64f72f4661a25.tar.xz
(svn r23618) -Add: ScriptGame::Pause, ScriptGame::Unpause, and ScriptGame::GetLandscape (GameScript only)
Diffstat (limited to 'src/openttd.h')
-rw-r--r--src/openttd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openttd.h b/src/openttd.h
index a4c94995e..7df5a39b1 100644
--- a/src/openttd.h
+++ b/src/openttd.h
@@ -61,6 +61,7 @@ enum PauseMode {
PM_PAUSED_JOIN = 1 << 2, ///< A game paused for 'pause_on_join'
PM_PAUSED_ERROR = 1 << 3, ///< A game paused because a (critical) error
PM_PAUSED_ACTIVE_CLIENTS = 1 << 4, ///< A game paused for 'min_active_clients'
+ PM_PAUSED_GAME_SCRIPT = 1 << 5, ///< A game paused by a game script
/** Pause mode bits when paused for network reasons. */
PMB_PAUSED_NETWORK = PM_PAUSED_ACTIVE_CLIENTS | PM_PAUSED_JOIN,