...when a saved game contains a null campaign field or the relevant
campaign cannot be located.
Output a campaign's internal id from saved game when debug mode is enabled
- get rid of redundant functionality
- make the unit_type_data interface more easily accessible
- reduce the public interface of unit_type_data
- rename unit_type_factory to unit_type_map_wrapper
- add a whole lot of "const"
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.
This will cause unit names to be displayed incorrectly from savefiles made
since 2008-03-14T01:38:17Z!esr@thyrsus.com. It was either that or break compatibility with 1.3/1.4
savefiles.
[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)
1) the close button in the preferences is now not overlayed anymore
2) when using --enable-smallgui, the 'ok', 'cancel' and 'delete save'
buttons are now in one row in the load game dialog to prevent the
'delete save' button from being coverd by the other two
(fixes bug #10689);
don't automatically save a replay for every game an observer visits if
the option 'Save Replay on SP/MP Victory ..' is enabled (fixes bug
#10690); matching only for the scenario name at the beginning of a
save file could lead to the removal of manually saved files from
unrelated games, changed the option 'Delete Saves on SP/MP Victory ..'
to remove only Auto-Saves to avoid this
Now unit_help=true hides if in all the help, but works with "unit
description" context-menu action and little "profile" button from
recruit/recall.
The hyperlinks in different pages are also hidden and the advancement
links send to the "unknown unit" page (like unencountered
units). Still the problem of visible race section, ability and weapon
special if only this unit have it.
I will check how to hide at least race (maybe others too but less important).
+ done some other cleaning in help code, but others need to be done.
No regression expected. if anything changes, please tell me.
Note that:
* Fire and forget doesn't work yet, don't try using it
* I will probably change how mvt anims work as discussed in IRC, but
that's for a future commit