Tulio Leao
67b8b09244
Move RatingTuple into namespace
2025-08-17 06:27:07 -03:00
Tulio Leao
ad375907b1
Move RideRatingsUpdateRide into namespace
2025-08-17 06:18:15 -03:00
Michael Steenbeek
05b64985f4
Update Ride struct to new codestyle
2025-03-09 00:26:25 +01:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Aaron van Geffen
35e117aca2
Rename String methods to use lowerCamelCase
2024-12-11 22:49:37 +01:00
Aaron van Geffen
4f32028e01
Move RideManager struct into its own compilation unit ( #23379 )
...
* Move RideManager struct into its own compilation unit
* Move RidesEndOfUsedRange into GameState_t
* Let RideManager keep a GameState_t& internally
2024-12-11 15:54:45 +01:00
Gymnasiast
6de1ac1ec7
Remove EnumName from RTD
...
Only used by tests, update to use `Name` (same what’s already used in the JSON files).
2024-11-24 12:58:03 +01:00
Gymnasiast
56accb3790
Use RatingTuple across the codebase
2024-07-04 00:29:40 +02:00
James103
1d8dc111f1
Replace 2023 with 2024 in copyright headers ( #21139 )
...
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
ζeh Matt
ac583569da
Remove Platform::CoreInit
2023-06-27 23:35:11 +03:00
ζeh Matt
e4ac1f9e3c
Add EverythingPark ride ratings to the tests
2023-06-09 17:30:07 +03:00
ζeh Matt
c6c29dbf64
Add BigTestMap to ride rating tests
2023-04-26 17:48:38 +03:00
Stephan Spengler
76b918e7ed
Change openrct2/ride methods to UpperCamelCase, part 1
2023-01-17 01:32:54 +01:00
James103
73738bbdc8
Replace 2022 with 2023 in copyright headers
...
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
Gymnasiast
830fedb6b8
Replace load_from_sv6() and load_from_sc6()
2022-10-08 20:12:35 +02:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00
Hielke Morsink
6ba0a3bd49
Use u8 strings when dealing with file paths
2022-03-01 22:12:39 +01:00
Michael Steenbeek
5edc561715
Close #11437 : Migrate old platform methods
2022-02-18 21:57:00 +01:00
Gymnasiast
d63e3b1d9f
Replace RideTypeDescriptors[ride->type] with GetRideTypeDescriptor()
2021-02-24 14:10:30 +01:00
Gymnasiast
c83ddefe47
Convert remaining C-style casts to C++-style ones
2020-09-10 21:36:20 +02:00
frutiemax
57b50e46df
Part of #11964 : Move RideTypeEnumNames to RideTypeDescriptors
2020-06-19 23:03:24 +02:00
frutiemax
f6eb9f1cc5
Merge RideRatings in RideTypeDescriptor structure ( #11975 )
2020-06-17 22:22:52 +02:00
Ted John
414b53b56d
Remove ride classifications
2019-08-04 16:43:50 +01:00
Ted John
a3fe00f0a3
Refactor ride list to a manager with iterator
2019-08-04 16:43:50 +01:00
clang-format
7eafeaa971
Apply clang-format changes to tests
2018-07-23 16:00:23 +02:00
clang-format
42fa1b0f63
clang-format tests
2018-07-23 15:58:01 +02:00
Hielke Morsink
0cf256ac9e
Ready copyright notice for clang-format
...
Clang-format sees the text behind `#pragma region` as code and formats it. Instead of stating the copyright and date there, it's now in the comment block right below it. The text "Copyright" is left in the `#pragma region` line, as clang-format sees it as a single identifier.
I took the opportunity to normalize the dates, and add the copyright notice to the source files where it was missing them (except for third-party and the generated resources.h file).
2018-06-15 14:07:34 +02: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
fe3c136083
Set no graphics for integration tests
2018-04-10 13:19:48 +01:00
Michał Janiszewski
764520076f
Reduce header inclusion
...
* Update includes in PlatformEnvironment.cpp
* Update includes in ParkImporter.h
* Update includes of OpenRCT2.h
* Update includes in Intro.h
* Remove unused include from Input.cpp
* Update includes of Imaging.h
* Update includes in Game.h
* Update includes in Editor.h
* Update includes of Context.cpp
* Update includes in Cheats.cpp, CmdlineSprite.cpp
* Update includes of some source files
* Update includes in some cpp files
* Update includes in some cpp files
* Update includes in TextureCache.h
* Fix tests
* Update includes in Font.cpp
* Update includes in LightFX files
* Update some includes
* Fix GCC builds
* Update some includes
* Update some includes
* Update includes in FontsFamilies.*
* Update includes of Console.h
* Improve includes in Window.h
* Improve headers in Viewport.h/Window.h
* Fix MSVC build
* Fix network-less builds
* Reduce inclusion of Map.h
2018-03-13 13:14:02 +01:00
Michael Steenbeek
60d8865efb
Compile game.c and game.h as C++
2017-12-05 09:10:27 +01:00
Michał Janiszewski
5ab9f938a7
Update files missed in the great extern "C" cleanup of 2017
2017-09-28 23:29:16 +02:00
Gymnasiast
3891b9874d
Fix testpaint
2017-09-12 11:29:43 +02:00
Richard Jenkins
71e580a58f
Refactor game load functions, resolves #6011
2017-08-23 08:04:36 +02:00
Ted John
9a619b3e0a
Clean up branch
2017-06-05 17:38:14 +01:00
Ted John
0662f1630a
Fix ride ratings test to work with new Context flow
2017-06-04 00:48:45 +01:00
Ted John
e9898ba82f
Use new rating test data
2017-06-04 00:47:33 +01:00
Ted John
7ca1173bcb
Fix warning
2017-06-04 00:47:33 +01:00
Ted John
b28fde6ae7
Create test data helpers
2017-06-04 00:47:33 +01:00
Ted John
cf7f1b7335
Change location of test data
2017-06-04 00:47:33 +01:00
Ted John
d65d31f632
Fix test expectations and describe ride types
2017-06-04 00:47:33 +01:00
Ted John
443e17c8fc
Force rating update on each ride before testing
2017-06-04 00:47:33 +01:00
Ted John
c5306d72f7
Add ride ratings test
2017-06-04 00:47:33 +01:00