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

27792 Commits

Author SHA1 Message Date
Aaron van Geffen
8d5c70cec5 Make density a HeightMap property 2025-03-09 00:41:08 +01:00
Aaron van Geffen
64aaaa57ee Make heightmap density configurable in setMapHeight 2025-03-02 19:29:30 +01:00
Aaron van Geffen
e6e666a178 Refactor PNG generator to use HeightMap class 2025-03-02 16:29:41 +01:00
OpenRCT2 git bot
0426f85688 Merge Localisation/master into OpenRCT2/develop 2025-03-07 04:02:07 +00:00
Michael Steenbeek
6618dde971 Merge pull request #23944 from Gymnasiast/refactor/more-enums
Cleanup some ride enums and constants
2025-03-06 23:56:00 +01:00
Gymnasiast
1c3cb890e0 Rename NoFlatRideCars to kNoFlatRideCars 2025-03-06 23:32:17 +01:00
Gymnasiast
cbc3339281 Remove unused game action enums 2025-03-06 23:31:21 +01:00
Gymnasiast
3c35debafe Rename RIDE_VALUE_UNDEFINED to kRideValueUndefined 2025-03-06 23:30:57 +01:00
Gymnasiast
a35ce7ced3 Create RideModifyType enum 2025-03-06 23:24:43 +01:00
Gymnasiast
9778d7b0ba Create strong enum for RideCategory 2025-03-06 23:12:26 +01:00
Gymnasiast
114e8da200 Update RideMode to current code style 2025-03-06 23:01:47 +01:00
Gymnasiast
e35c7fdb5c Update RideStatus to current code style 2025-03-06 23:01:46 +01:00
Gymnasiast
0341d20b0b Update RideClassification to current code style 2025-03-06 23:01:46 +01:00
Gymnasiast
5681a06615 Add #23941 to changelog 2025-03-06 22:20:52 +01:00
Michael Steenbeek
8266447904 Split LOADSAVETYPE_* into LoadSaveAction and LoadSaveType 2025-03-06 21:06:39 +00:00
OpenRCT2 git bot
74c5718b98 Merge Localisation/master into OpenRCT2/develop 2025-03-06 04:02:20 +00:00
Aaron van Geffen
5294b9e499 Merge pull request #23876 from AaronVanGeffen/save-previews
Introduce embedded save previews
2025-03-06 00:02:27 +01:00
Michael Steenbeek
06c1fed4f7 Refactor gScreenFlags to LegacyScene enum 2025-03-05 20:45:04 +00:00
Aaron van Geffen
3eef2f0710 Amend changelog 2025-03-05 19:37:19 +01:00
Aaron van Geffen
7a823bf928 Use WindowSetResize to set min/max dimensions in most places (#23929)
* Refactor WindowSetResize to use ScreenSize structs

* Let WindowSetResize return whether or not window was resized

* Use WindowSetResize to set min/max dimensions in most places
2025-03-05 15:58:59 +00:00
Aaron van Geffen
65524bfe96 Change widget order for land rights checkboxes (#23932) 2025-03-05 14:52:09 +01:00
Aaron van Geffen
7d9e3e200e Refactor About window text drawing (#23928)
* Refactor About window text drawing

* Automatically adjust About window height to contents
2025-03-05 12:44:47 +01:00
OpenRCT2 git bot
706283ff27 Merge Localisation/master into OpenRCT2/develop 2025-03-03 04:02:14 +00:00
OpenRCT2 git bot
0feabc1ccc Merge Localisation/master into OpenRCT2/develop 2025-03-02 04:02:13 +00:00
orbifant
e77d9c0c30 Fix #23743: Park with > 32k guests goal not in scenario list
Creating the scenario cache file tried to read the guest count as signed 16 bit value which doesn't work for values > 32k.  In addition ObjectiveArg3 (variable to store guest count) is an signed value, unable to store 50k guests.
2025-03-01 19:51:10 +00:00
Michael Steenbeek
f6e80d1efc Merge pull request #23905 from Gymnasiast/refactor/flags3
Refactor some Window.h enums
2025-03-01 20:33:56 +01:00
Gymnasiast
09da9779a5 Change Tool members to new codestyle 2025-03-01 20:12:12 +01:00
Gymnasiast
cf706ed5f6 Change GuestListFilterType members to new codestyle 2025-03-01 20:12:12 +01:00
Gymnasiast
9982f74cb7 Change CloseWindowModifier members to new codestyle 2025-03-01 20:12:12 +01:00
Gymnasiast
17140192de Change VisibilityCache members to new codestyle 2025-03-01 20:12:12 +01:00
Gymnasiast
a45625fc3e Change PromptMode members to new codestyle 2025-03-01 20:12:11 +01:00
Gymnasiast
9cf02f3635 Refactor MODAL_RESULT_* to enum 2025-03-01 20:12:11 +01:00
matheusvb3
fab500519d Fix: Sound effects keep playing when loading another save 2025-03-01 19:00:42 +00:00
Michael Steenbeek
a6eb63ec7e Remove obsolete interop files
These files were used back when OpenRCT2 could call into the original executable. That hasn’t been the case for several years now, so time to go.
2025-03-01 19:45:53 +01:00
Christian Grund
f975de8643 Fix #10379: Banners and signs outside the park can be renamed and repainted 2025-03-01 17:40:50 +00:00
Aaron van Geffen
a380413c56 Remove Scenario.h include from many units (#23901)
* Reduce includes/dependencies for Scenario.h

* Remove Scenario.h include from many units
2025-03-01 17:32:32 +01:00
mix
cf74af635b Fix missing vertical tunnel on Reverse Freefall Coaster flat to vert 2025-03-01 10:19:35 +00:00
Gymnasiast
b3d90329ac Amend changelog entry for #4225
[ci skip]
2025-02-26 23:03:32 +01:00
Michael Steenbeek
73ac8ba197 Fix #4225: Ride Construction window offers non-existent banked sloped to level curve 2025-02-26 21:56:32 +01:00
Aaron van Geffen
3cd693cc78 Merge pull request #23886 from AaronVanGeffen/touch-mode-backports
Touch mode backports
2025-02-26 21:32:31 +01:00
Michael Steenbeek
078ba79cb8 Introduce WF_NO_TITLE_BAR and apply to windows 2025-02-26 21:09:54 +01:00
Michael Steenbeek
9f343abdda Reduce hardcoded positions for various windows 2025-02-26 21:09:54 +01:00
Michael Steenbeek
e0f9a33923 Rename kCloseButtonWidth to kCloseButtonSize 2025-02-26 21:05:57 +01:00
Michael Steenbeek
87bb2f10dd Introduce WindowBase::canBeResized 2025-02-26 21:05:57 +01:00
Michael Steenbeek
8e1028f8a9 Merge pull request #23563 from CookiePLMonster/max-path-2025
More `MAX_PATH` removals
2025-02-26 21:04:44 +01:00
Gymnasiast
b26f46b596 Start v0.4.20+1 2025-02-25 18:44:56 +01:00
Gymnasiast
1bfc213a5a Merge branch 'master' into develop 2025-02-25 18:43:45 +01:00
Gymnasiast
1c1b6d4b26 Release v0.4.20
- Feature: [#22905] Add diagonal downward-inclined brakes to hybrid coaster and single rail coaster.
- Feature: [#23759] Add see-through option to the “Cut-away View“.
- Improved: [#23677] Building new ride track now inherits the colour scheme from the previous piece.
- Improved: [#23720] Text fields now allow cutting to clipboard (Ctrl+X) in addition to copy and paste.
- Improved: [#23874] The load/save file browser window now uses icons for its action buttons.
- Improved: [#23875] Rides forbidden to be modified or destroyed can now be edited with the All destructible cheat.
- Improved: [#23879] Unique weather icons for snow, heavy snow and blizzard.
- Fix: [#1972, #11679] Vehicles passing by toilets can cause them to glitch (original bug).
- Fix: [#9999, #10000, #10001, #10002, #10003] Truncated scenario strings when using Catalan, Czech, Japanese, Polish or Russian.
- Fix: [#14486] Guests will fall through upwards sloped paths when making their way through a park entrance or ride exit (original bug).
- Fix: [#15826, #23835] Wooden Roller Coaster steep turn supports glitch when train goes over them (original bug).
- Fix: [#16357] Chairlift station covers draw incorrectly.
- Fix: [#16657] Mine Ride right S-bend uses Mini Roller Coaster sprite (original bug).
- Fix: [#18376] Ghost train gentle to flat track is not visible in tunnels.
- Fix: [#18389] Gentle sloped track pieces are not visible in low clearance height tunnels (original bug).
- Fix: [#18423] Underground Mini Golf holes can draw over land edges (original bug).
- Fix: [#18433] CJK TrueType fonts cannot be located when font names are translated by the OS.
- Fix: [#18436] Scenery on the same tile as steep to vertical track can draw over the track (original bug).
- Fix: [#18711] Park entrances with their sides underground can cause glitching.
- Fix: [#20848] Junior Roller Coaster booster track does not draw correctly in tunnels.
- Fix: [#20948] Incorrect diagonal brakes supports on the Giga Coaster, Looping Roller Coaster and Wooden Roller Coaster.
- Fix: [#21768] Dirty blocks debug overlay is rendered incorrectly on high DPI screens.
- Fix: [#22229] Opening a park save file from a newer version of OpenRCT2 yields an unhelpful error message.
- Fix: [#22617] Sloped Wooden and Side-Friction supports draw out of order when built directly above diagonal track pieces (original bug).
- Fix: [#22620] Mine Train Coaster trains glitch on large banked turns.
- Fix: [#23522] Diagonal sloped Steeplechase supports have glitched sprites at the base.
- Fix: [#23580] Table header labels may overlap if the window is made very small.
- Fix: [#23641] Steep to flat track is not drawn correctly in tunnels (original bug).
- Fix: [#23795] Looping Roller Coaster vertical loop supports are drawn incorrectly.
- Fix: [#23797] 3D Text cut off too early on multi-line signs.
- Fix: [#23809] Trains glitch on Bobsleigh Coaster small helixes.
- Fix: [#23811] Land edges glitch when vehicles go through gentle to flat tunnels.
- Fix: [#23814] Scenarios not indexed on first start.
- Fix: [#23818] Spinning tunnels can draw over sloped terrain in front of them.
- Fix: [#23828] Vehicles passing by station entrances and exits can cause them to glitch (original bug).
- Fix: [#23831] Hybrid Coaster large gentle banked right turns glitch when diagonal track is above them.
- Fix: [#23832] Hybrid Coaster large gentle banked left turns supports glitch as train passes.
- Fix: [#23836] Adjacent track can draw over large turns (original bug).
- Fix: [#23858] LSM launched lift hill has a misaligned sprite.
v0.4.20
2025-02-25 17:52:10 +01:00
Gymnasiast
51403b108e Merge branch 'develop' 2025-02-25 17:48:26 +01:00
Gymnasiast
af75011a66 Update backtrace token for v0.4.20 release 2025-02-25 17:48:04 +01:00