diff options
author | yexo <yexo@openttd.org> | 2011-11-08 21:48:00 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2011-11-08 21:48:00 +0000 |
commit | a256bd71e472fb6bd6ad91f464ee1d1a18a1823f (patch) | |
tree | ef338211b627ae164a9dd5bb705cf509123aaf88 /src/ai/ai_info.hpp | |
parent | 5c838ff1c312c240e44bb7da95e5450bcfeaeff6 (diff) | |
download | openttd-a256bd71e472fb6bd6ad91f464ee1d1a18a1823f.tar.xz |
(svn r23169) -Feature: [NoAI] AICONFIG_AI_DEVELOPER flags to hide AI settings unless gui.ai_developer_tools is enabled (Zuu)
Diffstat (limited to 'src/ai/ai_info.hpp')
-rw-r--r-- | src/ai/ai_info.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ai/ai_info.hpp b/src/ai/ai_info.hpp index 936237418..c618930d9 100644 --- a/src/ai/ai_info.hpp +++ b/src/ai/ai_info.hpp @@ -20,10 +20,11 @@ /** Bitmask of flags for AI settings. */ enum AIConfigFlags { - AICONFIG_NONE = 0x0, ///< No flags set. - AICONFIG_RANDOM = 0x1, ///< When randomizing the AI, pick any value between min_value and max_value when on custom difficulty setting. - AICONFIG_BOOLEAN = 0x2, ///< This value is a boolean (either 0 (false) or 1 (true) ). - AICONFIG_INGAME = 0x4, ///< This setting can be changed while the AI is running. + AICONFIG_NONE = 0x0, ///< No flags set. + AICONFIG_RANDOM = 0x1, ///< When randomizing the AI, pick any value between min_value and max_value when on custom difficulty setting. + AICONFIG_BOOLEAN = 0x2, ///< This value is a boolean (either 0 (false) or 1 (true) ). + AICONFIG_INGAME = 0x4, ///< This setting can be changed while the AI is running. + AICONFIG_AI_DEVELOPER = 0x8, ///< This setting will only be visible when the ai development tools are active. }; typedef SmallMap<int, char *> LabelMapping; ///< Map-type used to map the setting numbers to labels. |