ζeh Matt
4698ddc5f5
Add a cast method for entities, sometimes we know the type
2025-09-12 14:40:01 +03: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
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
spacek531
8eb9e4aceb
Use strong types for VehiclePitch and VehicleRoll
2025-09-09 15:47:19 +02:00
Aaron van Geffen
4446ff9f6f
Pass game state ref as parameter to game actions ( #25065 )
2025-09-08 16:21:29 +02:00
spacek531
3e10c20792
Add variable for number of spin frames
2025-09-08 12:57:04 +02:00
matheusvb3
e4aa9c6920
Change some fields related to the spiral slide
2025-09-07 12:01:01 +00:00
spacek531
2fa20a2f3d
Separate flat ride and tracked ride users of pitch and roll fields
...
In preparation for strong-typing the pitch and roll enums, unions are created to properly document which users of the field are flat rides.
2025-09-07 12:06:49 +02:00
Michael Steenbeek
dc1c59e715
Merge pull request #25120 from Gymnasiast/rename/pitch-and-roll
...
Rename bank_rotation to roll, Pitch to pitch
2025-09-07 11:44:15 +02:00
Michał Janiszewski
a3daec8150
Merge pull request #24892 from ethanaobrien/develop
...
Emscripten: Download/Upload parks
2025-09-07 07:28:08 +02:00
Michael Steenbeek
414689fb1b
Dropdown: remove ‘format’ and ‘args’ altogether ( #25053 )
...
* Remove ‘format’ and ‘args’ altogether
* Change text field to a char array
* Small cleanup
* Apply changes to STR_1156/7 to all languages
* Fix width calculation
2025-09-07 00:09:46 +02:00
Matt
6333c91a8e
Merge pull request #25090 from jaterx/develop
...
Fix for Attempt to decrement guests in park and guests heading for park below zero. #21172
2025-09-07 01:01:53 +03:00
spacek531
02ce098a2f
Rename bank_rotation to roll, Pitch to pitch
2025-09-06 23:56:29 +02:00
Aaron van Geffen
c1e3e8412b
Rework ServerEvent, PlayerFlags, TickFlags
2025-09-05 13:24:00 +02:00
Aaron van Geffen
d2c4a36787
Drop 'Network' prefix from more classes as suggested
...
* Rename Network::NetworkReadPacket class to Network::ReadPacket
* Rename Network::NetworkKey class to Network::Key
* Rename Network::NetworkPacket class to Network::Packet
* Rename Network::NetworkUser class to Network::User
* Rename Network::NetworkConnection class to Network::Connection
2025-09-05 13:17:14 +02:00
Aaron van Geffen
cecac8ee0b
Drop 'Network' from namespaced network constants
2025-09-05 12:53:42 +02:00
Gymnasiast
1cc2385ed7
Fix width calculation
2025-09-03 18:47:27 +02:00
Gymnasiast
7518cbb0c0
Small cleanup
2025-09-03 17:57:43 +02:00
Gymnasiast
ac85de1e44
Change text field to a char array
2025-09-03 17:57:43 +02:00
Gymnasiast
7f2c4261b4
Remove ‘format’ and ‘args’ altogether
2025-09-03 17:57:43 +02:00
Michał Janiszewski
77012410a9
Revert "Fix #18048 : Play music from all ride's stations ( #24722 )" ( #25097 )
...
This reverts commit 5a8150a941 .
2025-09-03 11:54:16 +02:00
Jater Xu
d90329731d
Fix for Attempt to decrement guests in park and guests heading for park below zero.
...
Updated Review:
- Removed ignore warning variable
- Changed the log level of the related warnings to verbose
2025-09-02 10:33:18 -07:00
matheusvb3
aaa4ae05f4
Make guests in mazes not jump during heavy snow or blizzard ( #25024 )
2025-09-02 19:23:04 +02:00
Jater Xu
6fb00193ac
Fix for Attempt to decrement guests in park and guests heading for park below zero. #21172
...
Fix:
- Calling recompute peep functions when in title sequence
- Provided a way to ignore the warning for title sequence
2025-09-01 19:47:42 -07:00
mix
e9456ae68a
Fix #25080 : Missing water edges in certain land slope configurations
2025-09-01 09:58:27 +02:00
mrmbernardi
fc0912d0da
Fix dropdown separator fallback code
2025-08-31 20:43:01 +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
58569d6d50
Remove unnecessary OpenRCT2 qualifiers
2025-08-31 15:31:19 +02:00
Aaron van Geffen
6ea5959b2b
Move network units to OpenRCT2::Network namespace
2025-08-31 15:26:10 +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
mix
337ac9f2b4
Fix Hybrid Coaster quarter loops drawing over land edges and walls
2025-08-31 10:18:50 +02:00
mix
fff4d44b12
Fix glitch and crash panning viewport partially outside game window ( #25054 )
2025-08-30 12:48:12 +00:00
Michał Janiszewski
1787b1de69
Allow disabling of REPL ( #25071 )
2025-08-30 12:32:16 +02:00
matheusvb3
7b9f52b6c4
Fix check in Peep::IsOnLevelCrossing() ( #25062 )
...
* Fix crossing check
* Update network version
* Add changelog entry
2025-08-29 23:17:04 -03:00
Garrett Leach
a7c7e3f3ba
Add missing range check
...
Resolves #25060
2025-08-29 23:02:18 +02:00
Aaron van Geffen
c3dea57e41
Prevent progress bar from flickering during map download ( #25067 )
2025-08-29 20:36:17 +00:00
Ríša Szlachta
d23c5ea332
Improve visual of Rides window
...
* Widen the Clear button to 70, which is common width for listview search Clear buttons
* Remove odd tooltip from Clear button
2025-08-29 22:29:38 +02:00
kyphii
39aab71e7d
Fix #18714 : Allow block-sectioned rides to simulate with incomplete circuit ( #25034 )
...
* Allow block-sectioned rides to simulate with incomplete circuit
* Remove unused variable
2025-08-29 06:53:22 -03:00