1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00
Commit Graph

28897 Commits

Author SHA1 Message Date
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
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
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
Michał Janiszewski
d65b1144e8 Skip stripping of Linux binaries (#25037) 2025-09-08 23:11:13 +02:00
LRFLEW
d800a193c3 Update AppImage metadata to rDNS 2025-09-08 19:35:55 +00: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
Ethan O'Brien
ed5cb20895 Use set -x 2025-09-06 22:37:14 -05: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
96a13b6c43 Merge pull request #25084 from AaronVanGeffen/network-namespace
Move network classes and functions into Network namespace
2025-09-06 22:56:49 +02:00
Michał Janiszewski
2e22ffcce4 Add libzstd-dev to Build-Depends for debian (#25116) 2025-09-06 22:23:59 +02:00
Michał Janiszewski
a64cb177ac Use libraries v41 (#25087)
This make quickjs-ng available
2025-09-06 22:22:33 +02:00
Aaron van Geffen
d6e9f3d205 Replace duplicate MapIsLocationAtEdge function with MapIsEdge (#25107) 2025-09-06 21:45:49 +02:00
Aaron van Geffen
f75c4e0e3a Merge pull request #25081 from AaronVanGeffen/entity-registry
Rework EntityRegistry into class
2025-09-06 21:22:02 +02:00
matheusvb3
353f444057 Merge pull request #25109 from matheusvb3/clean-cheats
Remove redundant braces in Cheats.cpp
2025-09-06 20:32:10 +02:00
Aaron van Geffen
8746d7627a Merge pull request #25108 from AaronVanGeffen/map-limits
Split off MapLimits.h and MapSelection.h from Map.h
2025-09-06 20:31:46 +02:00