1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00
Commit Graph

22707 Commits

Author SHA1 Message Date
Michał Janiszewski
f4b5ba72eb Fix incorrect synchronisation reporting number of processed objects (#25043)
This resolves annoying reports of loaded percentage going backwards
2025-08-29 06:51:50 -03:00
mix
145fb9dcfc Fix Hybrid Coaster large banked sloped turn to orth support rotation (#25064) 2025-08-29 09:36:13 +00:00
Aaron van Geffen
abe58f6439 Move ClearAction, GameAction, ScenarioSetSettingAction into GameActions (#25045) 2025-08-29 06:32:05 -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
Aaron van Geffen
fc77e8a105 Move entity storage back into EntityRegistry unit 2025-08-27 19:06:17 +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
Michael Steenbeek
ba2ed7564c Merge pull request #25027 from Gymnasiast/refactor/dropdown-3
Move more global dropdown stuff into individual items
2025-08-27 17:26:43 +02:00
Aaron van Geffen
db5b98f702 Pass GameState on when importing entities from save files 2025-08-27 14:04:08 +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
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
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
mix
dd1cc48ce3 Set viewport pos on zoom to avoid unnecessary draw and shift 2025-08-27 12:07:35 +01:00
Aaron van Geffen
0e2f9fbc03 Move RideSetStatus, RideSetVehicle into GameActions namespace 2025-08-27 11:03:08 +02:00
Aaron van Geffen
45ad3ec683 Move RideEntranceExit{Place/Remove}/FreezeRating/SetAppearance/SetColourScheme 2025-08-27 10:55:37 +02:00
Aaron van Geffen
1bcee698a9 Move RideSetName/Price/Setting actions into GameActions namespace 2025-08-27 10:47:34 +02:00
mix
677f6c0717 Remove unused function WindowViewportCentreTileAroundCursor 2025-08-27 09:13:05 +01:00
mix
fa92008548 Remove unused function WindowViewportGetMapCoordsByCursor 2025-08-27 09:10:00 +01:00
mix
06579b45d2 Calculate zoom to cursor based on mouse coordinates 2025-08-27 09:05:17 +01:00
Aaron van Geffen
a0d8834de1 Reduce includes for S4Importer and S6Importer 2025-08-26 21:42:00 +00:00
Aaron van Geffen
bbd67e8dfb Move EntityList and EntityRegistry into OpenRCT2 namespace (#25039) 2025-08-26 23:05:49 +02:00
Gymnasiast
fc832524c3 Add 'const utf8*' to the args type union 2025-08-26 23:00:26 +02:00
Aaron van Geffen
50de94c5df Move RideCreateAction, RideDemolishAction into GameActions namespace 2025-08-26 22:39:51 +02:00
Aaron van Geffen
439afd9d5d Move Pause, PeepSpawn, Player, TileModify game actions to GameActions namespace 2025-08-26 21:39:29 +02:00
Aaron van Geffen
86a001875e Move Track game actions to GameActions namespace 2025-08-26 21:28:10 +02:00
Aaron van Geffen
afdee8852a Move LoadOrQuit, Map, Maze, Network game actions 2025-08-26 21:17:44 +02:00
Aaron van Geffen
a052437d12 Move Park game actions to GameActions namespace 2025-08-26 20:52:46 +02:00
Aaron van Geffen
620c1f40ef Move Staff game actions into GameActions namespace 2025-08-26 18:34:31 +02:00
Aaron van Geffen
1a37409390 Finish land and water game commands 2025-08-26 16:04:58 +02:00
Aaron van Geffen
238b397968 Move scenery game actions into GameActions namespace 2025-08-26 15:55:26 +02:00
Aaron van Geffen
1e059d18d0 Move Guest and Land game actions into GameActions namespace 2025-08-26 15:10:05 +02:00
Aaron van Geffen
bcb803df96 Move Footpath game actions into GameActions namespace 2025-08-26 14:48:16 +02:00
Aaron van Geffen
e8ef3897df Rework more game actions into GameActions namespace 2025-08-26 14:22:58 +02:00
Michał Janiszewski
66665c8a81 Use macos-15-built libraries v40 (#24939)
* Use macos-15-built libraries v40

Windows version is the same as v38, no need to update

* Use macos-15 in CI

* Build libopenrct2 statically

* Skip creating universal libopenrct2.dylib as it no longer exists

* Force static linking on macOS
2025-08-26 07:04:30 +02:00
Aaron van Geffen
be125fc9e1 Use ParkData refs in more places (#25035) 2025-08-25 22:25:53 +02:00
Aaron van Geffen
134f4ac43e Start moving game actions into GameActions namespace 2025-08-25 22:16:55 +02:00
Gymnasiast
6a43719d49 Fix formatting 2025-08-24 15:24:18 +02:00
Gymnasiast
2bd0fce142 Create PlainMenuLabel overload for C strings 2025-08-24 11:30:59 +02:00
Gymnasiast
ecd2cf0dfc Create PlainMenuLabel constructor 2025-08-24 11:30:59 +02:00
Gymnasiast
14a4914910 Create ImageItem constructor, add tooltips to land styles 2025-08-24 11:30:59 +02:00
Gymnasiast
173b6a2032 Create MenuLabel overload for C strings 2025-08-24 11:30:59 +02:00
Gymnasiast
6f1b0bde03 Create ToggleOption and Separator constructors 2025-08-24 11:30:59 +02:00
Gymnasiast
bde70ea95f Create MenuLabel constructor 2025-08-24 11:30:59 +02:00
Gymnasiast
af50e9b0da Fold tooltips and images into dropdown items 2025-08-24 11:30:59 +02:00