forked from mirror/OpenTTD
(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:
@@ -20,10 +20,11 @@
|
||||
|
||||
/** Bitmask of flags for AI settings. */
|
||||
enum AIConfigFlags {
|
||||
AICONFIG_NONE = 0x0, ///< No flags set.
|
||||
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.
|
||||
AICONFIG_NONE = 0x0, ///< No flags set.
|
||||
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.
|
||||
AICONFIG_AI_DEVELOPER = 0x8, ///< This setting will only be visible when the ai development tools are active.
|
||||
};
|
||||
|
||||
typedef SmallMap<int, char *> LabelMapping; ///< Map-type used to map the setting numbers to labels.
|
||||
|
Reference in New Issue
Block a user