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

2786 Commits

Author SHA1 Message Date
mix
fabd171ff5 Fix LIM launched inline twists general support heights 2025-09-15 10:32:32 +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
mix
0e21f93359 Fix Junior RC flat to steep general support heights different to RCT1 2025-09-14 14:16:42 +02:00
mix
ea66706fbb Fix go karts steep to flat general support heights 2025-09-12 20:42:03 +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
mix
a5cd5db91e Fix log flume steep general support heights 2025-09-11 22:08:41 +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
Michał Janiszewski
a37cdcf178 Fix #25132: crash when trying to use simulate on incomplete ride (#25133) 2025-09-09 14:22:05 +00:00
LRFLEW
d800a193c3 Update AppImage metadata to rDNS 2025-09-08 19:35:55 +00:00
spacek531
3e10c20792 Add variable for number of spin frames 2025-09-08 12:57:04 +02:00
Michał Janiszewski
8e0e8ed8f4 Start v0.4.27 2025-09-06 20:26:17 +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.
2025-09-06 19:41:24 +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
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
matheusvb3
aaa4ae05f4 Make guests in mazes not jump during heavy snow or blizzard (#25024) 2025-09-02 19:23:04 +02:00
mix
e9456ae68a Fix #25080: Missing water edges in certain land slope configurations 2025-09-01 09:58:27 +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
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
Michael Steenbeek
89c75223f7 Add #9890 to changelog 2025-08-29 23:12:47 +02:00
Aaron van Geffen
c3dea57e41 Prevent progress bar from flickering during map download (#25067) 2025-08-29 20:36:17 +00: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
Aaron van Geffen
ffc7eaf97e Add Go Karts variant to the progress window (#25057)
* Add Go Karts variant to the progress window

* Improve supports

* Amend changelog
2025-08-29 06:27:44 -03:00
Michael Steenbeek
dd957d46e8 Fix spelling of ‘separate’ and ‘separator’ 2025-08-27 22:33:05 +00:00
Michael Steenbeek
85a0f70ae1 Fix #12831: Zooming to cursor on land edges sometimes moves the camera incorrectly (#25042)
* Calculate zoom to cursor based on mouse coordinates

* Remove unused function WindowViewportGetMapCoordsByCursor

* Remove unused function WindowViewportCentreTileAroundCursor

* Set viewport pos on zoom to avoid unnecessary draw and shift
2025-08-28 00:11:47 +02:00
mix
e4f36840bf Fix extra viewport zoom buttons not centred on middle of viewport
This fixes the extra viewport zoom buttons not centering the zoom on the middle of the viewport.
Just setting the zoom level is not enough, this replaces that with the proper functions that handle everything.
2025-08-27 17:47:10 +02:00
mix
06579b45d2 Calculate zoom to cursor based on mouse coordinates 2025-08-27 09:05:17 +01:00
Gymnasiast
14a4914910 Create ImageItem constructor, add tooltips to land styles 2025-08-24 11:30:59 +02:00
mix
b5db741d14 Fix LIM Launched inline twists drawing over land when built underground 2025-08-22 08:10:17 +02:00
mix
1c6e23bd46 Fix Twister RC inline twists not drawing in tunnels at certain angles 2025-08-21 20:16:51 +02:00
mix
6ced83c9d6 Fix corkscrew rc inline twist inverted supports drawing below track 2025-08-20 23:20:33 +02:00
mix
d81ac16d81 Fix Miniature Railway large right turn track drawing glitch 2025-08-20 13:46:47 +02:00
Jan Strauss
745e1c4277 fix png map generator smoothMap and beach generation (see also #24782) 2025-08-19 16:50:59 +02:00
mix
622acf61a6 Fix hybrid large slope right to orth and small bank slope right supports (#25001) 2025-08-19 06:43:25 -03:00
mix
1ca0c16777 Fix incorrectly rotated support on alpine and mine ride left S-bend 2025-08-18 22:51:07 +02:00
mix
f1d7366e0b Fix mine train coaster sloped left medium turn support rotation (#24993) 2025-08-17 11:49:06 -03:00
mix
c3df09df7e Fix lim launched rc inline twists block supports on wrong side (#24986) 2025-08-17 11:48:22 -03:00
mix
dcaef0fff3 Fix #19137: Non inverted left corkscrew supports wrong at one angle (#24988) 2025-08-17 09:20:57 -03:00
Tulio Leao
f0b1081ba9 Merge pull request #24987 from mixiate/fix-quarter-loop-blocked-segments
Fix quarter loop blocking supports incorrectly
2025-08-17 08:05:05 -03:00
mix
85521a94a7 Fix classic wooden small banked turns blocking supports incorrectly (#24989) 2025-08-17 07:58:46 -03:00
mix
98ce44aeb2 Fix #23440: Quarter loops do not block metal supports correctly 2025-08-17 08:33:59 +01:00
Matt
429118c60c Merge pull request #24978 from mixiate/fix-24151
Fix #24151: Sprites are cut off by 1 row of pixels when using OpenGL on Intel Macs
2025-08-16 02:52:36 +03:00
Michał Janiszewski
eb5dababc9 Fix a crash when closing windows would open other windows (#24972)
This could happen when trying to open a ride, which does not have
entrance or exit, from the ride list window. The `OnClose` handler would
want to open a window for placing said elements causing invalidation of
the window list.

20ac77904b/src/openrct2-ui/windows/RideConstruction.cpp (L324)
2025-08-16 01:07:07 +03:00
mix
b62b9e853d Fix #24151: Change OpenGL shader gl_FragCoord use to not require layout 2025-08-15 22:01:46 +01:00
Michał Janiszewski
5a8150a941 Fix #18048: Play music from all ride's stations (#24722) 2025-08-15 20:05:59 +00:00
Michał Janiszewski
b32d29330b Fix #24888: Add search for ride list (#24890)
* Fix #24888: Add search for ride list

* Cache ride name

* Hide unwanted ride list entries rather than rebuilding the list

* Minor touchups

* Display count of filtered rides/stalls in ride list

---------

Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2025-08-15 18:51:14 +02:00
mix
1436d8ef2a Raise the Go-Karts maximum support height by 1 (#24974) 2025-08-15 13:43:08 -03:00
mix
6ed3783e06 Prevent diagonal slopes from being built if vehicles lack sprites (#23351) 2025-08-15 10:26:50 -03:00