summaryrefslogtreecommitdiff
path: root/src/ai/api
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-01-29 21:38:55 +0000
committeryexo <yexo@openttd.org>2010-01-29 21:38:55 +0000
commit4c4d1e1bf6c5e6c4678eeb52b263b6119a531fcf (patch)
tree3ca424f7d3bdded261b7822dbeab519595d69c5c /src/ai/api
parentdc714960e3699144fcd39a13460b0a8f9fd0ca4d (diff)
downloadopenttd-4c4d1e1bf6c5e6c4678eeb52b263b6119a531fcf.tar.xz
(svn r18953) -Feature: [NoAI] allow editing AI settings while an AI is running
Only settings with the AICONFIG_INGAME flag can be editted in this way
Diffstat (limited to 'src/ai/api')
-rw-r--r--src/ai/api/ai_info_docs.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/api/ai_info_docs.hpp b/src/ai/api/ai_info_docs.hpp
index e93ef1e94..c6b43568f 100644
--- a/src/ai/api/ai_info_docs.hpp
+++ b/src/ai/api/ai_info_docs.hpp
@@ -184,6 +184,7 @@ public:
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.
};
/**