1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00
Commit Graph

2053 Commits

Author SHA1 Message Date
tanzimchowdh
cba53fd3ce Fix #20196: New scenarios start with an incorrect temperature 2024-01-22 20:18:31 +01:00
Severin Paul Höfer
2c26799ca4 Fix #20845: Outdated message box in case of save failure 2024-01-22 19:44:20 +01:00
Matt
7141fb4574 Merge pull request #21225 from ZehMatt/raise-mix-limit
Raise maximum allowed misc entities to 1600
2024-01-20 17:02:42 +02:00
Katherine Norton
0450435377 Add Plugin API for managing a guest's items (#21062)
* 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>
2024-01-20 11:51:23 -03:00
Severin Paul Höfer
39a37f14eb Fix #21054: No entrance style selected by default in track designer 2024-01-19 23:42:44 +01:00
Ota
33523c98c2 Fix #20628: Stop caret left moving off the input string 2024-01-19 13:48:51 +01:00
ζeh Matt
8ae4709aac Update changelog.txt 2024-01-19 14:45:31 +02:00
Matt
4c84215196 Merge pull request #21157 from Basssiiie/fix-plugin-widget-invalidation
[Plugin] Fix widgets not redrawing correctly when updating disabled or visibility state.
2024-01-16 21:05:36 +02:00
Matt
9527e9658b Merge pull request #21204 from Sadret/patch-1
Plugin documentation: Added missing field to SmallSceneryElement
2024-01-16 20:59:47 +02:00
Basssiiie
cc7c528885 Fix widgets not redrawing correctly when updating disabled/visible state 2024-01-16 14:05:21 +00:00
Severin Paul Höfer
15e0402c63 Fix #20255: Images not freed in Track Designs Manager (#21205)
* Add missing deallocation in track manager

