(svn r23169) -Feature: [NoAI] AICONFIG_AI_DEVELOPER flags to hide AI settings unless gui.ai_developer_tools is enabled (Zuu)

This commit is contained in:
yexo
2011-11-08 21:48:00 +00:00
parent 5c838ff1c3
commit a256bd71e4
6 changed files with 70 additions and 31 deletions

View File

@@ -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.
};
/**