OpenRCT2/src/openrct2/ride
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
..
coaster Close #12395: Refactor PeepItem to use strong enum (#13311) 2020-12-03 21:15:59 -03:00
gentle Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
shops Close #12395: Refactor PeepItem to use strong enum (#13311) 2020-12-03 21:15:59 -03:00
thrill Close #12395: Refactor PeepItem to use strong enum (#13311) 2020-12-03 21:15:59 -03:00
transport Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273) 2020-12-05 15:13:59 -03:00
water Close #12395: Refactor PeepItem to use strong enum (#13311) 2020-12-03 21:15:59 -03:00
CableLift.cpp Merge pull request #13310 from ju-pinheiro/sprite-identifier-strong-enum 2020-11-06 16:55:01 +01:00
CableLift.h Update copyright year to 2020 2020-07-21 15:04:34 +02:00
MusicList.cpp Minor cleanup 2020-10-07 01:10:53 +03:00
MusicList.h Move the audio code into OpenRCT2 namespace 2020-10-07 00:34:42 +03:00
Ride.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
Ride.h Close #12395: Refactor PeepItem to use strong enum (#13311) 2020-12-03 21:15:59 -03:00
RideData.cpp Add converter from RideCategory to ResearchCategory 2020-11-07 11:14:55 -03:00
RideData.h Close #12395: Refactor PeepItem to use strong enum (#13311) 2020-12-03 21:15:59 -03:00
RideRatings.cpp Fix #13250: Crash when opening parks with new ride types (#13256) 2020-11-01 14:49:43 +01:00
RideRatings.h Add "Hybrid Coaster" ride type (#12110) 2020-10-10 20:27:12 +01:00
RideTypes.h Update copyright year to 2020 2020-07-21 15:04:34 +02:00
ShopItem.cpp Merge LitterType into the shop item descriptor (#13513) 2020-12-09 06:55:06 +00:00
ShopItem.h Merge LitterType into the shop item descriptor (#13513) 2020-12-09 06:55:06 +00:00
Station.cpp Close #12437, refactor: RIDE_MODE_* to strong enums (#12833) 2020-09-28 14:09:59 +01:00
Station.h Update copyright year to 2020 2020-07-21 15:04:34 +02:00
Track.cpp Rename TRACK_ELEM_* enums to TrackElemType::* 2020-10-01 19:57:52 +01:00
Track.h Fix incorrect const names of long base pieces 2020-10-01 19:57:52 +01:00
TrackData.cpp Introduce constant for max sequences (#13405) 2020-11-10 21:24:02 -03:00
TrackData.h Introduce constant for max sequences (#13405) 2020-11-10 21:24:02 -03:00
TrackDesign.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
TrackDesign.h Close #12437, refactor: RIDE_MODE_* to strong enums (#12833) 2020-09-28 14:09:59 +01:00
TrackDesignRepository.cpp Simplify Serialise for FileIndex 2020-12-07 07:52:12 +00:00
TrackDesignRepository.h Fix #6086: Cannot install existing track design with another name (#13082) 2020-10-06 08:27:38 -03:00
TrackDesignSave.cpp refactor: ObjectType to use strong enum 2020-11-11 16:07:01 +01:00
TrackPaint.cpp Name 98196C 2020-11-07 14:15:25 +00:00
TrackPaint.h Add "Hybrid Coaster" ride type (#12110) 2020-10-10 20:27:12 +01:00
Vehicle.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
Vehicle.h Refactor goto loc_6D7A97 (#13298) 2020-11-16 08:14:53 -03:00
VehicleData.cpp Update copyright year to 2020 2020-07-21 15:04:34 +02:00
VehicleData.h Update copyright year to 2020 2020-07-21 15:04:34 +02:00
VehiclePaint.cpp Rename main paint add image functions 2020-11-07 14:15:24 +00:00
VehiclePaint.h Update copyright year to 2020 2020-07-21 15:04:34 +02:00
VehicleSubpositionData.cpp Rename TRACK_ELEM_* enums to TrackElemType::* 2020-10-01 19:57:52 +01:00
VehicleSubpositionData.h Extract vehicle subposition data to its own file (#10912) 2020-03-15 11:27:45 +01:00