summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_info_docs.hpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-11-08 21:48:00 +0000
committeryexo <yexo@openttd.org>2011-11-08 21:48:00 +0000
commita256bd71e472fb6bd6ad91f464ee1d1a18a1823f (patch)
treeef338211b627ae164a9dd5bb705cf509123aaf88 /src/ai/api/ai_info_docs.hpp
parent5c838ff1c312c240e44bb7da95e5450bcfeaeff6 (diff)
downloadopenttd-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/api/ai_info_docs.hpp')
-rw-r--r--src/ai/api/ai_info_docs.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ai/api/ai_info_docs.hpp b/src/ai/api/ai_info_docs.hpp
index c0c68935e..f821b43f6 100644
--- a/src/ai/api/ai_info_docs.hpp
+++ b/src/ai/api/ai_info_docs.hpp
@@ -183,10 +183,11 @@ public:
/** Miscellaneous flags for AI settings. */
enum AIConfigFlags {
- AICONFIG_NONE, ///< Normal setting.
- AICONFIG_RANDOM, ///< When randomizing the AI, pick any value between min_value and max_value.
- AICONFIG_BOOLEAN, ///< This value is a boolean (either 0 (false) or 1 (true) ).
- AICONFIG_INGAME, ///< This setting can be changed while the AI is running.
+ AICONFIG_NONE, ///< Normal setting.
+ AICONFIG_RANDOM, ///< When randomizing the AI, pick any value between min_value and max_value.
+ AICONFIG_BOOLEAN, ///< This value is a boolean (either 0 (false) or 1 (true) ).
+ AICONFIG_INGAME, ///< This setting can be changed while the AI is running.
+ AICONFIG_AI_DEVELOPER, ///< This setting will only be visible when the ai development tools are active.
};
/**