(cycle between teams and free. Supposed to fire the event but not tested)
Also rename 'Change unit side' to 'Change side' to better reflect this.
But not sure if not confusing.
default lists from which an option is randomly chosen at runtime are
provided as the default_victory_music and default_defeat_music
attributes in [game_config] node; this may be overriden per-scenario
using the victory_music and/or defeat_music attributes on its code -
it can also be overriden in a [endlevel] block by providing a music=
attribute with the desired list (feature request/bug #11203).
...which would cause an AI to be incorrectly reused by another
team. Added a method to allow the ai_manager to detect if an AI
requests management by the ai_manager. Lastly, added a hook to allow
the ai_manager to clean up AI resources prior to playsingle_controller
destruction. Formula_ai now has method to inform ai_manager it wishes
to be managed.
With a new command: "custom <command>" to assign a command to this hotkey.
examples: "custom refresh" or "custom create Troll" etc...
This custom command is saved in preferences.
Rename game_data to unit_type_data and make it a singleton to prevent
passing the same instance throughout the whole code and make
subsequent optimization less painful.
Instead of trying to use new/delete, pull the entire text of
playsingle_scenario and playmp_scenario into playcampaign.cpp in
preparation for inlinining them at the point where we'll need the
controller objects to be visible.
Tested, both SP and MP.
They're either wrong in themselves or (more likely) interacting badly
with some recent MP-lobby changes. I don't want to leave the game in
a broken state just as I go on vacation.
Currently works only for single-player. Issues: Needs some kind of
visible indication on the display. Also, saves made during the
post-victory-or-defeat linger could be reloaded and abused for
experience farming.
* Wesnoth is distributed under the terms of the GPL version 2, made
that more explicit
* updated the copyright range to 2007
* updated Dave's email adress
- user_interact
- unit_recruited
- unit_moved
- enemy_attacked
removes dependency of ai.cpp on playturn.hpp
removes playturn.cpp out of editor build
fixes bug #5845 (menu doesn't open on ai turn)