(implements bug #11817: Allow [item]s to be visible only to specified
teams)
* fixed overlay initialization order
* fixed some whitespace issues
* added a changelog entry
Now that MSVC 6 is no longer supported start to remove some helper code
to work around problems in that compiler. The first step is to comment
out the code and replace it with new helper code that uses the standard.
The second step is to remove the helper code and fix all callers.
Patch 2/3 for step 2: Remove minimum and maximum and fix all callers.
* Made victory music not play on 'continue' endlevel result.
* Victory music will no longer play on replay/observation, either.
* Victory music will play after the commands of the 'victory' WML
event handler are finished.
* Added some const qualifiers around.
* Output an error message if [endlevel] is used in the 'defeat' WML
event handler.
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).
It is now called for all AIs and the AI in turn informs the manager if
it should be managed. This decouples the manager from specific AI
implementation knowledge.
...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.
[set_variable] accepts string_length=
[variable] accepts boolean_not_equals=
[modify_side] can set a side's AI parameters now, using the [ai]
syntax as side declarations do (patch #984)
Nobody sends it yet, but the server can receive it, once the server
has been restarted there will be another commit to make the clients
send gzipped data to the server.
There's a config variable to change the server to send gzipped data as
well. On the trunk server this switch can be set once everybody had
some time to update their clients.
Once 1.3.12 is no longer allowed on the server this can also be set on
the 1.3 server. Once it's no longer allowed there the server will be
modified to only send gzipped data and the switch removed.
(The campaign server won't be modified at this moment.)
NOTE *campaign server and server need to be included
serialization/binary_or_text.cpp*