OpenRCT2/src/openrct2-ui/windows
Adam f09b14ef2b
Split actions hpp files into separate h and cpp files (#13548)
* Split up SmallSceneryPlace/Remove

Added undo function for Remove Scenery

* Refactor: Balloon and Banner actions hpp=>h/cpp

* Refactor: rename all action *.hpp files to *.cpp

This is preparation for separation in later commits. Note that without
the complete set of commits in this branch, the code will not build.

* Refactor Clear, Climate, Custom, and Footpath actions hpp=>h/cpp

* VSCode: add src subdirectories to includePath

* Refactor Guest actions hpp=>h/cpp

* Refactor Land actions hpp=>h/cpp

* Refactor LargeScenery actions hpp=>h/cpp

* Refactor Load, Maze, Network actions hpp=>h/cpp

* Refactor Park actions hpp=>h/cpp

* Refactor/style: move private function declarations in actions *.h

Previous action .h files included private function declarations with
private member variables, before public function declarations. This
commit re-orders the header files to the following order:
- public member variables
- private member variables
- public functions
- private functions

* Refactor Pause action hpp=>h/cpp

* Refactor Peep, Place, Player actions hpp=>h/cpp

* Refactor Ride actions hpp=>h/cpp

* Refactor Scenario, Set*, Sign* actions hpp=>h/cpp

* Refactor SmallScenerySetColourAction hpp=>h/cpp

* Refactor Staff actions hpp=>h/cpp

* Refactor Surface, Tile, Track* actions hpp=>h/cpp

* Refactor Wall and Water actions hpp=>h/cpp

* Fix various includes and other compile errors

Update includes for tests.
Move static function declarations to .h files
Add explicit includes to various files that were previously implicit
(the required header was a nested include in an action hpp file, and the
action .h file does not include that header)
Move RideSetStatus string enum to the cpp file to avoid unused imports

* Xcode: modify project file for actions refactor

* Cleanup whitespace and end-of-file newlines

Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2020-12-10 06:39:10 +00:00
..
About.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
Banner.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
Changelog.cpp Refactor format tokens 2020-11-27 18:54:57 +00:00
Cheats.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
ClearScenery.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
CustomCurrency.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
DebugPaint.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
DemolishRidePrompt.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
Dropdown.cpp Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
EditorBottomToolbar.cpp Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
EditorInventionsList.cpp Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
EditorMain.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
EditorObjectSelection.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
EditorObjectiveOptions.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
EditorScenarioOptions.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
Error.cpp Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
Finances.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
Footpath.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
GameBottomToolbar.cpp Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
Guest.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
GuestList.cpp Close #12387: Refactored PeepThoughtType to use strong enum. (#13541) 2020-12-07 19:48:36 +00:00
InstallTrack.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
Land.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
LandRights.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
LoadSave.cpp Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
Main.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
Map.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
MapGen.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
MapTooltip.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
MazeConstruction.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
Multiplayer.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
MusicCredits.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
Network.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
NetworkStatus.cpp Remove more instances of format codes 2020-11-27 18:54:56 +00:00
NewCampaign.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
NewRide.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
News.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
NewsOptions.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
ObjectLoadError.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
Options.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
Park.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
Player.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
Research.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
Ride.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
RideConstruction.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
RideList.cpp Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
SavePrompt.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
ScenarioSelect.cpp Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
Scenery.cpp Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
SceneryScatter.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
ServerList.cpp Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
ServerStart.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
ShortcutKeyChange.cpp Refactor UI/Interface Window to Title Case (#13367) 2020-11-04 04:52:23 +00:00
ShortcutKeys.cpp Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
Sign.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
Staff.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
StaffFirePrompt.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
StaffList.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
TextInput.cpp Do not format characters in text input 2020-11-27 18:54:57 +00:00
Themes.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
TileInspector.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
TitleCommandEditor.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
TitleEditor.cpp Apply code review comments 2020-11-27 18:54:57 +00:00
TitleExit.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
TitleLogo.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
TitleMenu.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
TitleOptions.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
Tooltip.cpp Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
TopToolbar.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
TrackDesignManage.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
TrackDesignPlace.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
TrackList.cpp Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
ViewClipping.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
Viewport.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
Water.cpp Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00
Window.h Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453) 2020-11-27 00:14:20 -03:00