Commit Graph
30232 Commits
Author SHA1 Message Date
Aaron van Geffen cfadbe53e8 Counter false positive warning for gcc 15.2 (used for MinGW CI) 2026-06-27 15:57:49 +02:00
Aaron van Geffen d543de0807 Work around GameLoadInit switching scene away from editor 2026-06-27 15:36:49 +02:00
Aaron van Geffen 75683c6014 Fix ConvertSaveToScenarioCallback 2026-06-27 15:02:44 +02:00
Aaron van Geffen bd3d24b181 Add clarification around GameLoadInit calls 2026-06-27 14:59:08 +02:00
Aaron van Geffen 35180cbefe Fold remaining Editor unit into EditorController 2026-06-27 14:49:12 +02:00
Aaron van Geffen 8455d576f7 Move SetAllLandOwned into EditorScene 2026-06-27 14:32:19 +02:00
Aaron van Geffen 85bcdf6bf3 Replace editor load functions with scene switching 2026-06-27 14:25:23 +02:00
Aaron van Geffen 7fec8707dd Let TrackDesigner/ManagerScene inherit from EditorScene 2026-06-27 14:23:00 +02:00
Aaron van Geffen fb6d596ada Integrate more editor functions into EditorScene 2026-06-27 14:14:06 +02:00
Aaron van Geffen b41cb2eaf3 Introduce TrackDesignerScene, TrackManagerScene 2026-06-27 12:15:27 +02:00
Aaron van Geffen ead32abd75 Split off clearFinances from clearMapForEditing; clarify LoadLandscape 2026-06-26 16:27:14 +02:00
Aaron van Geffen 5ecc78a556 Add basics for EditorScene 2026-05-30 17:15:00 +02:00
Aaron van Geffen 9ec5c48fe8 Update copyright for GameScene files 2026-05-30 16:52:38 +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