Gymnasiast
11bf58dceb
Refactor CLEARABLE_ITEMS into enum class+FlagHolder
2026-08-08 18:28:21 +02:00
Michael Steenbeek
8839956721
Merge pull request #26886 from Harry-Hopkinson/remove-more-includes
...
Remove final includes in src/openrct2
2026-08-08 11:27:29 +02:00
Darkroman
d7d8915065
Fixed bug where ride.previousVerticalG was reset to 0 instead of 100 ( #26879 )
...
Fixed a bug where ride.previousVerticalG was erroneously reset to 0 in test_reset function in Vehicle.cpp instead of 100. I verified by finding the variable which would be ride.previousVerticalG in the original RCT2 assembly as the offset [edi+13629FA]. It is reset to the value 0x64 at address 0x006D6C9B within what would be the test_reset function first located at 0x006D6BE7. To verify it was previousVerticalG I made a test coaster that had a max negative G readout of 0.57g. I put a conditional breakpoint on it first as less than 0x39 (< 57) as a boundary test. When running my test coaster the breakpoint didn't hit. I deleted a turn track and rebuilt it, and then I changed the breakpoint condition to < 0x3A (< 58). I ran another test on the coaster, and sure enough the breakpoint was hit when the coaster went down the 2nd hill.
2026-08-08 10:58:58 +02:00
Harry Hopkinson
8cd44cc686
Remove openrct2/world includes
2026-08-08 00:04:30 +01:00
Harry Hopkinson
3c375c60ba
Remove openrct2/windows includes
2026-08-07 23:54:34 +01:00
Harry Hopkinson
6c5c2079ce
Remove openrct2/scripting includes
2026-08-07 23:54:10 +01:00
Harry Hopkinson
f967ebc2d2
Remove openrct2/scenes includes
2026-08-07 23:54:08 +01:00
Harry Hopkinson
f4ddda3f69
Remove openrct2/scenario includes
2026-08-07 23:50:56 +01:00
Harry Hopkinson
f91e2d680b
Remove openrct2/sawyer_coding includes
2026-08-07 23:50:56 +01:00
Michael Steenbeek
42885ec965
Update GitHub checkout action to v7 ( #26885 )
2026-08-07 20:51:06 +00:00
RayKoopa
5a814722e1
Add Walls-only and Footpath Addition modes to Clear Scenery ( #26877 )
...
* Add two new modes for Clear Scenery.
- Split "Walls" from "Small Scenery" into own mode
- Add "Footpath Additions" mode
2026-08-07 20:49:40 +00:00
Michael Steenbeek
263cb53047
Merge pull request #26884 from Gymnasiast/more-enum-refactor
...
Refactor some plain enums to enum class
2026-08-07 21:43:18 +02:00
Gymnasiast
c2c126da9c
Refactor BTM_TOOLBAR_DIRTY_FLAGS into enum class+FlagHolder
2026-08-07 21:37:03 +02:00
Gymnasiast
94a889e4c9
Refactor SCROLL_FLAGS into enum class+FlagHolder
2026-08-07 21:37:03 +02:00
Gymnasiast
ac8b290671
Refactor WALL_SCENERY_FLAGS into enum class+FlagHolder
2026-08-07 20:27:12 +02:00
Gymnasiast
536973e9e6
Add GetFlagHolder() overload for normal/inverted flag
2026-08-07 20:27:12 +02:00
Gymnasiast
9c59a4c5e8
Fix notation of two numbers
2026-08-07 20:27:12 +02:00
Aaron van Geffen
15b36d6ced
Introduce dedicated header for window-related enum types ( #26883 )
2026-08-07 19:53:17 +02:00
Aaron van Geffen
4087c9c6b9
Rework script binding includes ( #26882 )
...
* Rework entity binding includes
* Rework network binding includes
* Rework object binding includes
* Rework ride binding includes
* Rework world binding includes
2026-08-07 18:11:06 +02:00
Aaron van Geffen
51649e5873
Rework Ride and Vehicle headers into OpenRCT2 namespace ( #26881 )
...
* Move vehicle flags to their own header
* Move Ride, RideConstruction, RideRatings, Vehicle into OpenRCT2 namespace
* Rename to SpecialDropdownElement as suggested
2026-08-07 16:22:36 +02:00
Michael Steenbeek
53a81b1b45
Merge pull request #26874 from Harry-Hopkinson/remove-even-more-includes
...
Remove/reorder even more includes
2026-08-07 07:32:46 +02:00
Harry Hopkinson
6323d95edc
Remove openrct2/ride includes
2026-08-07 07:13:38 +02:00
Harry Hopkinson
5c0caf461a
Remove openrct2/rct1, openrct2/rct2 and openrct2/rct12 includes
2026-08-07 07:12:31 +02:00
Harry Hopkinson
7f8fc39ff5
Remove openrct2/platform includes
2026-08-07 07:12:31 +02:00
Harry Hopkinson
b3ef890f38
Remove openrct2/peep includes
2026-08-07 07:12:31 +02:00
Harry Hopkinson
7f39bdebf5
Remove openrct2/park includes
2026-08-07 07:12:30 +02:00
Michael Steenbeek
205497a480
Merge pull request #26876 from Gymnasiast/refactor/remaining-enum-class-members
...
Fix code style for remaining enum class members
2026-08-07 07:10:20 +02:00
Gymnasiast
228c4bfb34
Rename CursorNames to kCursorNames
2026-08-07 06:57:39 +02:00
Gymnasiast
a5892a2d17
Enforce enum class member code style via Clang-Tidy
2026-08-07 06:57:39 +02:00
Gymnasiast
38bce48524
Rename members of ScatterToolDensity
2026-08-07 06:57:38 +02:00
Gymnasiast
25fc422c44
Rename members of IntroState
2026-08-07 06:57:38 +02:00
Gymnasiast
78fb8d73bb
Rename members of ScenarioSource
2026-08-07 06:57:38 +02:00
Gymnasiast
b5a92d9296
Rename members of BoatHireSubState
2026-08-07 06:57:38 +02:00
Gymnasiast
ae5dc4422a
Rename members of MiniGolfAnimation
2026-08-07 06:57:38 +02:00
Gymnasiast
b229ff8f60
Rename members of MiniGolfState
2026-08-07 06:57:38 +02:00
Gymnasiast
9c830feef5
Rename members of TrackDesignGameStateFlag
2026-08-07 06:57:38 +02:00
Gymnasiast
0d8af50f45
Rename members of GameCommand
2026-08-07 06:57:38 +02:00
Gymnasiast
991fc7b4a1
Rename members of RideConstructionWindowContext
2026-08-07 06:57:37 +02:00
Gymnasiast
28ad2fcaa2
Rename members of RatingsModifierType
2026-08-07 06:57:37 +02:00
Gymnasiast
7f879409ac
Rename members of RatingsCalculationType
2026-08-07 06:57:37 +02:00
Gymnasiast
bd4a9eb0ef
Rename members of TrackDesignCreateMode
2026-08-07 06:57:37 +02:00
Gymnasiast
f256f03fff
Rename members of RideColourKey
2026-08-07 06:57:37 +02:00
Gymnasiast
780a135087
Rename members of RideComponentType
2026-08-07 06:57:37 +02:00
Gymnasiast
5ba0b8028c
Rename members of PathSearchResult
2026-08-07 06:57:37 +02:00
Gymnasiast
4502be0fb2
Rename members of Plane
2026-08-07 06:57:37 +02:00
Gymnasiast
41164a7453
Rename members of JuniorRCSubType
2026-08-07 06:57:37 +02:00
Gymnasiast
76e75e687f
Rename members of TunnelType
2026-08-07 06:57:37 +02:00
Gymnasiast
9bd1e0c858
Rename members of ObjectGeneration
2026-08-07 06:57:36 +02:00
Gymnasiast
53f5a41a74
Rename members of MusicNiceFactor
2026-08-07 06:57:36 +02:00
Gymnasiast
a6175f8930
Rename members of JumpingFountainType
2026-08-07 06:57:36 +02:00