Commit Graph
30225 Commits
Author SHA1 Message Date
Michael Steenbeek 30f5ab2ed2 Merge pull request #26747 from Gymnasiast/feature/round-trip-g1
Export a JSON file on `sprite exportall`, allowing for round-trip Gx conversion
2026-07-08 13:11:26 +02:00
Gymnasiast 9e59499360 Amend changelog 2026-07-08 13:10:25 +02:00
Gymnasiast 5fbccd8cee Replicate how Sawyer’s tools created g1 entries 2026-07-08 11:45:27 +02:00
Gymnasiast a46542d7dc Write JSON sprites file when exporting a whole GX file 2026-07-08 11:45:27 +02:00
RayKoopaandMarino Rottier 33e10e4783 Fix IPv6 addresses in the plugin API (#26758)
Properly pass the `sockaddr_in` pointer instead of its address to `reinterpret_cast`.

Co-authored-by: Marino Rottier <mail@vanmarino.nl>
2026-07-07 17:41:28 +00:00
73chn1cand73chn1c 229d35bce2 Document ListViewItem shape for multi-column list views (#26746)
Clarify that items is string[][] (one string[] row per entry) when
columns are used, not a flat string[], per confusion reported in #17855.

Co-authored-by: 73chn1c <73chn1c@users.noreply.github.com>
2026-07-07 19:33:45 +02:00
MarcelVos96 b4bdc95c62 Fix #26756: Guests cannot puke or litter on sloped path (#26757) 2026-07-07 19:30:43 +02:00
Michał Janiszewski 9ad3b333c7 Upgrade action-gh-release from v2 to v3 (#26755) 2026-07-06 22:46:30 +02:00
Michał Janiszewski 0b0f1336b4 Start v0.5.4 2026-07-05 18:54:51 +02:00
Michał Janiszewski 9472994a7a Merge branch 'master' into develop 2026-07-05 18:52:23 +02:00
Michał Janiszewski f503f57bdb Release v0.5.3
- Feature: [#26308] Add all new track pieces to the inverted roller coaster.
- Feature: [#26442] Add cheat to disable grass growing.
- Improved: [#7921] On Linux, RCT2 and RCT1 installs in Wine are now automatically detected.
- Improved: [#26325] Changing the train type, length, or direction no longer resets the number of laps if there is just one train.
- Improved: [objects#437] Re-order St. Basil’s Cathedral pieces to be more consistent.
- Change: [#26689] A clear scenario editor can now be opened directly from the command line.
- Change: [objects#439] Drop numbers from Wacky Worlds scenery descriptions.
- Fix: [#24613] Incorrect sprites drawn for path elements without a valid object.
- Fix: [#26323] Ride stats do not reset when changing the number of trains changes the number of laps.
- Fix: [#26494] The limits for where walls on the path side of the first tile block the view of rides/scenery are wrong (original bug).
- Fix: [#26504] The boosts/penalties to excitement and nausea that air time provides are calculated wrong.
- Fix: [#26545] Game crashes when plugin API function generateGuest fails to generate a guest.
- Fix: [#26578] Crash when drawing path elements without a valid object.
- Fix: [#26605] Desync when placing a track design in multiplayer.
- Fix: [#26654] Fix Alton Towers stall and Rock’n’Roll Revival toilet being closed on scenario start.
- Fix: [#26722] Missing construction rights owned on UCES Sand Dune scenario.
- Fix: [objects#411] Some colours in green, acid green, pink and red water are inconsistent with natural water.
- Fix: [objects#436] St. Basil’s Cathedral building pieces are incorrectly labelled as “Kremlin” pieces.
- Fix: [objects#438] Some walls are not marked as see-through while they don’t fully block the view.
- Fix: [objects#440] Inconsistencies in scenario/park name capitalisation.
2026-07-05 18:24:58 +02:00
Michał Janiszewski d2d5334a68 Merge branch 'develop' 2026-07-05 18:18:37 +02:00
Michał Janiszewski da2b947035 Update BACKTRACE_TOKEN in Crash.cpp 2026-07-05 18:16:53 +02:00
OpenRCT2 git bot ee385604d5 Merge Localisation/master into OpenRCT2/develop 2026-07-05 05:17:43 +00:00
Harry Hopkinson 070cb63993 Refactor Focus constructor to use member initialisers (#26740) 2026-07-02 21:13:38 +02:00
OpenRCT2 git bot 5b38787405 Merge Localisation/master into OpenRCT2/develop 2026-07-01 05:30:21 +00:00
Aaron van Geffen 2e4f21b1b0 Rename EditorObjectSelectionSession to EditorController and namespace (#26729)
* Rename EditorObjectSelectionSession to EditorController

* Move EditorController into Editor namespace
2026-06-30 22:56:35 +02:00
Tulio Leao 069d0aea8b Fix #26722: Missing construction rights owned on UCES' Sand Dune (#26725) 2026-06-27 08:54:40 -03:00
Michael Steenbeek f4f66c9b79 Make CLI exit code into strong enum (#26723) 2026-06-26 22:43:32 +02:00
Michael Steenbeek bc87826fbe Merge pull request #26717 from Gymnasiast/fix/g1-export
Bring G1 building more in line with vanilla
2026-06-26 22:42:51 +02:00
Daniel Rödl 4da7daa2f9 Fix OpenRCT2#7921: Search in user's wine path for RCT2 and RCT1 install files (#26292) 2026-06-25 20:41:25 +02:00
Michael Steenbeek 3ff49155f2 Merge pull request #26325 from MarcelVos96/resetStatsWhenNumLapsChanges
Add stats reset when lap count is forcibly changed & avoid unnecessary lap count resets
2026-06-24 16:44:50 +02:00
MarcelVos96 06a325e895 Don't reset lap count if changing train type, length. or direction of a single train 2026-06-24 16:30:57 +02:00
MarcelVos96 d30e0c5d83 Make ride stats reset when changing the number of trains changes the number of laps 2026-06-24 16:30:07 +02:00
Gymnasiast 51b7b6cc43 Fix RLE check in GfxDrawSpriteRawMaskedSoftware() 2026-06-24 13:59:48 +02:00
Gymnasiast ad4bbd02db Do not write two stray null bytes if we hit the last pixel of a compressed image 2026-06-24 12:34:53 +02:00
Gymnasiast 5bc368dfdb Set G1Flag::hasZoomSprite when a zoom offset has been specified in JSON 2026-06-24 12:34:53 +02:00
Gymnasiast 0833b474c4 Always set G1Flag::hasTransparency (bit 0) when importing an image
RCT1/2 always set this flag when an entry is an image of any sort (as opposed to a palette entry). It may be misnamed, as both regular and compressed/"RLE" images support transparency.

This modifies a single bit in the example.dat file, as expected. For convenience:

2c2
< 00000010: 0000 0000 0400 0000 0001 0501 0a01 0f01  ................
---
> 00000010: 0000 0000 0500 0000 0001 0501 0a01 0f01  ................
2026-06-24 12:34:04 +02:00
Gymnasiast 96fae1b2ae Allow images over 256×256 pixels
RCT1 uses these and RCT2 may too (specifically for the reverse freefall coaster), so this limit does not seem to be inherent to g1.
Maybe it could be removed outright.
2026-06-24 12:10:38 +02:00
Alex Parisi 99ea620836 Fix desync when placing tracks (#26605)
When any player in multiplayer places a track design, `TrackDesignAction::Execute` runs on every client which calls `UtilRand()`, resulting in every client getting a different colour since it's non-deterministic. Each client then commits its own local colour to `Vehicle::colours`. Since that field is part of the entity checksum, `NetworkBase::CheckSRAND` will flag a desync.

This PR adds a parameter to `RideGetUnusedPresetVehicleColour` to allow the caller to pass in a random value and make the choice of determinism. The UI call sites can still use `UtilRand`, but `TrackDesignAction` should be using `ScenarioRand`.
2026-06-24 09:39:00 +00:00
Gymnasiast b38b8505e1 Fix changelog entry 2026-06-24 11:10:20 +02:00
Michael Steenbeek a5a2da1f12 Update to objects release v1.7.10 (#26715) 2026-06-24 11:06:49 +02:00
Tulio Leao e226367de4 Merge pull request #26714 from tupaschoal/open_patch
Fix #26654: Allow .parkpatch files to set rides to open
2026-06-23 17:28:04 -03:00
OpenRCT2 git bot 6ce977cb87 Merge Localisation/master into OpenRCT2/develop 2026-06-23 05:18:30 +00:00
Tulio Leao b42d4a3942 Fix #26654: closed shops on scenario startup 2026-06-22 19:55:19 -03:00
Tulio Leao d1d3044dac Part of #26654: Allow .parkpatch files to set rides to open 2026-06-22 19:46:53 -03:00
mix 34df5c1001 Fix #24613, #26578: Incorrect sprites drawn or crash with invalid paths (#26600) 2026-06-22 18:26:32 +00:00
Harry Hopkinson 63fd3f9458 Fix ratingMultiplier spelling mistake (#26664) 2026-06-22 20:02:15 +02:00
Alex Parisi f4008a433a Fix DEBUG flag checks 2026-06-22 19:51:45 +02:00
OpenRCT2 git bot aab9944563 Merge Localisation/master into OpenRCT2/develop 2026-06-22 05:46:04 +00:00
Gymnasiast 8625ac2a24 Remove irrelevant changelog entry
[ci skip]
(Discussed with Aaron)
2026-06-21 18:21:00 +02:00
Gymnasiast 63fd423e63 Merge branch 'rename-opaque-flag-transparent' into develop 2026-06-21 17:54:41 +02:00
Harry Hopkinson 95df165f9b WALL_SCENERY_2_IS_OPAQUE flag denotes transparent wall object 2026-06-21 17:19:21 +02:00
Harry Hopkinson 7e01b1ec1e Remove redundant includes from openrct2/actions (#26699) 2026-06-19 11:03:19 +02:00
OpenRCT2 git bot 6df662bf1b Merge Localisation/master into OpenRCT2/develop 2026-06-19 05:40:49 +00:00
OpenRCT2 git bot 05a3a7b0ce Merge Localisation/master into OpenRCT2/develop 2026-06-17 05:36:26 +00:00
mrmbernardi a64f0eff6c Fix crash when ScPark::generateGuest fails to generate a guest (#26681) 2026-06-16 20:24:53 +02:00
OpenRCT2 git bot 321b715e21 Merge Localisation/master into OpenRCT2/develop 2026-06-16 05:47:26 +00:00
Aaron van Geffen ad24c5c17f Introduce SceneManager class (#26691) 2026-06-14 16:46:48 +00:00
Michał Janiszewski 193b2da77e Turn off optimizations for MSVC to fix miscompilation (#26678)
This adds a workaround for the MSVC bug reported here:
https://developercommunity.visualstudio.com/t/MSVC-amd64-O2-miscompiles-SDL_ttf-deriv/11104938

Fixes #26637
2026-06-14 18:45:12 +02:00