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

28207 Commits

Author SHA1 Message Date
Aaron van Geffen
3721dbdffa ScenarioSelect: load minimap using background worker (#24436) 2025-05-18 15:45:11 +02:00
Andrew
736d9448af Close #22476: Add time since last inspection to Rides List window (#24080)
* Add time since last inspection to ride window

* Changelog

* Add missing entry to ride_info_type_money_mapping
Make dropdown wider

* Consistent formatting

* Update distribution/changelog.txt

---------

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2025-05-18 09:56:44 +00:00
OpenRCT2 git bot
208480f005 Merge Localisation/master into OpenRCT2/develop 2025-05-18 04:05:55 +00:00
Aaron van Geffen
0acf53d1f9 Rework map iteration for the two smoothing algorithms in use (#24280) 2025-05-17 23:30:53 +02:00
ZeeMaji
7d930a866b Allow building zero g rolls on LIM RC without cheats 2025-05-17 22:56:57 +02:00
Matt
5d31e30434 Stricter OpenGL error checking (#24419)
* Wrap OpenGL api calls to catch errors more easily

* Default initialize members, use correct types, more error checking

* Add missing include

* Fix the build, hopefully

* Ignore clang-tidy warning

* Change the macro expansion
2025-05-17 23:54:28 +03:00
Matt
e20824d1fa Fix #24422: More than one viewport is causing issues 2025-05-17 22:38:25 +02:00
OpenRCT2 git bot
16bcca5f5f Merge Localisation/master into OpenRCT2/develop 2025-05-17 04:02:20 +00:00
Matt
77511786b2 Merge pull request #24407 from ZehMatt/windows-storage
Eliminate more shared_ptr usage
2025-05-17 01:18:00 +03:00
mix
4c2964dcea Improve Zero G Roll fallback vehicle sprites
This improves the fallback vehicle sprites for Zero G Rolls. Apart from one pitch/bank angle, they have been changed to fallback to the inline roll sprites. I tried to see if any of the corkscrew sprites could be used, but I didn't think any were suitable, and in my opinion having a smoother animation overall looks better than it changing angles several times. I also renamed a vehicle paint function that seems to have an incorrect name.
2025-05-16 21:58:39 +00:00
Matt
df3366a1b5 Merge pull request #24412 from ZehMatt/opengl-locking
Remove lock from TextureCache, draw calls are never done in parallel
2025-05-17 00:53:12 +03:00
ζeh Matt
e3fb47cf98 Fix flaw in BringToFront using the wrong iterator, ignore dead ones 2025-05-17 00:45:09 +03:00
ζeh Matt
c37327a9c9 Use continuous but stable storage for viewports 2025-05-17 00:45:08 +03:00
ζeh Matt
39479d7b12 Use vector and unique_ptr for windows storage 2025-05-17 00:45:08 +03:00
Aaron van Geffen
06a75e312f Fix off-by-one when generating park minimaps (#24415) 2025-05-16 22:11:46 +02:00
ζeh Matt
43f148db96 Remove lock from TextureCache, draw calls are never done in parallel 2025-05-16 16:45:09 +03:00
mix
c51b755ea9 Fix park fences drawing underneath and through opaque water 2025-05-16 14:47:52 +02:00
Aaron van Geffen
bcb6c40c59 Rework display tab in options window (#24385)
* Divide display options into three group boxes

* Turn frame rate limit options into dropdown
2025-05-15 22:40:04 +02:00
Matt
42df41efdb Remove the use of shared_ptr for the Context (#24404)
* Replace shared_ptr with unique_ptr for Context systems, return refs

* Fix all the users

* clang-format fix

* Fix linux builds
2025-05-15 22:46:06 +03:00
OpenRCT2 git bot
c2e042e5e1 Merge Localisation/master into OpenRCT2/develop 2025-05-15 04:02:41 +00:00
OpenRCT2 git bot
67be9614e3 Merge Localisation/master into OpenRCT2/develop 2025-05-14 04:03:01 +00:00
Garrett Leach
56e0afe8aa Fix divide by zero when there is no scenery (#24371) 2025-05-13 08:07:01 +00:00
OpenRCT2 git bot
40f6829dd1 Merge Localisation/master into OpenRCT2/develop 2025-05-13 04:03:15 +00:00
Max
5a95e5e27d Close #24313 - Add API for setting a car’s ‘isCrashed’ flag
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2025-05-12 21:42:46 +00:00
kysrit
3529c0be3a Part of #16033: create constants for crash particles 2025-05-12 23:09:50 +02:00
Aaron van Geffen
f949e17f09 Add dedicated 'clear' string for clear button (#24387) 2025-05-12 15:53:46 +00:00
Michael Steenbeek
991351e6a3 NSIS installer: clear old objects, add all OpenRCT2 languages (#24362)
* Clear out data dir before upgrading

* Add additional installer languages

* Update URL

* Block if user tries to install to the RCT2 folder

* Also check for the presence of RCT Classic

* Add changelog entries

* Fix wording of one string and the changelog entry

Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>

---------

Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2025-05-12 13:01:36 +02:00
Michael Steenbeek
0e5d602a7e Fix wording of one string and the changelog entry
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2025-05-12 12:50:43 +02:00
Gymnasiast
62bc8dfd1f Add changelog entries 2025-05-11 23:49:02 +02:00
Gymnasiast
fd5e95e29d Also check for the presence of RCT Classic 2025-05-11 23:48:48 +02:00
Gymnasiast
d5534b061a Block if user tries to install to the RCT2 folder 2025-05-11 23:10:33 +02:00
Gymnasiast
96445b1b11 Update URL 2025-05-11 23:10:32 +02:00
Gymnasiast
2155a18f4b Add additional installer languages 2025-05-11 23:10:32 +02:00
Gymnasiast
d4b6d20dd5 Clear out data dir before upgrading 2025-05-11 23:10:32 +02:00
Michael Steenbeek
1a571cd4e4 Create enum for TextColour 2025-05-11 22:37:21 +02:00
Michael Steenbeek
c17a3fed82 Close #24368: 'Update available' button should lead to openrct2.io (#24372)
* 'Update available' button should lead to openrct2.io

* Add missing issues to changelog
2025-05-10 23:45:13 +02:00
Gymnasiast
42adb068db Add missing issues to changelog 2025-05-10 23:11:13 +02:00
Gymnasiast
3641d80519 'Update available' button should lead to openrct2.io 2025-05-10 20:30:17 +02:00
Michael Steenbeek
45a408c84f Update hendrikmuhs/ccache-action to v1.2.18
v1.2.17 or higher is needed to use the new GitHub cache service - the old one was decommissioned on the 15th of April: https://github.blog/changelog/2025-03-20-notification-of-upcoming-breaking-changes-in-github-actions/#decommissioned-cache-service-brownouts

As the fix for hendrikmuhs/ccache-action#146 was merged in v1.2.17, I also removed that section.
2025-05-09 14:29:21 +02:00
Michael Steenbeek
7ddb806063 Close #24324: Split font.dat from g2.dat 2025-05-09 14:01:28 +02:00
Matt
44aebeaf26 Merge pull request #24353 from ZehMatt/fix-invalidation-debug
Fix paint debug to visualize invalidation
2025-05-08 14:46:53 +03:00
ζeh Matt
f241973585 Fix paint debug to visualize invalidation 2025-05-07 23:26:33 +03:00
Garrett Leach
099791ba76 Remove unused vClip in line shader (#24346)
The shader does not have this attribute which is why GetAttributeLocation is never called to populate it.
2025-05-06 14:23:59 +02:00
OpenRCT2 git bot
982e7e898c Merge Localisation/master into OpenRCT2/develop 2025-05-06 04:02:21 +00:00
OpenRCT2 git bot
78fc6053c7 Merge Localisation/master into OpenRCT2/develop 2025-05-05 04:03:20 +00:00
Matt
6335c31336 Rename DrawPixelInfo to RenderTarget (#24339)
* Begin backend separation, rename type DrawingPixelInfo to RenderTarget

* Rename dpi variables to rt
2025-05-04 22:06:46 +00:00
Aaron van Geffen
4035e01b38 Start v0.4.23 2025-05-04 20:23:00 +02:00
Aaron van Geffen
7d87f8a4d8 Merge branch 'master' into develop 2025-05-04 20:22:13 +02:00
Aaron van Geffen
b7199e3099 Release v0.4.22
- Feature: [#24206] [Plugin] Add APIs for breaking down rides, reading the current breakdown, and for fixing broken down rides.
- Improved: [#20073] The OpenGL drawing engine now supports screen invalidation which avoids the redrawing of unchanged regions.
- Improved: [#21767] RCT Classic for macOS can now be used as the source game.
- Improved: [#23590] Title bars are now drawn bigger when “Enlarged UI” is enabled.
- Improved: [#23626] Add small, medium and large flat and sloped turns, S-bends and diagonal track to the Go-Karts.
- Improved: [#23982] The scenario objective window has been merged into the scenario options window.
- Improved: [#24233] RCT Classic+ from Apple Arcade can now be used as the source game, and is detected automatically.
- Improved: [#24260] Better performance on parks that have a lot of Guests and Entertainers.
- Improved: [#24319] RCT Classic installs via Steam are now detected automatically on Windows.
- Change: [#23803] Lightning strikes and thunder now happen at the same frequency independently of the game speed.
- Change: [#23857] Replace display options tab with custom sprites.
- Change: [#24069] [Plugin] Plugins are now available in the scenario editor and track designer.
- Change: [#24135] Compress Emscripten js/wasm files.
- Change: [#24194] The advanced options tab has been reworked to make it easier to find the RCT1 path setting.
- Change: [#24235] Small changes to RCT1 theme.
- Change: [#24236] Controls and Interface options now both have their own tabs in the Options window.
- Change: [#24308] “Software” and “Software (hardware display)” renderers have been merged into a single “Software” renderer.
- Change: [#24317] The scenery window now shows at least one row of scenery objects, even if there are multiple rows of tabs.
- Fix: [#18479] Tile elements ordered beneath water do not draw correctly.
- Fix: [#19782] Game stops counting inversions and golf holes after 31 (original bug).
- Fix: [#21207] Track List window gets positioned incorrectly.
- Fix: [#21919] Non-recolourable cars still show colour picker (original bug).
- Fix: [#22182] [Plugin] Crash when using map.getAllEntities("car").
- Fix: [#22634] Asset packs with sound effect overrides are not loaded correctly at startup.
- Fix: [#23108] Missing pieces on Hypercoaster and Hyper-Twister, even with the ‘all drawable track pieces’ cheat enabled.
- Fix: [#24013] Failure to load a scenario preview image (minimap) could lead to an uncaught exception error message.
- Fix: [#24045] [Plugin] Data storage is not cleared when converting save game to scenario.
- Fix: [#24121] Checkbox labels run beyond the edge of the window if they’re too long to fit.
- Fix: [#24142] [Plugin] Track origin is miscalculated on downward slopes.
- Fix: [#24220] Narrow station platforms have missing sides on certain rotations.
- Fix: [#24286] Steam installs of RCT1 and RCT2 are not autodetected on macOS.
- Fix: [#24310] [Plugin] Missing invalidation on various plugin api setters for entities.
v0.4.22
2025-05-04 19:17:54 +02:00
Aaron van Geffen
62c713f9b1 Merge branch 'develop' 2025-05-04 19:09:10 +02:00