1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00
Commit Graph

2798 Commits

Author SHA1 Message Date
Michael Steenbeek
744c1fd5a3 Fix #25207: No switch to block sectioned mode after building one on the LIM LRC 2025-09-23 17:34:38 +02:00
Michael Steenbeek
3e11a8efdf Fix #24998: Some custom small scenery objects do not load 2025-09-23 14:06:20 +02:00
Gymnasiast
73d3e4f0e3 Change "sprite exportalldat" into "sprite exportobject", take a filename instead of an already loaded DAT 2025-09-21 21:18:59 +02:00
Aaron van Geffen
db5f56f4aa Scripting: order available costumes array by display name (#25228) 2025-09-21 15:31:36 +00:00
Aaron van Geffen
f9e9cefb46 Add missing getCostumeStrings to openrct2.d.ts (#25227) 2025-09-21 17:11:39 +02:00
Michał Janiszewski
263857a752 Merge pull request #25212 from janisozaur/update-formatter
Update clang-format runner
2025-09-20 00:13:00 +02:00
Aaron van Geffen
80badee58d Skip drawing accessories whilst peep is clapping 2025-09-20 00:11:47 +02:00
Michał Janiszewski
37112e42b0 Add information about run-clang-format licence 2025-09-19 21:08:00 +02:00
Aaron van Geffen
f5faef7bea Scenery window: increase minimum height
This increases the minimum height of the Scenery window to fit at least 1.5 rows of scenery items, instead of 1 row. This is done to ensure the eyedropper and scatter tools are visible with multiple rows of tabs as well.

Before:
<img width="634" height="224" alt="Imagination Megapark 2025-09-15 22-38-56" src="https://github.com/user-attachments/assets/dcce9fad-a8e1-4001-9552-dd1ff97c082c" />

After:
<img width="634" height="264" alt="Imagination Megapark 2025-09-15 22-38-46" src="https://github.com/user-attachments/assets/8e545aa7-8aef-4642-b78e-858bed2db1e8" />
2025-09-17 21:51:12 +00:00
Aaron van Geffen
51b4bbbce5 Allow shifting track designs underground
Since about a year ago, OpenRCT2 has allowed players to shift ride/track designs using modifier keys (#22669). This was, however, limited to heights above-ground. This PR changes this by omitting the 'Z placement assist' when ctrl/shift modifiers are used. This means the helpful 'nudge' to overground is now omitted if (and only if) these modifier keys are involved.

Below is an example of what placement now looks like (with clearance checks disabled for easier debugging):

https://github.com/user-attachments/assets/3b23bc1d-ab7b-43a2-ad40-216ab83952d2
2025-09-17 23:09:07 +02:00
mix
58c5ae1d3b Fix hybrid coaster diag flat support blocks and clearance height 2025-09-16 13:50:17 +02:00
Gymnasiast
a0a4a7823a Amend changelog, bump network and park file versions 2025-09-15 23:12:13 +02:00
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