* Add API for guest items in openrct2.d.ts
* Create GuestItem interfaces
* Set fields to readonly and add documentation
* Implement getting items array
* Implement checking if a guest has an item
* Implement removing items from guests
* Implement giving a guest an item
* Re-merge GuestItemType with FoodDrinkType
* Add more data validation for the EnumMaps
* Update versioning and changelog
* Add some errors to the give_item method
* Bump network version
* Update VoucherType to if/else
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
* Add static_assert to ScGuest.hpp
---------
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
Wrapped the logic for determining the text to be displayed on title
and buttons of the save prompt in an if condition, so it's not run for
the pure quit prompt.
The scenario Inca Lost City from the Wacky Worlds expansion states that there are height restrictions. Since there aren't, I've removed the corresponding text.
- Feature: [#12078] Add shortcut key for toggling wall slope.
- Feature: [#19919] Add diagonal brakes and diagonal block brakes to most coaster types.
- Feature: [#20141] Add additional track pieces to the Giga Coaster.
- Feature: [#20825] Made setting the game speed a game action.
- Feature: [#20830] Display author field on scenery window.
- Feature: [#20853] [Plugin] Add “BaseTileElement.owner” which is saved in the park file.
- Feature: [objects#257] Re-introduce the RCT1 road, which does not have handrails.
- Feature: [OpenMusic#46] Added Mystic ride music style.
- Feature: [OpenMusic#50] Added Rock style 4 ride music.
- Improved: [objects#261] Add composer credits on all RCT2 music objects.
- Change: [#20790] Default ride price set to free if park charges for entry.
- Change: [#20880] Restore removed default coaster colours.
- Change: [#21102] The money effect will now update even when the game is paused.
- Change: [objects#244] Update sort priorities for expansion scenery groups.
- Change: [objects#256] Use recoloured RCT2 artwork on the Fruity Ices Stall, rather than the (slightly different) RCT1 artwork.
- Fix: [#5677] Balloons pass through the ground and objects.
- Fix: [#12299] Placing ride entrances/exits ignores the Disable Clearance Checks cheat.
- Fix: [#13473] Guests complain that the default Circus price is too high.
- Fix: [#15293] TTF fonts don’t format correctly with OpenGL.
- Fix: [#16453] Tile inspector invisibility shortcut does not use a game action.
- Fix: [#16926] When multiple vehicles are grouped in research, only one of them is unlocked.
- Fix: [#17774] Misplaced/missing land and construction rights tiles in RCT1 & RCT2 scenarios.
- Fix: [#18199] Dots in the game save’s name no longer get truncated.
- Fix: [#19722] “Forbid tree removal” restriction doesn’t forbid removal of large scenery tree items.
- Fix: [#20253] Crash when displaying a Lay-Down RC’s half loop.
- Fix: [#20356] Cannot set tertiary colour on small scenery.
- Fix: [#20624] Scrolling text glitches after language is changed.
- Fix: [#20679] Android: game crashes at launch.
- Fix: [#20737] Spent money in player window underflows when getting refunds.
- Fix: [#20747] Staff speed cheat not applying to newly hired staff, UI not showing the current applied speed.
- Fix: [#20778] [Plugin] Incorrect target api when executing custom actions.
- Fix: [#20807] Tertiary colour not copied with small scenery.
- Fix: [#20964] Crash when player connects to server with a group assigned that no longer exists.
- Fix: [#20995] TTF fonts don’t support hinting, outlines, or insets with OpenGL.
- Fix: [#21042] Peeps don’t render properly in S4 parks.
- Fix: [objects#246, objects#248] Some objects are incorrectly marked as originating from RCT1.
- Fix: [objects#260] Submarine Ride has its capacity listed incorrectly.
This fixes rides without RIDE_TYPE_FLAG_LIST_VEHICLES_SEPARATELY from only unlocking the first entry on stock RCT2 saves/scenarios.
This makes the wooden coaster properly unlock its trains on stock RCT2 scenarios and saves. This restores the correct stock behaviour while maintaining the missing items research fix which is what broke this behaviour.
* Restore removed coaster colour presets
* Update changelog entry
* Add lost purple impulse preset
* Add lost yellow and red presets to impulse
* Fix typo in purple impulse preset
* Remove accidentally included hairpin presets from impulse
* Update S6Importer.cpp
* clang format error. Added changelog entry.
* Update S6Importer.cpp
* Added fixes for RCT1 scenarios
The issues in Katie's Dreamland, Utopia Park, Urban Park, Pleasure Island, and Fort Anachronism listed in issue #17774 have been now dealt with.
* Added land for Cradle's underwater path.
* Update changelog.txt
* Updated changelog.
* specify text for path fix in Cradle
* Update S6Importer.cpp
* More missing tiles in Coastal Reclaim & Salvage
* Update S6Importer.cpp
* Update S6Importer.cpp
* missed tile in stone age
* Classic compatibility
Added edit compatibility for classic scenarios on rct2 maps.
* Update changelog.txt
* Update S6Importer.cpp
* Update S6Importer.cpp
* Update S6Importer.cpp
* Fun At The Beach
Fixed errant tiles in Fun at the Beach.
* Update S6Importer.cpp
* Update S6Importer.cpp
* Extreme Heights Fix
missing tiles along edge of Extreme Heights park boundary; should run to 1 tile from the edge of the map almost all the way around.
* Final Set of Changes
Did a quick run-through of all the maps looking for any possible missed spots. I did find a series of spots, some clearly meant to be owned, and others that I'm a bit less than sure about. For now, I've commented out the spots that I don't feel are strictly necessary to have included, while the remaining ones I feel are necessary.
* Update S4Importer.cpp
* add optional fixes
un-commented the extra changes; they are now included.
* Update changelog.txt
* fix clang format error
* Update changelog.txt
* Update S6Importer.cpp
OOB underground path
* Update S6Importer.cpp
* Update S6Importer.cpp
* above runaway plumber gaps
* Update changelog.txt
https://github.com/OpenRCT2/OpenRCT2/pull/20502 changed how startup is
handled. This affected Android as well and changed AndroidClassLoader to
be initialized statically, but this turns out to be problematic due to
JVM not being fully initialized in our context by this time.
To fix this, move AndroidClassLoader initialization to JNI_OnLoad call,
where JVM is fully available.
Additionally, guard against multiple calls to JNI_OnLoad, an issue
present on Linux-like systems (including Android).