Commit Graph
302 Commits
Author SHA1 Message Date
GhostCoder6969 e9fedc198f Fix typo in footpath error flag name (#27224)
Rename _footpathErrorOccured to _footpathErrorOccurred in the
footpath window. Add first-time contributor entry.
2026-10-01 17:58:52 +00:00
Yoshi Tacke b6be0498e4 Close #23147: Use Fixed16_2dp for negative G requirements (#27203)
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.
2026-09-25 23:43:22 +02:00
James Cranston 42dd7e5d0e Improve default station selection logic (#26812)
Legacy object selections can leave station object slot zero empty.  Use the first loaded station object as the fallback.
2026-09-23 22:01:33 +00:00
itu-itis24-iyigun24 c5550ef4ae Close #27129: Refactor WATER_FLAGS_* to enum class + FlagHolder (#27141)
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.
2026-09-20 15:29:16 +02:00
Arjan van Dijk 5fe7c12c6f Add missing "guestsEntertained" to Entertainer interface in plugin API (#27153) 2026-09-19 23:55:43 +02:00
frozensnowy 7cc48f5c14 Close #25362: Dragged footpaths over hills are disconnected (#25913)
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.
2026-08-21 22:07:27 +02:00
RayKoopa 5a814722e1 Add Walls-only and Footpath Addition modes to Clear Scenery (#26877)
* Add two new modes for Clear Scenery.
- Split "Walls" from "Small Scenery" into own mode
- Add "Footpath Additions" mode
2026-08-07 20:49:40 +00:00
ByteRaid b8cf2f8c35 Fix #25169: convert command strips packed objects (#26808) 2026-08-02 13:27:18 +00:00
Ben SpurlockandCursor 0fc88ab16c [Plugin API] Automation helpers for park directors and programmatic ride building (#26675)
* [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>
2026-07-20 09:16:29 +02:00
mhlas7 50d91c4e5f Let handymen check if a tile is being serviced by another handyman (#26639) 2026-07-15 17:52:38 +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
Alex HarveyandAaron van Geffen 6685f73c5f Replace old constant notation, convert ParkFileChunkType to enum (#26341)
* 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>
2026-05-28 10:22:11 +00:00
Marino Rottier 93435462de Migrate remaining spinner widgets to makeHoldableSpinnerWidgets (#26499) 2026-05-17 12:56:56 +02:00
Sjoerd de Bruin 1653e167bb Fix #26306: Check Homebrew paths when FindApp fails on macOS (#26307)
Fixes #26306, this allowed the set-up process to continue on my system.
2026-04-03 23:22:36 +02:00
Michael Steenbeek 78f43ec691 contributors.md: update team and toolchain sections (#26245) 2026-03-25 20:40:40 +01:00
pg805 b4a59ef4c7 Fix #26058: RCT Classic .sea scenarios with packed objects silently excluded from scenario index (#26081) 2026-02-23 22:42:43 +01:00
ζeh Matt d167605b39 Update contributors.md 2025-12-17 16:50:44 +02:00
Jonas (Elessar2)andGymnasiast 5c8867098d Fix #25028: Stalls can only use 1 colour preset
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2025-11-16 13:56:15 +00:00
MarcelVos96 21d2aaca35 Increase maximum size of the New Ride window further 2025-11-13 20:19:47 +01:00
Michael Steenbeek 02df25827d Update contributors.md 2025-11-06 00:53:47 +01:00
rarbor b160210259 Update name in contributors.md 2025-09-21 17:10:08 +02:00
Jater Xu 6fb00193ac Fix for Attempt to decrement guests in park and guests heading for park below zero. #21172
Fix:
- Calling recompute peep functions when in title sequence
- Provided a way to ignore the warning for title sequence
2025-09-01 19:47:42 -07:00
Ríša Szlachta fcce763ca5 Update crediting of translators (#25022)
* Add Galician (gl-ES) translator

* Add Czech (cs-CZ) translator

* Add Hungarian (hu-HU) translator
2025-08-22 17:12:54 -03:00
Michael Steenbeek ee25dcad7b Move oli414 to 'former team members'
Thanks for your hard work so far. You will be back :)
2025-05-28 13:53:12 +02:00
Aaron van Geffen 32f652e493 Add Joshua Jacobs to development team (#24256) 2025-04-20 19:17:35 +02:00
Alex 2f90184d50 Refactor rest of .d.ts file to use JSDoc-style comment notation (#24073)
* 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`
2025-03-28 22:49:09 +01:00
Garrett Leach 37be543c4c Add Guard::Assert function with std::source_location default parameter
Part of #12489
2025-03-19 22:49:55 -05:00
David Sungaila 081a2f44d9 Add see-through option to the "Cut-away View" (#23759) 2025-02-22 11:09:32 +01:00
Briar 376cb7980c Fix #9999-#10003: translations have truncated strings
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.
2025-02-15 00:18:24 +01:00
&Olga ceac95fa8f Add @andOlga to Russian translation credits 2025-01-03 20:11:09 +00:00
InvokeStatic (Brendan Heinonen) a3691982b3 Fix #23348: console command bugfixes and refactor (#23369)
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.
2024-12-16 16:59:47 +11:00
kendfreyandTulio Leao 307523610e Add Park.generateGuest() to plugin API (#22883)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-10-02 06:49:43 -03:00
mix 487624ee33 Add Mine Train RC flat-to-steep pieces 2024-09-29 23:22:54 +02:00
mix cd915b72f1 Add Wooden RC flat to steep track pieces 2024-09-20 21:34:28 +02:00
tmatale 14d0689b4f Fix #21959: No save prompt when starting a new game 2024-09-07 10:34:30 +00:00
Harry Hopkinson 7a403e0537 Add cheat to make guests ignore prices 2024-08-11 11:27:32 +00:00
AuraSpecs 8968c7d3fe Update OpenMusic to version 1.6 (#22262) 2024-07-10 07:43:52 +00:00
JohnandAaron van Geffen 71cba8ac37 Add music track listing to ride music window (#20980)
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2024-07-08 17:03:54 +02:00
lewycheandMichael Steenbeek 78300a80dd Fix #22185: Intensity and nausea are incorrectly sorted in the rides list after ratings invalidation
Co-authored-by: Michael Steenbeek <1478678+Gymnasiast@users.noreply.github.com>
2024-07-06 16:27:18 +02:00
Arnold Zhou 6c12eed204 List @mrmagic2020 as Chinese (Simplified) translator 2024-06-24 09:08:15 +02:00
Arnold Zhou a0f5d09408 Expose monthly expenditure history to plug-in API 2024-06-23 22:49:49 +02:00
Arnold ZhouandGymnasiast fb7961e30a Split off Enlarged UI from touch enhancements
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2024-06-14 20:49:12 +00:00
Arnold Zhou 63d1259fd7 Fix missing tooltip for Enlarged UI option 2024-06-04 12:09:03 +02:00
Arnold Zhou 01319ff352 Expose guest's favourite ride (ID) to plugin API 2024-05-27 15:18:02 +02:00
Aaron van Geffen f17d936958 Rejoined as of May 4th 2024-05-21 19:43:45 +02:00
Mike d58673105d Close #21974: No reason specified when attempting to place path additions on junctions 2024-05-09 12:45:33 +00:00
Kaavya Ramachandhran bc06ffce8b Add myself to contributors.md 2024-04-24 09:08:05 +02:00
Karsten Van Fossan 137099a429 Close #18305: Move Translate3DTo2DWithZ() from Map.h into Viewport.h
Translate3DTo2DWithZ move to Viewport.h as suggested by ducanspumpkin and update references. Remove redundant function Translate3Dto2D.
2024-04-21 01:18:11 +02:00
Claudio Tiecher fe84bb3e7e Adding my name to list of contribs 2024-03-25 16:17:32 +01:00
CoryYandTulio Leao 3f81a491b0 Close #21569: Remove 'Window' from Window Open function names (#21613)
* 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>
2024-03-17 06:37:46 +00:00