
This mostly has to do with moving various components into more logical locations instead of all mushed together in gui/widgets/settings.*pp. To that end, the following changes have been made: * The gui2::init function has been moved to its own file in the gui/ toplevel. * load_settings() has been merged into init(). * All functions and code relating to gui theme definitions have been moved to their own file. * All code relating to widgets or window static init have been moved to their own file. * window::update_screen_size has been moved out of the window class and into settings.cpp. * The unimplemented free-stadnding version of load_widget_definitions has been removed. * gui_definition::read and gui_defintion::load have been merged into the gui_definition ctor and greatly simplified. * Some functions relating to builder_widgets have been renamed for clarity. * add/remove_single_widget_defintion now access the current gui theme instead of the default. This looks like it was a mistake made in the original code. * Since the static registry is now externally linked, the unit tests accessor for window types has been removed. * Documentation has been updated. The wikidoc comment for gui_definition has been removed. It was rather out-of-date and needed to be reworked anyway. * widget_builder_func_t's signature is now to take a config reference and not a copy, though REGISRER_WIDGET had already passed register_builder_widget a lambda that took a reference. * Various other misc cleanups and improvements.
About
The Battle for Wesnoth is an Open Source, turn-based tactical strategy game with a high fantasy theme, featuring both singleplayer and online/hotseat multiplayer combat. Fight a desperate battle to reclaim the throne of Wesnoth, or take hand in any number of other adventures.
License
Please see the wiki for information regarding The Battle for Wesnoth's licensing:
https://wiki.wesnoth.org/Wesnoth:Copyrights
Installing
See INSTALL for instructions on how to build the game from source code.
More Information
For extensive documentation about all aspects of the game, see the official Battle for Wesnoth web site.
A (translated) description of how to play the game can be found in doc/manual/manual.*.html, or online at:
https://wiki.wesnoth.org/WesnothManual
The official Battle for Wesnoth Forums (with over 400,000 posts from more than 20,000 registered members) can be found at: