OpenRCT2/test/tests
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
..
helpers Allow tests to work with CRLF test data 2020-02-02 15:47:50 +00:00
testdata Add test for #12728: map edge footpath connections in scenario editor (#12736) 2020-08-20 20:32:23 +02:00
AssertHelpers.hpp clang-format tests 2018-07-23 15:58:01 +02:00
CMakeLists.txt Fix GCC compiler errors 2020-11-27 18:54:57 +00:00
CircularBuffer.cpp Update copyright. 2019-02-07 18:50:58 +01:00
CryptTests.cpp Allow tests to work with CRLF test data 2020-02-02 15:47:50 +00:00
Endianness.cpp Allow SwapBE to swap non-uint types 2019-09-01 18:40:11 +01:00
FormattingTests.cpp Improve handling of braces 2020-11-27 18:54:57 +00:00
ImageImporterTests.cpp Convert remaining C-style casts to C++-style ones 2020-09-10 21:36:20 +02:00
IniReaderTest.cpp Always return unique_ptr for the IniReader/IniWriter interface 2020-09-16 20:23:39 +03:00
IniWriterTest.cpp Always return unique_ptr for the IniReader/IniWriter interface 2020-09-16 20:23:39 +03:00
LanguagePackTest.cpp Split declarations and definitions to improve compile times when editing (#13332) 2020-11-07 12:42:04 +00:00
Localisation.cpp clang-format tests 2018-07-23 15:58:01 +02:00
MultiLaunch.cpp Remove ride classifications 2019-08-04 16:43:50 +01:00
Pathfinding.cpp Split declarations and definitions to improve compile times when editing (#13332) 2020-11-07 12:42:04 +00:00
Platform.cpp Implement replace_if condition lambda 2019-05-11 13:54:16 +01:00
PlayTests.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
ReplayTests.cpp Remove all replay tests from 32bit builds 2020-04-12 11:18:23 +01:00
RideRatings.cpp Convert remaining C-style casts to C++-style ones 2020-09-10 21:36:20 +02:00
S6ImportExportTests.cpp Peep::ItemFlags merging (#13511) 2020-12-09 09:21:23 +00:00
StringTest.cpp Add test for codepoint view 2020-11-27 18:54:57 +00:00
TestData.cpp clang-format tests 2018-07-23 15:58:01 +02:00
TestData.h clang-format tests 2018-07-23 15:58:01 +02:00
TileElements.cpp Add test for #12728: map edge footpath connections in scenario editor (#12736) 2020-08-20 20:32:23 +02:00
sawyercoding_test.cpp Move IStream, MemoryStream, FileStream into OpenRCT2 namespace 2020-08-05 16:29:36 +02:00
tests.cpp Apply clang-format changes to tests 2018-07-23 16:00:23 +02:00
tests.vcxproj Create new templated format string 2020-11-27 18:54:55 +00:00