mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-16 22:36:10 +00:00
![]() - Ensure current_gui is a valid iterator after calling init(). It should match default_gui - Ensure current_gui is always set to guis.end() if the requested theme isn't found in switch_theme(). It's initialized as such in gui_definition.cpp, but we shouldn't rely on that always being the case, especially in a function that changes it. - Only create one schema validator for all themes. Previously, it would have been created anew for each addon with a custom theme. - Add explicit exception handling for an invalid schema path or invalid gui2 entry point - Add explicit warning for addon themes with the id "default" - Catch `wml_exception` when creating gui_definition objects for all themes (previously, this was only caught for add-on themes) - Adjust error messages - Fix duplicate theme errors when reloading cache (addresses one part of #9781). GUI2 definition changes now take effect without the need to restart the entire game. A cache reload is sufficient. - Use `_main.cfg` for core theme entry points - Include macros at global core GUI2 score instead of only in the default theme (they were always available to both themes, this just makes that clearer) |
||
---|---|---|
.. | ||
ai | ||
campaigns | ||
core | ||
gui | ||
hardwired | ||
internal | ||
languages | ||
lua | ||
modifications/pick_advance | ||
multiplayer | ||
schema | ||
test | ||
themes | ||
tools | ||
_main.cfg | ||
achievements.cfg | ||
advanced_preferences.cfg | ||
COPYING.txt | ||
cores.cfg | ||
english.cfg | ||
game_config.cfg | ||
lan_server.cfg | ||
modifications.cfg | ||
tips.cfg |