The LIM and LSM launched roller coasters used a bare `10` for their
negative G stat requirement, whereas every other coaster expresses it
with MakeFixed16_2dp(0, 10). The resulting value is identical, so this
is a notation-only change that makes the data consistent.
Replace the unscoped WATER_FLAGS_ALLOW_DUCKS constant with the
WaterObjectFlag enum class and a WaterObjectFlags FlagHolder, as part
of the ongoing move away from unscoped flag enums. No functional
change is intended.
When using the "drag to place" footpath tool over uneven terrain, paths are now automatically connected with appropriate slopes instead of being placed as disconnected flat tiles. The algorithm works in three phases, first it gathers terrain height along the drag axis, then it filters out obstacles like spiked terrain (isolated height jumps), lastly it builds the path tiles with slopes to bridge height differences
Only applies when neither Shift nor Ctrl is pressed.
* [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>
* Update const notation in RideAudio.cpp
* Update const notation in TitleSequence.h
* Update const notation in ParkFile.cpp
* Add loonyduck1 to contributors.md
* Convert ParkFileChunkType to enum class
* Use lowerCamelCase for ParkFileChunkType enum members
* Avoid introducing EnumValue for readWriteChunk calls
---------
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
* Refactor: Migrate rest of .d.ts file to use JSDoc-style comment notation
- Adds markdown links for file references
- Refactor inline lists into structured markdown lists
- More verbose bitmask documentation
- Adds @link fields where appropriate
- Moves some comments from being inline to above the referenced line to allow for IDE notation
- Fixes some broken/moved C file path references
- Adds bitmask documentation for staff orders
* Fix: Type name
* Change: contributors.md file
* Remove outdated recommendation
* Change file links to github links
* Add comment applicability disclaimer
* Add link to LandSetRightsArgs ownership file
* Remove `ClimateSetArgs`
This issue, along with several related language-specific
trunctions, was traced back to the fact that ScenarioIndexEntry
uses a fixed-length array of utf8 characters to store the name,
internal name, and scenario details. In some cases, this does
not provide enough characters to contain the full description
and so the safe copy methods truncate them to fit in the
available buffer.
Since the use of fixed-size arrays is a holdover from earlier
C code, this commit addresses the issue by changing ScenarioIndexEntry
to use proper utf8 strings and string views, which do not require
truncation.
This commit fixes the graphics bug #23348 by introducing an asynchronous
command completion signalling system in InteractiveConsole. This causes the
console to stop accepting new inputs while a command is being executed.
The console command system was also refactored to reduce code duplication and
remove return codes, which were unused and also poor error handling.
* Close#21569: Remove 'Window' from Window Open function names
Windows are all under the OpenRCT2::Ui::Windows namespace. As such, "Window" is removed from the Open functions names.
* Update Contributors.md
* Fix formatting TrackMangeOpen
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
* Fix formatting TrackPlaceOpen
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
---------
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>