(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
This commit is contained in:
yexo
2010-01-29 21:38:55 +00:00
parent d9bd9bb945
commit e482d6d627
6 changed files with 45 additions and 12 deletions

View File

@@ -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;