Commit Graph

22 Commits

Author SHA1 Message Date
Aaron van Geffen a3eea76fa0 Update cppStandard in .vscode properties 2024-02-28 21:57:38 +01:00
Michael Steenbeek 2b859c7099
Remove __ENABLE_LIGHTFX__ define
It is already enabled for all our builds, and upcoming changes to RTD would add a slew more.
Discussed in team chat with Duncan and Hielke.
2022-07-28 21:34:02 +00:00
Ted John 73ac7954f1 Add flac support 2022-06-06 23:41:14 +01:00
Ted John c455fe84e6 Update vscode C++ properties 2021-12-04 04:09:44 +00:00
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
Ted John 5e427413a6 Refactor list view so we can access it from ScWidget 2020-05-09 17:24:15 +01:00
Ted John 2f525e0539 Apply more code review comments 2020-04-26 14:35:07 +01:00
Ted John e6341f0a42 Get scripting compiling on clang 2020-04-26 14:35:03 +01:00
hdpoliveira dc72dc1f6f
Fix .vscode/c_cpp_properties.json paths for Windows (#11346) 2020-04-19 15:58:41 -03:00
Ted John aaebb109e1 Update vscode config [ci skip] 2019-05-04 14:04:20 +00:00
Ted John 7dc170ef85 Use shared_ptr for long-life objects
Use unique_ptr and shared_ptr for IContext, IPlatformEnvironment, IUiContext, and IAudioContext.
2018-05-11 20:37:48 +01:00
Ted John 136ec256aa [ci skip] Update vscode cpp properties 2018-05-11 18:34:06 +01:00
Ted John 8fbe6e63d8 Add gtest include directory [ci skip]
...to vscode cpp properties
2018-04-10 12:25:56 +01:00
Ted John bb423194c1 Update vscode cpp properties 2018-04-08 13:02:39 +01:00
Duncan 0ab3d0955c
Merge pull request #7310 from OpenRCT2/json-objects
Add support for new JSON object format
2018-04-08 10:45:55 +01:00
Ted John 06da0b2fb5 Update vscode cpp properties [ci skip] 2018-04-05 21:24:52 +01:00
Ted John 025827809e Add more include paths to .vscode config [ci skip] 2018-03-28 13:10:40 +01:00
Ted John 21d9ea53db Add .vscode cpp config [ci skip] 2018-03-28 12:30:32 +01:00
Ted John 1d12fc7963 Update launch.json 2018-03-26 21:37:23 +02:00
Ted John 72eb22df2e Fix vscode debugger attach configuration 2017-07-01 12:24:04 +01:00
Ted John 1eb5ed0c93 Update vscode debug configuration 2017-05-29 22:38:46 +02:00
Ted John f3303b91a9 Add vscode launch configuration
[ci skip]
2016-12-12 20:29:44 +00:00