diff options
author | rubidium <rubidium@openttd.org> | 2009-11-12 17:46:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-12 17:46:04 +0000 |
commit | 934e6a295d16055d1bcc6ffbbdf6f2b89d36bbe6 (patch) | |
tree | 94da67a98e4fecae63cb9b7e9731179ec95d334c /src/openttd.h | |
parent | 3f2dce581ea4ad3a07ab8ecc43f1acb29ef680ee (diff) | |
download | openttd-934e6a295d16055d1bcc6ffbbdf6f2b89d36bbe6.tar.xz |
(svn r18051) -Codechange: make the active clients pause use a separate bit in the pause mode
Diffstat (limited to 'src/openttd.h')
-rw-r--r-- | src/openttd.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/openttd.h b/src/openttd.h index 0b06be722..7dc3f5579 100644 --- a/src/openttd.h +++ b/src/openttd.h @@ -51,11 +51,12 @@ extern bool _exit_game; /** Modes of pausing we've got */ enum PauseMode { - PM_UNPAUSED = 0, ///< A normal unpaused game - PM_PAUSED_NORMAL = 1 << 0, ///< A game normally paused - PM_PAUSED_SAVELOAD = 1 << 1, ///< A game paused for saving/loading - 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_UNPAUSED = 0, ///< A normal unpaused game + PM_PAUSED_NORMAL = 1 << 0, ///< A game normally paused + PM_PAUSED_SAVELOAD = 1 << 1, ///< A game paused for saving/loading + 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' }; DECLARE_ENUM_AS_BIT_SET(PauseMode); typedef SimpleTinyEnumT<PauseMode, byte> PauseModeByte; |