1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00
Commit Graph

28801 Commits

Author SHA1 Message Date
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
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
a07890babf Merge pull request #25036 from AaronVanGeffen/actions
Move game actions into GameActions namespace
2025-08-27 13:33:22 +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
OpenRCT2 git bot
d18645354a Merge Localisation/master into OpenRCT2/develop 2025-08-27 04:02:00 +00: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
Gymnasiast
ff896787ac Replace dropdown disabled/checked functions 2025-08-24 11:30:58 +02:00
OpenRCT2 git bot
db201c27b9 Merge Localisation/master into OpenRCT2/develop 2025-08-24 04:05:44 +00:00
Michael Steenbeek
577c3336c6 Create struct for all dropdown-related globals (#25023) 2025-08-23 13:56:13 +02:00
Tulio Leao
488d6f7a0d Merge pull request #25020 from AaronVanGeffen/scenario-split
Split Scenario headers into smaller headers
2025-08-23 06:15:09 -03:00
Aaron van Geffen
61d7a3204e Drop unused forward declarations from RCT2.h 2025-08-22 22:16:42 +02:00
Ríša Szlachta
fcce763ca5 Update crediting of translators (#25022)
* Add Galician (gl-ES) translator

* Add Czech (cs-CZ) translator

* Add Hungarian (hu-HU) translator
2025-08-22 17:12:54 -03:00
Aaron van Geffen
bbd92f0120 Merge pull request #25017 from AaronVanGeffen/scenario-options
Introduce Scenario::Options struct
2025-08-22 20:07:54 +02:00
Ríša Szlachta
c6fd66a95f Improve string 5862
By removing trailing full stop (period), which is not looking good in user interface, since this is a checkbox text
2025-08-22 20:07:44 +02:00
Aaron van Geffen
70cd01acda Move two legacy enums to RCT2.h 2025-08-22 20:03:59 +02:00