Adds a new drop-down in the AI configuration menu (for A23).
This diff mainly handles the GUI/AIManager changes; in follow-up diffs, more changes to Petra's code can be done based on the selected behavior.
Choices (open to suggestions), and intended behavior:
Aggressive - will rush frequently, not focus on building defenses, etc.
Generalist - intended to behave as Petra does now (i.e. a mix).
Defensive - will not attack often, will keep standing armies, etc.
Random - a random behavior from the above is chosen.
Petra already has a "personality" defined in config.js, which is currently given random values based slightly on difficulty. I propose to keep this personality Object, and do the following:
- Use Config.behavior for "larger scale" decisions (like when to create attack plans, and which player to target), and initialize the Config.personality values based on Config.Behavior.
- Use Config.personality for "smaller scale" decisions (i.e. in most of the cases it is already used, for things like number of sentry towers), as a subset of the Config.Behavior.
I didn't add support for it in Autostart() in GameSetup.cpp yet, I think that should be done separately, maybe after fixing the duplication there.
(Adding elexis as a reviewer for the GUI/gamesetup stuff, and for comments/concerns.)