duncanspumpkin
893fbdc2b4
Use correct hash
2025-09-15 23:11:55 +02:00
duncanspumpkin
a13cfab51c
Update replays
2025-09-15 23:11:55 +02:00
Gymnasiast
1557e20a2a
Restore maximum ride price algo to vanilla
...
This reverses the functional changes made in #5294 . While the new
algorithm works out well for roller coaster and encourages better
rides in general, it is hampered by the fact that the value of
flat rides is abysmal and this means that you can never ask a
decent price.
This should probably be fixed at the source instead of
papered over by an absolute bonus, but fixing that is a lot more
delicate and complicated than restoring vanilla’s behaviour.
Something to revisit at a later date and with sufficient testing.
2025-09-15 23:11:55 +02:00
matheusvb3
2ad4d4be72
Add isEntertainer method to Staff class, small cleanup
2025-09-15 23:00:13 +02:00
Aaron van Geffen
99065960f2
Rename InputFlags::unk{4,5} to {left,right}MousePressed
2025-09-15 22:44:39 +02:00
mix
fabd171ff5
Fix LIM launched inline twists general support heights
2025-09-15 10:32:32 +02:00
Aaron van Geffen
51975ffed7
Merge pull request #25144 from AaronVanGeffen/ride-manager
...
Pass GameState and ParkData refs in more places
2025-09-14 22:04:30 +02:00
Michael Steenbeek
6e6e77bb57
Refactor more path stuff ( #25173 )
...
* Pass entrance path type to game action
Fixes a desync when placing a park entrance in multiplayer
* Remove unused gFootpathSelectedId
* Move two footpath globals into the window
* Move FootpathGetDefaultSurface() into window
* Move WallInTheWay() to Wall.{cpp,h}
* Create FootpathGetPlacementFromScreenCoords()
2025-09-14 19:18:31 +02:00
Gymnasiast
129c69927e
Create FootpathGetPlacementFromScreenCoords()
2025-09-14 17:09:26 +02:00
Gymnasiast
5cc8ab4fa5
Move WallInTheWay() to Wall.{cpp,h}
2025-09-14 17:09:26 +02:00
Gymnasiast
61db76f74b
Move FootpathGetDefaultSurface() into window
2025-09-14 17:09:26 +02:00
Gymnasiast
4cf07f181d
Move two footpath globals into the window
2025-09-14 17:09:26 +02:00
Gymnasiast
121c2e0831
Remove unused gFootpathSelectedId
2025-09-14 17:09:26 +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
Michael Steenbeek
63a1c49db2
Refactor footpath placement functions
2025-09-14 14:25:08 +02:00
mix
0e21f93359
Fix Junior RC flat to steep general support heights different to RCT1
2025-09-14 14:16:42 +02:00
OpenRCT2 git bot
d5c2eb2a57
Merge Localisation/master into OpenRCT2/develop
2025-09-13 04:02:12 +00:00
mix
ea66706fbb
Fix go karts steep to flat general support heights
2025-09-12 20:42:03 +02:00
Aaron van Geffen
0c2a52dd36
Move command line units into OpenRCT2 namespace
2025-09-12 18:07:23 +02:00
Aaron van Geffen
316572e824
Park: pass ParkData ref directly to Park::Update
2025-09-12 17:53:51 +02:00
Aaron van Geffen
60c88f7b3c
Park: distinguish between CalculateParkSize and Park::UpdateSize
2025-09-12 15:57:34 +02:00
Michael Steenbeek
09d348f4e4
Merge pull request #25157 from AaronVanGeffen/context-cleanup
...
Move types and constants out of Context.h
2025-09-12 15:01:25 +02:00
Aaron van Geffen
f60b352259
Merge pull request #25156 from ZehMatt/optimize-entity-type-check
...
Some micro optimizations, code cleanup
2025-09-12 14:38:34 +02:00
ζeh Matt
1b1f8123b9
Move Guest specific ThrowUp logic to Guest.cpp
2025-09-12 15:08:18 +03:00
Aaron van Geffen
9b7ee06e0f
Move Context fully into OpenRCT2 namespace; types into Input.h
2025-09-12 14:03:44 +02:00
ζeh Matt
2e6ffa4285
No need to double check if its Guest or Staff
2025-09-12 14:58:07 +03:00
ζeh Matt
ce3da4012e
Remove redundant cast
2025-09-12 14:57:50 +03:00
ζeh Matt
977ec4517f
Reduce scope of some variables
2025-09-12 14:52:34 +03:00
Aaron van Geffen
ffa2c3ab6c
Move game tick time constants from Context.h to Game.h
2025-09-12 13:45:16 +02:00
Aaron van Geffen
499af79831
Move Resolution struct from Context to UiContext
2025-09-12 13:42:30 +02:00
ζeh Matt
4698ddc5f5
Add a cast method for entities, sometimes we know the type
2025-09-12 14:40:01 +03:00
Aaron van Geffen
b869134e72
Finance: remove pre-gamestate accessor functions
2025-09-12 12:46:24 +02:00
spacek531
9f0a307972
Fix vehicles visually glitching on diagonal steep slopes
2025-09-12 05:54:47 +00:00
mix
24e249a0dd
Fix diag brakes general support height of junior, flying, lay down RCs
2025-09-12 07:31:39 +02:00
spacek531
793b53ad0e
Rename local variable spr to entity
2025-09-12 07:28:00 +02:00
Michael Steenbeek
7ceaa4fed1
Merge pull request #25143 from Gymnasiast/refactor/footpath-cpp
...
Refactor a few selection enums
2025-09-11 22:19:12 +02:00
Aaron van Geffen
832a1d1f74
Move localisation units into OpenRCT2 namespace
2025-09-11 22:11:12 +02:00
mix
a5cd5db91e
Fix log flume steep general support heights
2025-09-11 22:08:41 +02:00
Gymnasiast
9db3d609d2
Turn MapSelectType into enum class
2025-09-11 22:06:10 +02:00
Gymnasiast
6f7987e1c7
Turn MapSelectFlags into FlagHolder
2025-09-11 22:06:10 +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
Aaron van Geffen
f6e4d5a90d
ScenarioObjective: pass GameState_t& down to check functions
2025-09-11 13:37:53 +02:00
Aaron van Geffen
76256684aa
Park: remove unused forward declarations
2025-09-11 13:32:49 +02:00
Aaron van Geffen
9853290001
Award: pass GameState_t down to checks; use RideManager directly
2025-09-11 12:48:21 +02:00
Gymnasiast
664602a572
Make PathConstructionMode into an enum class
2025-09-10 23:14:24 +02:00
mix
318262b479
Fix reverse freefall photo using the wrong track sprite
...
This fixes the on ride photo of the reverse freefall coaster having incorrectly coloured ties due to using a sprite from the air powered coaster. This uses the station sprite from the reverse freefall coaster instead.
This removes this special case in the paint code. If I remember right, it's the only function that changes colors in this way.
2025-09-09 21:23:10 +00: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
mix
8e4f4fa3a9
Rename tunnel door types and remove unused entries
2025-09-09 19:54:37 +00:00
Michał Janiszewski
a37cdcf178
Fix #25132 : crash when trying to use simulate on incomplete ride ( #25133 )
2025-09-09 14:22:05 +00:00