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

28893 Commits

Author SHA1 Message Date
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
Michał Janiszewski
8e0e8ed8f4 Start v0.4.27 2025-09-06 20:26:17 +02:00
Michał Janiszewski
23f509f0d9 Merge branch 'master' into develop 2025-09-06 20:24:50 +02:00
Michał Janiszewski
84fc3bcf5e Release v0.4.26
- Feature: [#24949] Add an option to the command line screenshot function to draw debug bounding boxes.
- Improved: [#9890, #18714] Rides using block-sectioned operating modes can now enter simulating mode without having to complete the circuit first.
- Improved: [#24734] Save files now use Zstd compression for faster saving and smaller files.
- Improved: [#24890] The ride list is now searchable.
- Improved: [#24893] The ride list now has headers, and can be sorted in both directions.
- Improved: [#24921] The command line sprite build command now prints out the images table entry for the compiled sprite file.
- Improved: [#24953] Opening the Scenario Editor, Track Designer or Track Designs Manager now display the progress bar.
- Improved: [#25027] Land style dropdown now has tooltips with the name of the land types.
- Improved: [#25057] The progress window now has a Go Karts variant.
- Change: [#23351] Diagonal sloped Go-Kart track can no longer be built without cheats if the karts do not have sprites for them.
- Change: [#24606] Increase Misc Entity limit from 1600 to 3200.
- Change: [#24974] Raise the Go-Karts maximum support height to allow 2 large sloped turns to be built on flat ground.
- Change: [#25024] Guests in mazes no longer jump during heavy snow or blizzards, as they would when it rains.
- Fix: [#12831] Zooming to cursor on land edges sometimes causes the camera to move to the wrong position.
- Fix: [#16988] AppImage version does not show changelog.
- Fix: [#19137] Non-inverted left corkscrew supports are incorrect at one angle (original bug).
- Fix: [#23440] Quarter loops do not block metal supports correctly (original bug).
- Fix: [#24001] Sloped diagonal metal supports that are offset with a crossbeam draw incorrectly.
- Fix: [#24151] Sprites are cut off by 1 row of pixels when using OpenGL on Intel Macs.
- Fix: [#24173] Allow all game speeds between 1 and 8 when debugging tools are enabled.
- Fix: [#24745] Potential crash when lighting effects are enabled and loading a save or a new scenario.
- Fix: [#24835] Dive loop track pieces do not have tunnels.
- Fix: [#24884] Smooth map and add beaches functions use incorrect map size with height map image files.
- Fix: [#24915] LIM Launched (original bug), Corkscrew and Twister Roller Coaster inline twists have some incorrect tunnels.
- Fix: [#24916] LIM Launched inline twists can draw over land edges when built underground (original bug).
- Fix: [#24953] Crash when opening the Scenario Editor, Track Designer or Track Designs Manager.
- Fix: [#24955] Hybrid Zero G Rolls do not fully block metal supports.
- Fix: [#24958] Android: fix crash when device is offline.
- Fix: [#24961] Queues with corner connections set with the tile inspector draw incorrect sprites.
- Fix: [#24972] Fix crash when closing windows would open other windows.
- Fix: [#24986] LIM Launched Roller Coaster inline twists block metal supports on the wrong side (original bug).
- Fix: [#24989] Classic Wooden Roller Coaster small banked turns do not block metal supports correctly.
- Fix: [#24993] The Mine Train Coaster sloped left medium turn has an incorrectly rotated support at one angle.
- Fix: [#24994] The Alpine Coaster and Mine Ride left s-bends have an incorrectly rotated support at certain angles.
- Fix: [#25001] The Hybrid Coaster small banked sloped right turn and large sloped right turn to orthogonal have some incorrectly rotated supports.
- Fix: [#25002] The large right turn to diagonal on the Miniature Railway draws incorrectly at certain angles.
- Fix: [#25005] The Corkscrew Roller Coaster inline twist inverted supports draw below the track.
- Fix: [#25006] The Twister Roller Coaster inline twists do not draw in tunnels at some angles.
- Fix: [#25046] Zooming with the zoom buttons on the extra viewport is not focused on the centre of the viewport.
- Fix: [#25054] Panning a viewport in a window that is partially outside the game’s window can draw incorrectly or crash in software rendering.
- Fix: [#25062] Certain peep actions cannot be triggered if they are under or inside a track piece due to faulty verification of them being on a level crossing.
- Fix: [#25067] Progress bars can flicker when downloading maps in multiplayer mode.
- Fix: [#25075] The Hybrid Coaster quarter loops draw over land edges and walls directly next to them.
- Fix: [#25080] Water has missing land edges when opposite corners of the tile and adjacent tile are the same height and the others are lower.
v0.4.26
2025-09-06 19:41:24 +02:00
Michał Janiszewski
4aad756d35 Merge branch 'develop' 2025-09-06 19:32:11 +02:00