1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 07:14:31 +01:00
Commit Graph

1678 Commits

Author SHA1 Message Date
Gymnasiast
c2c834df15 Create struct for footpath slope 2025-10-12 22:46:59 +02:00
Michael Steenbeek
4fe983bac4 MapRange: do not inherit from RectRange 2025-10-08 20:38:44 -03:00
Gymnasiast
daa4fe8ac3 Rename field of all config categories 2025-10-07 20:21:32 +02:00
Gymnasiast
524646e32a Rename members of ShopItem 2025-10-05 15:06:24 +02:00
Gymnasiast
18a25688e3 Rename members of StaffType 2025-10-05 14:47:16 +02:00
Gymnasiast
d97512f498 Rename members of PeepAnimationGroup 2025-10-05 14:46:12 +02:00
Gymnasiast
f1d74507a0 Rename members of PeepAnimationType 2025-10-05 14:46:12 +02:00
Gymnasiast
0cb04754fb Rename members of PeepActionType 2025-10-05 14:46:12 +02:00
Gymnasiast
082c777d34 Rename members of PeepRideSubState 2025-10-05 14:46:12 +02:00
Gymnasiast
159dc7aab0 Rename members of PeepState 2025-10-05 14:46:12 +02:00
Gymnasiast
be23fbc98c Rename fields of SpriteBounds 2025-10-05 01:20:49 +02:00
Gymnasiast
ee67a827c0 Rename members of AnimationPeepType 2025-10-05 01:10:06 +02:00
Gymnasiast
45912ec9a3 Rename members of SoundId 2025-10-01 20:35:34 +02:00
Gymnasiast
4158ddfe11 Change CheatType to lowerCamelCase 2025-10-01 20:34:54 +02:00
Michael Steenbeek
744c1fd5a3 Fix #25207: No switch to block sectioned mode after building one on the LIM LRC 2025-09-23 17:34:38 +02:00
Gymnasiast
a662c5ef8e Change WindowClass members to use lowerCamelCase 2025-09-17 23:18:52 +02:00
Gymnasiast
d4a0bca091 Rename Window fields 2025-09-17 20:10:12 +02:00
Aaron van Geffen
60c88f7b3c Park: distinguish between CalculateParkSize and Park::UpdateSize 2025-09-12 15:57:34 +02:00
Aaron van Geffen
531cb68727 RideManager: use explicit game state rather than using implicit global 2025-09-11 13:42:18 +02:00
Aaron van Geffen
37e143565b Park: pass ParkData& and GameState_t& refs down 2025-09-11 13:41:58 +02:00
Gymnasiast
a3d4db9287 Pass entrance path type to game action
Fixes a desync when placing a park entrance in multiplayer
2025-09-14 17:09:26 +02:00
ζeh Matt
ce3da4012e Remove redundant cast 2025-09-12 14:57:50 +03:00
Gymnasiast
9db3d609d2 Turn MapSelectType into enum class 2025-09-11 22:06:10 +02:00
mix
845a0c597c Change land tool to account for sloped track and paths
This allows you to modify the land underneath sloped track and paths without the zero clearances cheat.

Closes #2296
Closes #2307

https://github.com/user-attachments/assets/8cb51199-a5b4-48e4-9cc3-34fd6ce7410e

It passes the slope in to the function that checks for construction clearances, and calculates whether it fits under the track or path.

In some very rare cases it is possible to build some track pieces in an arguably invalid way over 2 height sloped land, this does not let you raise the land in to that invalid position after the track piece has been built.
2025-09-09 20:29:06 +00:00
Aaron van Geffen
4446ff9f6f Pass game state ref as parameter to game actions (#25065) 2025-09-08 16:21:29 +02:00
Aaron van Geffen
5a4cc7d00d Remove Network function name prefixes given namespace qualifiers 2025-08-31 16:02:43 +02:00
Aaron van Geffen
d6e9f3d205 Replace duplicate MapIsLocationAtEdge function with MapIsEdge (#25107) 2025-09-06 21:45:49 +02:00
Aaron van Geffen
12ab9195b6 Rework EntityRegistry into class 2025-08-31 14:29:36 +02:00
Aaron van Geffen
5b8fedd5b2 Rework Map.h includes (remove transitive header includes) 2025-09-04 22:16:53 +02:00
Aaron van Geffen
013fcb3798 Split off MapSelection.h from Map.h 2025-09-04 21:57:36 +02:00
Aaron van Geffen
cd68270e7f Split off MapLimits.h from Map.h 2025-09-04 21:17:45 +02:00
Aaron van Geffen
abe58f6439 Move ClearAction, GameAction, ScenarioSetSettingAction into GameActions (#25045) 2025-08-29 06:32:05 -03:00
Aaron van Geffen
0e2f9fbc03 Move RideSetStatus, RideSetVehicle into GameActions namespace 2025-08-27 11:03:08 +02:00
Aaron van Geffen
45ad3ec683 Move RideEntranceExit{Place/Remove}/FreezeRating/SetAppearance/SetColourScheme 2025-08-27 10:55:37 +02:00
Aaron van Geffen
1bcee698a9 Move RideSetName/Price/Setting actions into GameActions namespace 2025-08-27 10:47:34 +02:00
Aaron van Geffen
50de94c5df Move RideCreateAction, RideDemolishAction into GameActions namespace 2025-08-26 22:39:51 +02:00
Aaron van Geffen
439afd9d5d Move Pause, PeepSpawn, Player, TileModify game actions to GameActions namespace 2025-08-26 21:39:29 +02:00
Aaron van Geffen
86a001875e Move Track game actions to GameActions namespace 2025-08-26 21:28:10 +02:00
Aaron van Geffen
afdee8852a Move LoadOrQuit, Map, Maze, Network game actions 2025-08-26 21:17:44 +02:00
Aaron van Geffen
a052437d12 Move Park game actions to GameActions namespace 2025-08-26 20:52:46 +02:00
Aaron van Geffen
620c1f40ef Move Staff game actions into GameActions namespace 2025-08-26 18:34:31 +02:00
Aaron van Geffen
1a37409390 Finish land and water game commands 2025-08-26 16:04:58 +02:00
Aaron van Geffen
238b397968 Move scenery game actions into GameActions namespace 2025-08-26 15:55:26 +02:00
Aaron van Geffen
1e059d18d0 Move Guest and Land game actions into GameActions namespace 2025-08-26 15:10:05 +02:00
Aaron van Geffen
bcb803df96 Move Footpath game actions into GameActions namespace 2025-08-26 14:48:16 +02:00
Aaron van Geffen
e8ef3897df Rework more game actions into GameActions namespace 2025-08-26 14:22:58 +02:00
Aaron van Geffen
134f4ac43e Start moving game actions into GameActions namespace 2025-08-25 22:16:55 +02:00
Aaron van Geffen
be125fc9e1 Use ParkData refs in more places (#25035) 2025-08-25 22:25:53 +02:00
Aaron van Geffen
f11d1e33d0 Move Scenario::Objective into its own unit; enum class ObjectiveType 2025-08-22 17:40:47 +02:00
Aaron van Geffen
19dd05c32f Move landPrice/constructionRightsPrice into Scenario::Options 2025-08-22 16:10:12 +02:00