1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00
Commit Graph

29027 Commits

Author SHA1 Message Date
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
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
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
Michael Steenbeek
837b241b79 Changelog: fix entry about game speeds
[ci skip]

There is no such thing as ‘developer mode’.
2025-09-05 08:58:06 +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
8e60c4504f Move CoordsXYE to Location.hpp 2025-09-04 21:57:36 +02:00
Aaron van Geffen
013fcb3798 Split off MapSelection.h from Map.h 2025-09-04 21:57:36 +02:00
Michał Janiszewski
08fb007c33 Update BACKTRACE_TOKEN in Crash.cpp for upcoming release 2025-09-04 21:42:01 +02:00
Aaron van Geffen
cd68270e7f Split off MapLimits.h from Map.h 2025-09-04 21:17:45 +02:00
Gymnasiast
1cc2385ed7 Fix width calculation 2025-09-03 18:47:27 +02:00
Gymnasiast
4b1089ba6a Apply changes to STR_1156/7 to all languages 2025-09-03 18:04:25 +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
OpenRCT2 git bot
1669a627d7 Merge Localisation/master into OpenRCT2/develop 2025-09-03 04:01:57 +00:00