- Improved: [#26560] [Plugin] Scripts can now be used to trigger saving a game (limited to the user save folder).
- Improved: [#26638] Guests will no longer watch rides while they’re underground.
- Improved: [#26747] Exporting a sprite file now also outputs a JSON file, allowing for round-trip conversions.
- Improved: [#26763] The ride colour/appearance tab now visually separates fields using group boxes.
- Improved: [#26765] The ride operations tab now visually separates fields using group boxes.
- Improved: [#26839] Magnify picked-up peeps when viewport is in double or quadruple zoom.
- Fix: [#26288] Land bordering map edges does not blend at certain angles.
- Fix: [#26610] Player list is not updated automatically when a player joins or leaves.
- Fix: [#26639] Handymen could begin a task while another handyman was already doing the exact same task.
- Fix: [#26752] The Cut-away View window doesn’t display negative height values correctly on some platforms.
- Fix: [#26756] Guests cannot puke or litter on sloped path.
- Fix: [#26758] [Plugin] IPv6 addresses are reported incorrectly.
- Fix: [#26775] Maze gets wrong intensity boost from size (0.02 per tile instead of 0.01 per 2 tiles).
- Fix: [#26805] Park entrance path is sometimes invisible when placed.
- Fix: [#26826] Invalid ride types can be set when the “Allow arbitrary ride type changes” cheat is enabled.
- Fix: [#26842] Best staff award doesn’t need one of each staff type.
The current surface tiles position was being set to session.SpritePosition, which changed depending on the camera angle, rather than session.MapPosition. Depending on the camera angle, this puts the current tile position out of bounds at the edges of the map, skipping the blend.
This fixes that, and then adjusts the neighbouring tile coordinates so that they work for the correct starting position. These now make a lot more sense, the previous coordinates were quite strange in order to compensate for the original offset position.
This also renames that array of coordinates to a better name. As far as I know this array doesn't already exist elsewhere.
The current surfaces position is only being used to check when blending, so this should not affect anything else.
I've checked by diffing giant screenshots of a couple of parks at all rotations and found no other differences, but this could probably do with a double check.
* Remove unneeded includes from src/openrct2/interface
* Remove unneeded includes from src/openrct2/entity
* Remove unneeded includes from src/openrct2/localisation
* Remove unneeded includes from src/openrct2/management
* Remove unneeded includes from src/openrct2/network
* [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>