* Use widget visibility instead of empty widget type
* Add widget visibility helper functions
* Remove ::empty type from Banner window
* Remove ::empty type from EditorBottomToolbar window
* Remove ::empty type from ToolbarTop window
* Remove ::empty type from EditorInventionsList window
* Remove ::empty type from EditorObjectSelection window
* Remove ::empty type from EditorScenarioOptions window
* Remove ::empty type from Finances window
* Remove ::empty type from Footpath window
* Remove ::empty type from TrackList window
* Remove ::empty type from TitleMenu window
* Remove ::empty type from ProgressWindow window
* Remove ::empty type from MapGen window
* Remove ::empty type from Map window
* Remove ::empty type from Sign window
* Remove ::empty type from LoadSave window
* Remove ::empty type from GameBottomToolbar window
* Remove ::empty type from GuestList window
* Remove ::empty type from TileInspector window
* Remove ::empty type from Themes window
* Remove ::empty type from ScenarioSelect window
* Remove ::empty type from Staff window
* Remove ::empty type from StaffList window
* Remove ::empty type from Options window
* Remove ::empty type from Scenery window
* Remove ::empty type from RideList window
* Remove ::empty type from NewCampaign window
* Remove ::empty type from NewRide window
* Remove ::empty type from Research window
* Remove ::empty type from RideConstruction window
* Remove ::empty type from Multiplayer window
* Remove ::empty type from Park window
* Remove ::empty type from Ride window
* Remove ::empty type from LandRights window
The path and wall drag tools query each tile individually for affordability so all queries pass when the player can afford any single tile. But if the total exceeds available funds, execution fails midway with per tile error windows. To fix it this adds a total cost check against available funds after the query phase, showing a single combined error with the full cost before execution actually starts
* Allow flag/bitmask coexistence in readers
* Add factory helpers and bulk setters for per-widget flags
* Switch coexistence from OR-both to per-window opt-in
* Migrate seven small windows to per-widget flags
* Migrate seven more windows to per-widget flags
* Migrate Cheats, MapGen and Footpath to per-widget flags
* Fix#26421: scenery tab highlight wraps when there are 64+ groups
* Migrate Ride window to per-widget flags
* Migrate ride and maze construction windows to per-widget flags
* Migrate six more windows to per-widget flags
* Migrate Banner, EditorScenarioOptions and RideList to per-widget flags
* Migrate SceneryScatter and LoadSave to per-widget flags
* Migrate EditorObjectSelection, GameBottomToolbar, Guest, Map, NewRide and Park to per-widget flags
* Migrate TopToolbar, TrackList, Research, Player and Options to per-widget flags
* Opt in remaining windows to per-widget flags
* Narrow getters and setters to per-widget flags
* Remove bitmask fields and useWidgetFlags switch
* Restore switch statements for tab/density pressed state
* Add makeHoldableSpinnerWidgets to drop per-page loops
* Update tests for per-widget flag storage
* Add changelog entry for #26421
* Reword narrative-tense comments from the migration
* Fix clang-format violations
* Remove dead holdable-widget tables from Park and Finances
Query all tiles before execution to calculate total cost and detect errors upfront. It now shows a single combined error with the accumulated total cost for insufficient funds instead of per tile errors
Disable error window sound during the placement loop and play the error sound once at the end if all tiles failed. This prevents the sound from stacking when multiple tiles fail simultaneously.
* Move Csg unit into OpenRCT2 namespace
* Move G1Element into its own header file
* Clean up SpriteCommands.h
* Add trailing namespace comment to Csg.cpp
* Remove Drawing.h dependency from Graph.h
* Add <memory> include to G1Element.h
* Remove Drawing.h include from ImageTable.h (used by all objects!)
* Drop Drawing.h dependency from OpenGLFramebuffer.h
* Drop Drawing.h dependency from TextureCache.h
* Drop Drawing.h include from TitleScene.h
* Drop Drawing.h dependency from Widget.h
* Add <optional> include to SpriteFile.h
* Add Drawing.h to PlayTests, S6ImportExportTests
* Include <cstdint> in TitleScene.h for SIZE_MAX