mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 17:08:53 +00:00

...with fast switching between them. Can be disabled in the editor settings. Also changed: * the display class now holds a pointer to the map instead of a reference, a pointer can be changed which permits the entire MDI behavior. Related bits were also changed in terrain_builder. * mouse_handler_base no longer holds a reference to the map * the map labels class does not hold a gamemap reference, as it can use the display object to access the map. Also clearing all labels was exposed as a public member function. * used scoped_ptrs and forward declarations to avoid having to include map_label.hpp and terrain_builder.hpp in display.hpp, this reduces build dependencies quite a bit. * made get_action_state use the menu index to allow a dynamic menu to have checkboxes. This entire chunk of code needs a rewrite.