* [Plugin API] Add automation helpers for park directors and ride building
Expose ride maintenance metrics, context.gameSpeed, map bulk queries,
riderefurbish action alias, FootpathElement.isAdditionFull, and
TrackSegment.getNextValidSegments. Bump plugin API version to 115.
Includes TrackPieceSelection from markusklock's work (#25840).
Co-authored-by: Cursor <cursoragent@cursor.com>
* Add PR #26675 to distribution/changelog.txt
Co-authored-by: Cursor <cursoragent@cursor.com>
* Fix CI: clang-format and changelog ordering
Reorder 0.5.3 changelog entries and apply format-changelog.js output.
Apply clang-format fixes to ScriptEngine.cpp and ScMap.cpp.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Fix contributor name to Ben Spurlock (BenDaSpur)
Co-authored-by: Cursor <cursoragent@cursor.com>
* Fix changelog EOF for CI check-changelog-formatting
Remove trailing blank line so the file matches formatter output via
echo (bash strips trailing newlines from command substitution).
Also correct contributor name to Ben Spurlock (BenDaSpur).
Co-authored-by: Cursor <cursoragent@cursor.com>
* Remove #25840 TrackPieceSelection overlap from PR #26675
Per maintainer feedback, drop TrackSegment.getNextValidSegments and the
TrackPieceSelection implementation copied from markusklock's open PR #25840
so this change set can be reviewed independently. Those additions will be
picked up when #25840 lands.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Simplify plugin API per maintainer review
Drop the riderefurbish alias and bulk map query APIs in favor of existing
primitives, and consolidate the changelog entry.
* Fix isAdditionFull to only report visibly full / emptiable bins
Per review feedback, a litter bin slot is only "full" (shows the full
sprite and can be emptied by a handyman) once its 2-bit edge slot reaches
0, not whenever the status byte is below 255. Mirror the engine's own
Staff::updatePatrollingFindBin logic and require the addition to be a bin.
* Remove unused includes left over from dropped APIs
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
* Split OperatingOnPrepareDraw into two functions: one for mode, one for wait/load
* Set up modular operating and load widget positioning
* Drop horizontal rule between mode settings and depart settings
* Fix button width calculation in resizeSpinner, resizeDropdown
* Hide mode/load group boxes when not applicable to ride
* Add changelog entry
* Add context.saveGame() binding in plugin API.
* Add option to save games to a specific path via the plugin API.
* Alter documentation for SaveGameOptions.
* Bump kPluginApiVersion to 116.
* Use IsFilenameValid to disallow saving files with invalid characters
* Add changelog entry
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>
- 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.