diff options
author | yexo <yexo@openttd.org> | 2010-01-29 21:38:55 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-01-29 21:38:55 +0000 |
commit | 4c4d1e1bf6c5e6c4678eeb52b263b6119a531fcf (patch) | |
tree | 3ca424f7d3bdded261b7822dbeab519595d69c5c /src/ai/ai_info.hpp | |
parent | dc714960e3699144fcd39a13460b0a8f9fd0ca4d (diff) | |
download | openttd-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/ai_info.hpp')
-rw-r--r-- | src/ai/ai_info.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/ai_info.hpp b/src/ai/ai_info.hpp index 605664fbb..e3b116b3e 100644 --- a/src/ai/ai_info.hpp +++ b/src/ai/ai_info.hpp @@ -20,6 +20,7 @@ enum AIConfigFlags { AICONFIG_NONE = 0x0, 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. }; typedef SmallMap<int, char *> LabelMapping; |