* Update changelog.txt
2024-01-15 21:38:46 -03:00
Stephan Spengler
e8a7bc43b3 Plugin documentation: Added missing field to SmallSceneryElement 2024-01-15 12:42:40 +01:00
Max
7a9e8a5e44 Fix: setting brake/booster speeds via plug-in does not work 2024-01-15 08:28:21 +01:00
Severin Paul Höfer
62d0fd76e0 Fix #20616: Confirmation button in track designer's quit prompt has the wrong text
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.
2024-01-15 08:26:58 +01:00
ζeh Matt
d202f0044d Update changelog.txt 2024-01-12 17:56:27 +02:00
Michał Janiszewski
7d8f13a97f Add changelog entry for 20951 (#21186) 2024-01-12 08:48:35 -03:00
Michael Steenbeek
0e5c82e2d4 Close #18632: Display land ownership on the water (#21150)
Co-authored-by: pfroud <pfroud@users.noreply.github.com>
2024-01-12 07:14:11 +00:00
HtotheTML
50cf1aed67 Fix Inca Lost City’s scenario description
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.
2024-01-11 21:17:58 +00:00
Matt
ce0cc9fc84 Merge pull request #21162 from ZehMatt/fix-intervals
Fix #21145, #21158: Keep handles for intervals stable and resolve crash
2024-01-11 20:30:30 +02:00
Matt
c137d20a0b Merge pull request #21163 from fidwell/plugin-api-SmallSceneryPlaceArgs
Plugin documentation: Added missing required field to SmallSceneryPlaceArgs
2024-01-06 20:02:45 +02:00
Andrew
2768716238 Added missing required field to SmallSceneryPlaceArgs 2024-01-06 11:28:00 -05:00
ζeh Matt
c7a716e050 Update changelog.txt 2024-01-06 10:42:17 +02:00
James103
1d8dc111f1 Replace 2023 with 2024 in copyright headers (#21139)
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
Gymnasiast
f6840cb2af Start v0.4.8 2023-12-31 21:09:27 +01:00
Michał Janiszewski
0e8d46ea7c Release v0.4.7
- 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.
2023-12-31 15:09:59 +01:00
Gymnasiast
651a4662d6 Add object changes to changelog 2023-12-30 21:16:13 +01:00
Gymnasiast
aadf9161e2 Use curly quotes in changelog 2023-12-30 21:08:38 +01:00
blackhand1001
7b0b432cb8 Fix #16926: Grouped rides unlock only the first entry
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.
2023-12-30 20:05:44 +00:00
mrmbernardi
970504f2ad Fix #21042: SpriteData intialised incorrectly (#21125) 2023-12-29 23:21:15 +01:00
mrmbernardi
98a52efb7e Fix #5677: Balloons pass through the ground and objects (#20483) 2023-12-26 08:28:19 -03:00
Matt
2147b69104 Update the money effect even when the game is paused (#21102)
* Update the money effect even when the game is paused

* Update changelog.txt
2023-12-23 11:04:25 -03:00
ζeh Matt
7a54dcce9b Fix the changelog.txt 2023-12-23 01:34:34 +02:00
Matt
5fa955e1b3 Merge pull request #21101 from ZehMatt/update-changelog
Update changelog.txt based on changelog-format
2023-12-23 01:16:22 +02:00
Max
895095acb9 Fix #12299 Placing ride entrances/exits ignores the Disable Clearance Checks cheat (#21096) 2023-12-21 20:38:20 +01:00
ζeh Matt
70b12b3d15 Update changelog.txt based on changelog-format 2023-12-21 15:24:14 +02:00
Fredrik Tegnell
3f5d4b8941 Close OpenRCT2/OpenRCT2#20830: Display author field on scenery window (#21058)
* Close OpenRCT2/OpenRCT2#20830: Display author field on scenery window

* Apply code formatting fixes

* Apply code formatting fixes

* Fix code review changes
2023-12-19 21:15:04 -03:00
73
573ab043d6 Fix #13473: Lower Circus default price to avoid instant guest complaint (#21056)
From 1.50 to 1.20
2023-12-15 06:15:31 -03:00
ZeeMaji
ac3ab7e1d2 Fix #20311: Restore removed coaster colour presets (#20880)
* 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
2023-12-12 07:15:00 -03:00
Michael Bernardi
8c7d1d149a Added OpenGL TTF hinting 2023-12-08 01:13:17 +01:00
AuraSpecs
83598ba898 OpenMusic release v1.5 (#21004)
Adds Rock style 4 ride music by Blackend Blue.
2023-11-28 06:09:58 -03:00
mrmbernardi
efea009ed5 Fix #20624: Clear scrolling text cache on language change (#20993) 2023-11-20 22:31:35 +00:00
HtotheTML
42deffd5bb Fix #17774: gaps and errors in park boundaries and construction rights for RCT1 and RCT2 scenarios (#19657)
* 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
2023-11-17 08:23:05 -03:00
Michael Steenbeek
f8d71fcc2f Fix #20253, #20799, #20841, #20903, #20915: Crash when displaying a Lay-Down RC’s half loop (#20968)
* Fix #20253: Crash when displaying a Lay-Down RC’s half loop

* Bump network version
2023-11-15 23:36:14 -03:00
Fredrik Tegnell
af7086e283 Close #12078: Add shortcut key for sloping walls (#20860)
* Close OpenRCT2/OpenRCT2#12078: New shortcut key for sloping walls

* Close OpenRCT2/OpenRCT2#12078: New shortcut key for sloping walls

* Close OpenRCT2/OpenRCT2#12078: New shortcut key for sloping walls

* Close OpenRCT2/OpenRCT2#12078: New shortcut key for sloping walls

* Apply code formatting fixes

* Apply code formatting fixes

* Apply modulus operator to make code more concise

* Change string ID

* Apply code formatting fix

* Apply code formatting fix
2023-11-12 08:10:56 -03:00
KawkMob
135c8b9f9b Fix #20747: handle staff speed permanency/serialization/apply for new staff (#20756) 2023-11-12 08:06:51 -03:00
ζeh Matt
d4419ea89a Update changelog.txt 2023-11-11 19:03:54 +02:00
Michał Janiszewski
beb28ff32a Properly initialize class loader on Android
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).
2023-10-17 23:55:31 +02:00
Silent
6bc6b63ed4 Fix #18199: Dots in the game save's name get truncated (#20691) 2023-10-11 21:45:43 +01:00
Matt
f773adc508 Merge pull request #19919 from spacek531/track/diagonal-brakes
Diagonal brakes and block brakes
2023-10-10 02:39:09 +03:00
Duncan
b9c7637c83 Fix #20807: Copy the tertiary colour with the scenery eye dropper (#20820)
* Fix #20807: Copy the tertiary colour with the scenery eye dropper

* Add changelog entry and fix order of entries
2023-10-09 05:46:09 -03:00