Commit Graph

2180 Commits

Author SHA1 Message Date
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
ζeh Matt 34ed27b075
Update changelog.txt 2023-10-08 02:39:35 +03:00
ζeh Matt b4376ab590
Add owner property to tile elements for scripting 2023-10-08 02:30:43 +03:00
fidwell ce269e0d53 Merge remote-tracking branch 'origin/develop' into invisibility-shortcut 2023-10-07 10:07:50 -04:00
Andrew e17bca3b53
Made setting the game speed a game action (#20825)
* Bare minimum for a game action

* Changelog entry

* Fixed formatting

* Consistent capitalization

* Committed wrong file

* Removing redundant toolbar invalidations

* Bump network version; remove redundant qualifier

* Fixed crash on starting server
2023-10-04 16:13:40 +01:00
fidwell 95169f9632 Tile inspector invisibility shortcut does not use a game action 2023-10-02 22:26:55 -04:00
Spacek531 7f707bdd34 add changelog 2023-10-01 18:58:06 -07:00
Michael Steenbeek e94dc57d32
Fix #20356: Cannot set tertiary colour on small scenery (#20803) 2023-09-23 05:30:47 +01:00
Karst 7fc7f7ec8c Move changelog entry to 0.4.7 2023-09-21 22:44:42 +02:00
Karst 36335ac5e3 Move inversions to extra elements. 2023-09-21 19:46:06 +01:00
Karst 95c37b9f37 Update changelog.txt 2023-09-21 19:46:06 +01:00
AuraSpecs 1223b739e0
Create OpenMusic 1.4 release (#20795)
nl-NL: Fix/amend some descriptions by @Gymnasiast in #42
    Update French translation by @rmnvgr in #43
    Normalize the ragtime tunes by @karst in #44
    Complete list of Fairground organ style 2 tunes by @karst in #45
    Update Hungarian translation by @anon569 in #47
    Add Mystic style by @SkyshardMelody in #46
    pt-BR: Translate Mystic Style by @tupaschoal in #48
    hu-HU: Translate Mystic Style by @anon569 in #49
2023-09-21 19:36:37 +01:00
Ken Reese 3a3cd18321
Fix #19722: "Forbid tree removal" doesn't apply to large trees 2023-09-19 14:59:18 +02:00
Ken Reese 79b5d814ce
Set default ride price to free if park entrance fee has been set (#20790)
* Set default ride price to 0 if park entrance fee is > 0

* Update changelog and network version

* Update distribution/changelog.txt

Co-authored-by: Matt <5415177+ZehMatt@users.noreply.github.com>

---------

Co-authored-by: Matt <5415177+ZehMatt@users.noreply.github.com>
2023-09-18 08:18:51 +01:00
Basssiiie f2c6dcbbec
Fix incorrect target api when executing custom actions (#20778) 2023-09-11 08:05:35 +01:00
Hielke Morsink 37caebdde9
Fix #20737: Spent money underflows when getting refunds (#20765) 2023-09-07 08:19:27 +02:00
Michał Janiszewski b40b5da5a5 Release v0.4.6
- Feature: [#15660] Ability to show window buttons on the left.
- Feature: [#20680] New title sequences (https://github.com/OpenRCT2/title-sequences/releases/tag/v0.4.6).
- Feature: [OpenMusic#41] Official Title Theme by Allister Brimble.
- Improved: [#20119, #20243] Add new colour presets to several roller coasters (using the new colours).
- Improved: [#20393, #20410] Add Cyrillic characters Ґґ, Ѕѕ, Єє, Іі, Її, and Јј to the sprite font.
- Change: [#19785] OpenMusic is now selected by default when opening SC4/SC6 - or creating new - scenarios.
- Change: [#20110] Fix a few RCT1 build height parity discrepancies.
- Change: [#20550] Change SEK conversion rate from 1 GBP to 0.1 GBP.
- Fix: [#6152] Camera and UI are no longer locked at 40 Hz, providing a smoother experience.
- Fix: [#9534] Screams no longer cut-off on steep diagonal drops.
- Fix: [#17666] Using the mountain tool near the edge of the map with clearance checks disabled causes visual glitches.
- Fix: [#19450] The correct element is now auto-suggested when building a Medium Half Loop backwards.
- Fix: [#19735] Server unable to advertise to master server after a connection loss.
- Fix: [#19822] Tile inspector does not deep copy banners.
- Fix: [#19823] Parkobj: disallow overriding objects of different object types.
- Fix: [#19878] Unresearched scenery can be placed via prebuilt rides.
- Fix: [#20083] Cannot use terrain surfaces with ID > 32 and terrain edges with ID > 16.
- Fix: [#20089] Potential crash when a window is closed from another window.
- Fix: [#20103] [Plugin] Crash when custom plugin actions fail due to immutable state.
- Fix: [#20111] All coaster types can access the new diagonal slope pieces.
- Fix: [#20155] Fairground organ style 2 shows up as regular music, rather than for the merry-go-round.
- Fix: [#20260] Ride locks up when inspecting/fixing staff member is fired.
- Fix: [#20262] Title screen music missing when “random” title music is selected and RCT1 is no longer linked.
- Fix: [#20310] Map animations are not created on the title screen.
- Fix: [#20342] Large Half Loop (left) now only appears once in the special elements dropdown.
- Fix: [#20361] Crash when using random map generation.
- Fix: [#20364] Adding too much money with cheats causes an overflow.
- Fix: [#20365] Money cheat input does not support negative values.
- Fix: [#20389] Reversed vehicles are now correctly banked on diagonal slopes.
- Fix: [#20413] Crash when attempting to navigate an empty console history.
- Fix: [#20417] Plugin/custom windows are missing the left border in the title bar.
- Fix: [#20429] Error window tooltip not closing after 8 seconds.
- Fix: [#20456] Downward large half loops on flying coasters (fly-to-lie) are now correctly named.
- Fix: [#20484] Console caret not properly updated when using command history.
- Fix: [#20496] Ride rating requirements for compact inverted coasters is no longer relaxed.
- Fix: [#20543] Crash using show segments height from debug paint options.
- Fix: [#20607] Infinite loop when renaming rides with default names longer than 32 bytes.
- Fix: [#20642] Track list is sometimes empty due to uninitialized data for the filter string.
- Fix: [#20659] Phantom rides remain when closing construction window while paused.
- Fix: [#20672] Maze ghost elements incorrectly displayed.
- Fix: [#20684] Footpath additions getting removed by Miniature railway ghost elements.
- Fix: [#20693] Incorrect information shown when hovering over station when another station before it was removed.
- Fix: [#20739] Build version info on title screen leaving stray pixels when the camera is moved.
2023-09-03 17:13:15 +02:00
Matthias Moninger b56d8a5f0d
Merge pull request #19785 from karst/openmusic-default
Select OpenMusic by default when opening a new scenario
2023-08-29 02:46:12 +03:00
Duncan b75275d104
Fix# 20672: Maze Ghost Elements (#20746)
* Fix maze construction ghost glitch

* Update changelog

* Clang format
2023-08-28 16:37:05 +01:00
ζeh Matt 55ce16ed30
Update changelog.txt 2023-08-27 20:05:47 +03:00
Karst dca49ccb5f Amend changelog 2023-08-25 16:55:01 +02:00
Karst 5adbea9ac8 Select OpenMusic by default when opening a new scenario 2023-08-25 16:39:38 +02:00
ζeh Matt a762437b86
Update changelog.txt 2023-08-23 22:22:04 +03:00
Matthias Moninger 9d6a54b9e7
Fix #19735: Server unable to advertise its self after connection loss 2023-08-21 12:58:22 +00:00
Hielke Morsink 4a3c2f4fb4
Fix #17666: Map edge glitches when using mountain near it 2023-08-08 18:59:32 +02:00
Hielke Morsink 33fa50a330
Reduce duped code, fix #20693 wrong info for station shown 2023-08-07 03:16:14 +02:00
ζeh Matt 12b0243656
Update changelog.txt 2023-08-05 17:19:11 +03:00
Hielke Morsink e8e3503440
Add changelog entry 2023-08-03 18:09:13 +02:00
Michael Bernardi 9b5eaabf97 Fix #20659: Phantom rides when closing construction window while paused 2023-08-01 20:01:39 +02:00
ζeh Matt c6695b9aa7
Update changelog.txt 2023-07-19 17:23:18 +03:00
mrmbernardi b5f7d4ee2c
Fix #20607: Unicode string not limited properly (#20623) 2023-07-18 21:10:35 +01:00
Matthias Moninger 8c0a931403
Merge pull request #20570 from zzril/fix-20389-reversed-banking-on-diagonal-slopes
Fix #20389: Reversed vehicles incorrectly banked on diagonal slopes
2023-07-16 23:57:35 +03:00
Crazycolbster a7881a5046
Fixed typo in openrct2.d.ts, ScenarioObjectiveType (#20592) 2023-07-10 22:14:30 +01:00
Severin Paul Höfer 2dc42a0d69 Update changelog.txt 2023-07-06 00:21:03 +02:00
Matthias Moninger 279a056125
Fix #20543: Crash using show segments height from debug paint option. (#20561)
* Fix #20543: Crash using show segments height debug option

* Update changelog.txt
2023-07-05 08:05:53 +01:00
Stephan Spengler 33f9e5c07e
Change SEK conversion rate from 1 GBP to 0.1 GBP (#20550) 2023-07-04 07:37:27 -03:00
Matthias Moninger d5319eeb89
Merge pull request #20313 from mrmbernardi/copy_banners
Fix #19822: Banners can now be copy-pasted from the tile inspector
2023-07-03 00:32:48 +03:00
mrmbernardi ad80943e59
Fix #20310: Create map animations in title (#20314) 2023-07-02 21:31:40 +01:00
Michael Bernardi 3351f2419e Fix #20484: Console caret synchronised when using history 2023-07-02 21:37:48 +02:00
Michael Bernardi 055a532571 Fix #19822: Banners can now be copy-pasted from the tile inspector 2023-07-02 21:35:09 +02:00
Severin Paul Höfer 92764c2e32
Fix naming inconsistencies and minor bugs concerning half loop elements (#20408)
* Rename large half loops in TrackElemType namespace

* Fix large half loop positions in DropdownOrder

* Fix comments for medium loops

* Fix medium half loop order in gTrackCurveChain

Wrong piece was auto-suggested when building backwards.

* Swap names of painting functions

* Rename TrackElemType for Flying Coaster

* Swap names of Flying Coaster painting functions

* Swap Flying Coaster VehicleSubpositionData names

* Swap FlyingCoaster TrackBlock names

* Fix Flying Coaster track elem flags and comments

* Fix ZeroGRoll comments in TrackData.cpp

* Update changelog.txt

* Bump network version
2023-07-02 19:31:52 +03:00
mrmbernardi 68d4304bbc
Fix #19878: Pre-built rides respect scenery research (#20472) 2023-06-29 21:50:06 +01:00
mrmbernardi b02fad3404
Fix #20365: Money cheat supports negative value entry (#20478) 2023-06-29 21:47:51 +01:00
Matthias Moninger 39771217c8
Merge pull request #20493 from ZehMatt/delayed-window-delete
Refactor window deletion to be delayed
2023-06-28 01:40:12 +03:00
ζeh Matt f217d1ebbc
Update changelog.txt 2023-06-28 01:24:19 +03:00
mrmbernardi cf7c486c5f
Fix #20364: Adding too much money with cheats causes an overflow 2023-06-27 13:29:48 +00:00
Duncan 0c5a35993e
Remove union from window internal (#20429)
* Remove campaign vars from union

* Remove error union

* Remove new_ride union

* Remove Unknown5

* Update changelog
2023-06-26 16:31:04 +01:00
ζeh Matt faded9936b
Update changelog.txt 2023-06-26 15:56:24 +03:00
Matthias Moninger 3edb044685
Merge pull request #20100 from IntelOrca/plugin/object-manager
Add plugin APIs for the object manager
2023-06-26 02:26:13 +03:00
Severin Paul Höfer 7b3eb44a4d Update changelog.txt 2023-06-20 23:41:22 +02:00
Matthias Moninger 1d74d44824
Merge pull request #20418 from Gymnasiast/fix/20417
Fix #20417: Plugin windows missing the left title bar border
2023-06-19 22:41:35 +03:00
Michael Steenbeek 20fe5a29d3
Add missing Ukrainian letters (Єє and Ґґ) 2023-06-18 23:44:44 +02:00
Gymnasiast 11de002a55
Fix #20417: Plugin windows missing the left title bar border 2023-06-18 22:45:35 +02:00
ζeh Matt edfbf79720
Update changelog.txt 2023-06-18 16:22:32 +03:00
Matthias Moninger d9a565dd21
Fix #20361: Crash when using random map generation (#20400)
* Fix #20361: Crash using map generation

* Update changelog.txt
2023-06-15 20:27:00 +01:00
Michael Steenbeek 1b612b5a99
Add code to draw Cyrillic characters Ѕѕ, Іі, Її, and Јј (#20393) 2023-06-15 20:30:02 +02:00
Josh Trzebiatowski 08e352405b
Fix #19832: Scenery Search 2023-06-14 13:04:21 +02:00
Gymnasiast 0519dec33a
Fix #20083: Cannot use terrain surfaces with ID > 32 2023-05-27 14:47:49 +02:00
Hielke Morsink cde9a7706f
Add changelog entry 2023-05-26 19:39:48 +02:00
Matthias Moninger b9382ae9fc
Disallow firing staff who are currently fixing or inspecting rides (#20260)
* Disallow firing staff who are currently fixing or inspecting rides

* Disable fire button when staff member is inspecting/fixing a ride

* Add changelog entry

* Up network version

* Improve error message

---------

Co-authored-by: Rik Smeets <30838294+rik-smeets@users.noreply.github.com>
2023-05-21 18:36:08 +02:00
AuraSpecs 870c78001e
Add new roller coaster ride colour presets (#20119)
* Fix G2 order and format

PR #19446 did not follow the correct G2 order so this is fixing that.

Also adds the added icons to the [Plugin] chart as should when adding icons to G2.

* Add colour documentation

* Joker's Jinx colour

For the LIM Launched, based on Premier rides LIM RC.

* Poltergeist colour

Based on a Premier rides LIM RC

* Flight of Fear colour

* Add Mega-Lite colour scheme

* Add colours for Vertical Drop RC

* Add two HyperCoaster presets

Suggested by Kyphii

* Add Mako colour scheme

Suggestion by Kyphii

Co-Authored-By: kyphii <8711258+kyphii@users.noreply.github.com>

* Add two colours to BM Invert

Suggested by Kyphii

Co-Authored-By: kyphii <8711258+kyphii@users.noreply.github.com>

* Add Bobsleigh Preset

Suggested by Kyphii

Co-Authored-By: kyphii <8711258+kyphii@users.noreply.github.com>

* Add Woodie Presets

Suggested by Kyphii

Co-Authored-By: kyphii <8711258+kyphii@users.noreply.github.com>

* Add Looping RC preset

Suggested by Kyphii

Co-Authored-By: kyphii <8711258+kyphii@users.noreply.github.com>

* Add Flying RC preset

Not based on one specifically, it just looks very nice.

* Update GCI Woodie preset

* Update Inverted RC's presets

Removed the skinworm and added a banshee colour scheme that you could find in the renders. Supports were a tad difficult but I think Violet pops the best with the rails so I decided to go for that.

* Change default Woodie LB Bl Bl to LB Bl DB

* Update ride presets for Twister RC

Removed Aquamarine and Moss Green because you can find Moss Green on the Flying already and Aquamarine is very close to the white.

The white I would probably change to Black & White and move it to the Wing RC once that ride type becomes available.

* Add colour presets for the 4th Dimension RC

* Add Hybrid RC presets

* Add two yellow themes for Impulse

May both rides rest in pieces

* Add colour documentation

* Joker's Jinx colour

For the LIM Launched, based on Premier rides LIM RC.

* Poltergeist colour

Based on a Premier rides LIM RC

* Flight of Fear colour

* Add Mega-Lite colour scheme

* Add colours for Vertical Drop RC

* Add two HyperCoaster presets

Suggested by Kyphii

* Add Mako colour scheme

Suggestion by Kyphii

Co-Authored-By: kyphii <8711258+kyphii@users.noreply.github.com>

* Add two colours to BM Invert

Suggested by Kyphii

Co-Authored-By: kyphii <8711258+kyphii@users.noreply.github.com>

* Add Bobsleigh Preset

Suggested by Kyphii

Co-Authored-By: kyphii <8711258+kyphii@users.noreply.github.com>

* Add Woodie Presets

Suggested by Kyphii

Co-Authored-By: kyphii <8711258+kyphii@users.noreply.github.com>

* Add Looping RC preset

Suggested by Kyphii

Co-Authored-By: kyphii <8711258+kyphii@users.noreply.github.com>

* Add Flying RC preset

Not based on one specifically, it just looks very nice.

* Update GCI Woodie preset

* Update Inverted RC's presets

Removed the skinworm and added a banshee colour scheme that you could find in the renders. Supports were a tad difficult but I think Violet pops the best with the rails so I decided to go for that.

* Change default Woodie LB Bl Bl to LB Bl DB

* Update ride presets for Twister RC

Removed Aquamarine and Moss Green because you can find Moss Green on the Flying already and Aquamarine is very close to the white.

The white I would probably change to Black & White and move it to the Wing RC once that ride type becomes available.

* Add colour presets for the 4th Dimension RC

* Add Hybrid RC presets

* Add two yellow themes for Impulse

May both rides rest in pieces

* Add changelog entry

* Add Water Coaster colour preset

---------

Co-authored-by: kyphii <8711258+kyphii@users.noreply.github.com>
Co-authored-by: Rik Smeets <30838294+rik-smeets@users.noreply.github.com>
2023-05-21 18:02:28 +02:00
Matthias Moninger a1d30b6db0
Revert audio changes (#20259)
* Revert audio changes

* Revert changelog.txt
2023-05-21 16:47:20 +02:00
Michael Steenbeek 7caf400465
Changelog: small typography and spelling fixes (#20244) 2023-05-19 08:59:25 +00:00
LurkerRCT 946e57b7dd
Add Side Friction Roller Coaster colour preset (#20243)
* Update SideFrictionRollerCoaster.h

* Update changelog.txt

* Update src/openrct2/ride/coaster/meta/SideFrictionRollerCoaster.h

Co-authored-by: Rik Smeets <30838294+rik-smeets@users.noreply.github.com>

* Update distribution/changelog.txt

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>

---------

Co-authored-by: Rik Smeets <30838294+rik-smeets@users.noreply.github.com>
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2023-05-19 08:19:03 +00:00
Michael Steenbeek 5e495d63c7
Close #15660: Allow showing window buttons on the left (#20176) 2023-05-19 10:17:38 +02:00
Matthias Moninger 6bd5f75330
Update the UI at screen refresh rate (#20214)
* Update the UI at screen refresh rate

* Decouple input from ticks, fix scroll at high frame rates

* Fix holding down mouse button on buttons causing too many events

* Subtract the initial delay to keep the same behavior as before

* Guard against the rare case where the value might be 0

* Fix right click not working correctly

* Fix odd behavior when using right click to scroll lists

* Make touch work again, fix mouse panning in fullscreen (borderless)

* Update changelog.txt
2023-05-17 19:19:44 +00:00
kyphii 0b18bc0923
Fix #20111: All coaster types can access the new diagonal slope pieces (#20150)
* Fix access to diagonal slopes and turns

* Add changelog entry

---------

Co-authored-by: Trevor Finney <8711258+finneyt@users.noreply.github.com>
2023-05-17 19:42:09 +01:00
AuraSpecs 4717c51a3e
Add forgotten changelog entry (#20212) 2023-05-15 22:50:16 +02:00
Karst 6d84a0681e Add about info 2023-05-15 19:25:00 +01:00
AuraSpecs ed402ccef1
Upgrade sound engine to support 44100hz sample rate (#20200)
* Upgrade sound engine to support 44100hz.
* Increase audio output buffer size to 4096.
2023-05-15 18:42:15 +01:00
Duncan db1c9fab41
Fix #19823. Disallow overriding with wrong object type (#20182)
* Fix #19823. Disallow overriding with wrong object type

Some community objects have been made incorrectly and override small scenery objects with large scenery objects. This prevents that overload from being allowed.

* Bump network version and add changelog
2023-05-14 20:31:06 +00:00
ZeeMajora 7118249715 Fix a few RCT1 build height discrepancies 2023-05-08 10:26:31 -04:00
Michał Janiszewski b6f64bae9e Start v0.4.6 2023-05-08 14:53:01 +02:00
Michał Janiszewski 76ca8400ca Release v0.4.5
- Feature: [#18713] Block brakes have speed control and brakes slower than adjacent block brakes copy block brake speed when block brake open.
- Feature: [#19276] Add Powered Lifthill to Giga Coaster.
- Feature: [#19305] Add new Reversed Trains ride setting to run trains backwards, granting a bonus to ride ratings.
- Feature: [#19305] [Plugin] Add “Car.isReversed” to allow individual ride vehicles to run backwards.
- Feature: [#19446] Add new color options to color dropdown.
- Feature: [#19547] Add large sloped turns to hybrid coaster and single rail coaster.
- Feature: [#19930] Add plugin APIs for research.
- Feature: [OpenMusic#25] Added Prehistoric ride music style.
- Feature: [OpenMusic#26] Fairground Organ style 2 with new recordings from Herman's 35er Voigt (Previously known as Bressingham Voigt).
- Feature: [OpenMusic#28] Add Ragtime style 2 ride music.
- Improved: [#17739] Raise water and land height limits to 254 units/182m/600ft.
- Improved: [#18490] Reduce guests walking through trains on level crossing next to station.
- Improved: [#18996] When marketing campaigns are disabled, disable the Marketing tab in the Finances window.
- Improved: [#19764] Miscellaneous scenery tab now grouped next to the all-scenery tab.
- Improved: [#19830] “Highlight path issues” will now hide wall elements.
- Improved: [#19905] Add prompt before resetting shortcut keys.
- Improved: [#19952] Add colour preset to Spiral Slide using the new colour options.
- Improved: [#19953] Add keyboard shortcut to Keyboard Shortcuts window.
- Improved: [#20055] Performance improvement for the software renderer.
- Change: [OpenSFX#17] Update Hybrid RC lifthill loop.
- Fix: [#12598] Number of holes is not set correctly when saving track designs.
- Fix: [#13130] Android always defaulting to UK locale for language, currency and temperature.
- Fix: [#13397] Ride simulation causes strange station behaviour and makes the ride unusable in some cases.
- Fix: [#16791] Rotodrop top piece replicates when walls are placed around it and clearance checks are disabled (original bug).
- Fix: [#18583] Land dropdown is incorrect if there are surface entry index holes.
- Fix: [#18895] Responding mechanic blocked at level crossing.
- Fix: [#19231] Crash due to null pointer to previously deleted banner in tile copy/paste functionality.
- Fix: [#19296] Crash due to a race condition for parallel object loading.
- Fix: [#19733] Favorite ride of X guests integer overflow.
- Fix: [#19756] Crash with title sequences containing no commands.
- Fix: [#19767] No message when path is not connected to ride exit and is therefore unreachable for mechanics.
- Fix: [#19800] Crash when displaying station stats with more than 62 stations.
- Fix: [#19801] The in-game load/save window cannot be resized anymore.
- Fix: [#19854] Looping Coaster trains clipping through steep quarter turns down.
- Fix: [#19858] Issue drawing simulate flag icon on alternate colour palettes.
- Fix: [#19901] Random shop colours never assigning last colour.
- Fix: [#19911] Guests stuck at certain railway crossings.
- Fix: [#19924] Destructible cheat does not allow partial ride modification.
- Fix: [#19950] Mine train block brake supports drawn incorrectly.
- Fix: [#19955] Mine Train Roller Coaster has incorrect supports on the sloped left small turn (original bug).
- Fix: [#19987] [Plugin] ‘SetCheatAction’ has wrong ID in plugin API.
- Fix: [#20016] The group box for small scenery details in the Tile Inspector window has unused empty space.
- Fix: [#20018] Shops not calculating up-keep cost.
- Fix: [#20033] Asset packs cannot reference game data.
- Fix: [#20104] [Plugin] Some network APIs use player index and group index.
- Fix: [#20099] Some scrollbar is glitched or have incorrect size when open window for the first time
- Fix: [#20134] Grass length being updated for tiles in the void, causing unneccesary drawing operations.
2023-05-08 13:02:02 +02:00
AuraSpecs 535747ae5f
Update OpenMusic to version 1.3.0 (#20133) 2023-05-08 10:02:14 +02:00
ζeh Matt 627a4f69c2
Update changelog.txt 2023-05-06 18:25:27 +03:00
Meehoi 936f017147
Fix #20096: Server list window scroll is glitched when server list is empty (#20099)
* Fix initial scroll size of server list and change cast to int32_t

* set actual width for server list too

* add indentation

* fix pixel size of other scroll

* revert unnecessary changes

* add changelog entry
2023-05-06 17:01:14 +03:00
kyphii 6f55454ae8
Add ratings modifier for reversed trains (#20091)
* Add ratings modifier for reversed trains

* Add test save file and ratings for this

* Changelog entry

* Bump network version

* Modify changelog

* Changelog edit

---------

Co-authored-by: Trevor Finney <8711258+finneyt@users.noreply.github.com>
2023-05-06 02:40:41 +03:00
Ted John 0ed4bfbc4a Return null for legacyIdentifier 2023-05-02 20:28:14 +01:00
Ted John ffe5f74fa3 Update openrct2.d.ts 2023-05-02 20:28:14 +01:00
Ted John c784084942 Update openrct2.d.ts 2023-05-02 20:28:14 +01:00
Ted John 069a2b3192 Implement object manager for plugins 2023-05-02 20:28:14 +01:00
Ted John 9a20c47f86 Design APIs for loading / unloading objects 2023-05-02 20:28:14 +01:00
Ted John f95472c70a Add API for installed objects 2023-05-02 20:28:14 +01:00
Ted John 96ef163d51 Add new APIs to openrct2.d.ts 2023-05-02 20:28:14 +01:00
Ted John f1ac4363ce Fix openrct2.d.ts 2023-05-02 20:28:14 +01:00
Ted John bf3c6964be Remove scenery from object type names 2023-05-02 20:27:56 +01:00
Ted John b3fc7fcf18 Update changelog 2023-05-02 20:27:56 +01:00
Ted John 1a73a0be68 Implement other scenery objects 2023-05-02 20:27:56 +01:00
Ted John 2729956cef Add scenery group object interface 2023-05-02 20:27:56 +01:00
Ted John 530dfac7c9
Fix #20104: [Plugin] Some network APIs use player index and group index (#20115)
Change all APIs that took a player index or group index so that they now take unique IDs.
2023-05-02 15:25:05 +01:00
Die4Ever 74c1f5a695
Fix openrct2.d.ts duplicate slopes25Banked67 (#20065) 2023-04-27 18:53:24 +01:00
Matthias Moninger 79af072cf4
Merge pull request #20055 from ZehMatt/dirty-grid
Improve dirty grid rendering performance.
2023-04-27 18:16:33 +03:00
spacek531 1bbdba40b5
Implement paint code for spiral lifthill down (#19567)
* spiral lifthill down paintcode

* rename string anyway

* add some stuff I forgot and add documentation

* use static assert on SpriteGroupMultiplier

* add slope to list of opposite slopes

* bump scripting version

* update openrct2.d.ts

* improve documentation
2023-04-27 15:11:22 +01:00
ζeh Matt 5bb267e0c9
Update changelog.txt 2023-04-26 23:21:55 +03:00
Duncan ee100f59c0
Fix #19800. Crash when more than 62 stations on a ride (#20039)
* Fix #19800. Crash when more than 62 stations on a ride

This is a bit of a temporary fix. The crash happens due to exhausting the space in the formatter but the format string only ever handled 4 stations so it was still not going to work for 5 <=> 62 stations. So for the time being capped the output at 4 stations.

* Add changelog entry

* Apply review comment
2023-04-24 21:16:21 +00:00
Ted John 9dac7f889f
Fix #18583: Land dropdown is incorrect if there are surface entry holes (#20035) 2023-04-24 22:00:12 +01:00
Ted John 0cf24f0100
Fix #20033: Asset packs cannot reference game data (#20034) 2023-04-24 21:55:36 +01:00
Hielke Morsink 5f798d98db
Undo removal of entry that was no regression 2023-04-24 22:43:41 +02:00
Hielke Morsink 5dea828769
Changelog fixes 0.4.5 2023-04-24 07:33:59 +00:00
ζeh Matt d5f93fe6ae
Update changelog.txt 2023-04-23 00:16:54 +03:00
kyphii 9ca4e48c79
Fix: #13397: Broken Stations with Simulate Mode 2023-04-22 19:41:26 +02:00
Hielke Morsink c88fe4d2d2
Fix: small scenery details group box is unnecessarily big (#20016)
Small mistake from d46f981f03 that I only noticed just now.
2023-04-22 14:31:03 +02:00
AuraSpecs 53642c0ae9
Update OpenSFX to version 1.0.3 (#20009) 2023-04-22 09:41:34 +01:00
Ted John 713bb09990
Merge pull request #19930 from IntelOrca/plugin/research
Add research plugin API
2023-04-21 21:17:34 +01:00
kyphii 6dfc6225e2
"Reversed Trains" Option (#19305)
* Initial commit for backwards-facing trains

* Allow persistence for reversed cars across save/load

* Make log flume turntable compatible with new reversal implementation

* Style fixes + Better implementation of inverted bank angles

* Further Style Fixes

* Code cleanup from PR feedback

* Fix GetBankRotationForDrawing function declaration

* Use update flag for reversed state

* Replace modulo operation with bit mask

* Correct guest pathing destination when entering reversed cars

* More style fixes

* Add plugin support for reversed vehicles

* Fix formatting error

* Derive reversal from ride mode for car spawning

* Formatting

* Rename function to GetPaintBankRotation

* Add reversed trains modes to Multi Dimension Coaster

* Change name of isReversed plugin API parameter for consistency

* Replace reversal operating modes with separate ride setting

* Add ALLOW_REVERSED_TRAINS flag to more ride types

* Make clang-format happy

* More Formatting

* Fix ALLOW_REVERSED_TRAINS flag on a couple rides

* Exclude flat rides from Reverse Trains tickbox when cheats are enabled

* Formatting

* Use Disable Vehicle Limits cheat for checkbox appearance condition

* Use correct swinging sprites when cars are reversed

* Update changelog and Plugin/Network/Park version numbers

* Formatting

* Add separate error String ID for clarity

* Add name to contributors.md

* Fix ride vehicle preview window with reversed trains for RCT1 train types

* Bump version numbers again

---------

Co-authored-by: Trevor Finney <8711258+finneyt@users.noreply.github.com>
2023-04-21 19:22:33 +03:00
Wenzhao Qiu 8f0db4cb20
Fix #16791: rotodrop top piece is replicated (#19970)
* Fix rotodrop top piece replication issue (#16791)

* Add changelog entry

* Raise network version

* Move changelog entry
2023-04-21 09:48:17 -03:00
Michał Janiszewski 784237202b
Raise water and land height limits to 254 units/182m/600ft (#19988)
* Raise water and land height limits to 254 units/182m/600ft

New parks load correctly in older versions, but cannot be altered there.

Fixes #17739

* Add changelog, bump network and park file version
2023-04-21 12:58:39 +02:00
Duncan be30930b4a
Merge pull request #19955 from Gymnasiast/refactor/wooden-supports
Introduce normalised Wooden A supports functions
2023-04-20 19:14:12 +01:00
Rik Smeets d10be6d0e7
Fix #19911: Guests stuck at railway crossings (#19939)
In continuous circuit operating mode, not only the train head should be used for (un)blocking path. Because of this change, a previous change regarding which trailing track blocks should be unblocked has been reverted, as to prevent path being unblocked too soon.
2023-04-20 18:53:21 +02:00
Matthias Moninger e614584f65
Fix #19991: Crash when using cut-away view (#19968)
* Fix #19991: Crash using cut-away view

* Update changelog.txt

* Document the use of temporary paint head
2023-04-20 16:00:22 +01:00
Gymnasiast 809e172a84
Fix Mine Train support bug (original bug) 2023-04-19 16:22:08 +02:00
Ted John d471d7a4b7 Use strings for research category 2023-04-18 21:38:10 +01:00
Ted John fe3f32e82e Fix code review comments on research 2023-04-18 21:38:10 +01:00
Ted John 59f9d099b9 Update openrct2.d.ts 2023-04-18 21:38:10 +01:00
Ted John dc8187d949 Update changelog 2023-04-18 21:38:09 +01:00
Ted John f35e595d0e Add research plugin API 2023-04-18 21:38:09 +01:00
Stephan Spengler 2fd3eb47e7
SetCheatAction has wrong ID in plugin API 2023-04-18 13:23:44 +02:00
Rik Smeets 35674ac627
Add Spiral Slide pallette (#19952) 2023-04-17 09:49:30 +00:00
Rik Smeets 55adb71cd8
Add keyboard shortcut to Keyboard Shortcuts window 2023-04-17 11:15:32 +02:00
73 7011a9775c
fix #19858 (#19940)
this will fix issue 19858 by changing water colour used in simulate flag to nonwater colour
2023-04-16 14:27:20 +01:00
Michael Steenbeek d088533ac4
Fix #19950: Mine train block brake supports drawn incorrectly (#19954) 2023-04-16 14:19:17 +01:00
Rik Smeets a31ff7e02e
Add prompt before resetting shortcut keys (#19905) 2023-04-16 09:22:05 +00:00
Chase 7e313d45cd
Fix #19906: Destructible cheat does not allow ride modification (#19924) 2023-04-14 21:10:54 -03:00
Kevin Strehl f7b8a2fde7
Disable marketing tab when marketing is prohibited (#19828)
Disable marketing tab when marketing is prohibited

---------

Co-authored-by: Rik Smeets <30838294+rik-smeets@users.noreply.github.com>
2023-04-14 18:25:35 +02:00
Nikolas Parshook ef35dfa40a
Expose obj image offset and num images to plugins (#17567)
Co-authored-by: Duncan <duncans_pumpkin@hotmail.co.uk>
2023-04-13 19:09:15 +00:00
undermark5 78aa02fe8a
Fix #13130: Android respects device locale (#19419)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2023-04-13 09:30:18 +00:00
Spacek531 433ef96a36 add changelog entry 2023-04-11 19:28:27 -07:00
Duncan 9493af44dd
Fix rand colours missing final colour (#19901) 2023-04-11 18:27:45 -03:00
AuraSpecs d8f9bc3146
Add Powered Lifthill to Giga Coaster (#19276)
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2023-04-11 06:44:05 -03:00
Raed 1bb1767577
Fix #19733: Favorite ride of X guests integer overflow (#19887)
* Fix #19733: Favorite ride of X guests integer overflow

Changed the variable for the number of guests favoring a ride to
match the maximum number of guests able to be in a park.

* Bump network stream and park file versions

* Added changelog entry for #19733 fix

* Reorder changelog entry
2023-04-10 20:03:25 +01:00
Meehoi b4156c0c77
Fix highlight path issues not hiding wall elements (#19830)
* Fix highlight path issue not hide wall element

* Add changelog and contributors
2023-04-09 19:13:47 +02:00
Hielke Morsink e6d439dc5b
Fix #19801: Cannot resize load/save window anymore (#19872)
The main issue was that the min/max sizes of the window were set in the constructor, then being overwritten by the WindowCreate function. That function calls the OnOpen function, which can be used to set them properly.

The other two changes are just minor cleanups; a pixel difference in padding on the right side, and an overriden function that's identical to the base.
2023-04-08 07:25:46 +02:00
Rik Smeets c2d55e9535
Fix Looping Coaster trains clipping through steep quarter turns down 2023-04-06 21:34:00 +02:00
kyphii 39790779bb
Extend color selection dropdown with more colors (#19446)
* Setup for extended palette

* Define order for color picker cells

* Init G2 Palettes in ColoursInitMaps

* Add Glass Palettes

* Use special sprite for Invisible color

* Set up new cheat for special colors

* Add glass palettes to palette_to_g1_offset

* Add entries for new colors in TranslucentWindowPalettes

* Finish implementation of special colors cheat

* Some cleanup

* New colors almost work

* Correct g2 palette loading indices

* Invisible color sprite displays properly

* Repaint works with large scenery and walls

* Prevent random shop items from overflowing to junk palettes

* More cleanup

* Fix glass palettes

* Add mapping of new colors to original colors for UI themes

* Fix junk palettes for random shop items

* Fix missing highlight color in software renderer

* Convert small scenery support flag to allow use of new colors

* Progress on displaying new colors in software renderer

* Fix invisible color scheme sprite

* Formatting cleanup

* Resolve comparison of integer expressions of different signedness

* Index g2 palette maps to fix visible chain lift

* Progress on fixing new colors in software renderer

* Fix station and support colors

* Fix dropdown selected index

* Get invisible color (mostly) working in software renderer

* Use forceBmp for palette resources

* Remove test function definition left in by mistake

* Remove some obsolete range checks for original color values

* Add changelog entry

* Reorder color dropdown based on NE user feedback

* Some cleanup

* Further cleanup

* Formatting

* Add include for GetPaletteMapIndexForColour

* Fix a couple things I broke

* Fix function placement

* Revert "Add include for GetPaletteMapIndexForColour"

This reverts commit 0af9611e6656d792adb7a36efe7dbf3387a4a759.

* Use color constants for color order list

* Make remappable colors contiguous

* turn off clang format for ordered color list

* Appease clang

* Use all colors for random shop item animation

* Improvements to palette map resources

* Fix chain lifts again + adjustments to a few colors

* Update changelog and contributors.md

* Revert changes to S4 and S6 importers which are no longer needed

* Bump network, plugin, and minimum park versions

* Revert "Progress on displaying new colors in software renderer"

This reverts commit 337602e4a7.

* Remove unnecessary comment

---------

Co-authored-by: Trevor Finney <8711258+finneyt@users.noreply.github.com>
2023-04-06 08:36:07 +01:00
AuraSpecs 19a8384547
Update OpenMusic to version 1.2.0 (#19833) 2023-04-05 20:21:12 +01:00
Hielke Morsink 28252bcb79
Add changelog entry for #12598 (#19834) 2023-04-05 17:08:18 +02:00
X123M3-256 3c4e32458a
Add large sloped turns to hybrid and single rail (#19547)
* Implement large sloped turns

* Fix formatting

* Add sprites

* Fix large turns button being active on steep slopes

* Remove bad comment

* Increment network,plugin,park version numbers

* Update changelog

* Increment park file version again
2023-04-05 13:47:56 +01:00
John Mulcahy 18ce417dc0
Fix 19231 - Fix Tile Copy/Paste null pointer exception 2023-04-04 11:35:20 +02:00
Rik Smeets de06f6026e
Fix #18895: Responding mechanic blocked at level crossing (#19620)
Remove the condition regarding the ride's breakdown reason. Other breakdown reasons can also cause trains getting stuck at a level crossing.
2023-04-02 17:57:59 +02:00
Rik Smeets f8b30fbb36
Reduce guests walking through trains on level crossing next to station (#19619) 2023-04-02 17:38:00 +02:00
Andrew ad0229199d
Sticky the Misc scenery tab next to the All scenery tab (#19764)
* Sticky the Misc tab next to the All tab

* More robust misc check

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
Co-authored-by: Duncan <duncans_pumpkin@hotmail.co.uk>
2023-04-02 08:42:37 +00:00
Kevin Strehl 1174063c27
Improve check whether path is connected (#19788) 2023-04-01 06:44:22 +00:00
ζeh Matt 0669e47324
Update changelog.txt 2023-03-29 15:56:02 +03:00
Hielke Morsink 7741ecbbcc
Add missing full stop 2023-03-29 11:01:20 +02:00
Matthias Moninger 745279cded
Fix #19756: Crash with title sequences containing no commands (#19761)
* Fix #19756: Crash with title sequences containing no commands

* Update changelog.txt
2023-03-29 08:50:57 +00:00
Michał Janiszewski a22c6c02aa Start v0.4.5 2023-03-28 17:52:20 +02:00
Michał Janiszewski 9e4918cdbc Release v0.4.4
- Feature: [#11269] Add properties for speed and length of vehicle animations.
- Feature: [#15849] Objectives can now be set for up to 50000 guests.
- Feature: [#18537] Add shift/control modifiers to window close buttons, closing all but the given window or all windows of the same type, respectively.
- Feature: [#18732] [Plugin] API to get the guests thoughts.
- Feature: [#18744] Cheat to allow using a regular path as a queue path.
- Feature: [#19023] Add Canadian French translation.
- Feature: [#19341] Add “All Scenery” tab to scenery window.
- Feature: [#19378] Add command to combine CSG1i.DAT and CSG1.DAT.
- Feature: [objects#226] Port RCT1 Corkscrew Coaster train.
- Feature: [objects#229] Port RCT1 go karts with helmets.
- Feature: [OpenMusic#20, OpenMusic#21] Added Blizzard and Extraterresterial ride music styles.
- Improved: [#11473] Hot reload for plug-ins now works on macOS.
- Improved: [#12466] RCT1 parks now use RCT1’s interest calculation algorithm.
- Improved: [#14635] Scenery window now shows up to 255 scenery groups.
- Improved: [#17288] Reorganise the order of shortcut keys in the Shortcut Keys window.
- Improved: [#18706] Ability to view the list of contributors in-game.
- Improved: [#18749] Ability to have 4 active awards for more than one month in a row.
- Improved: [#18826] [Plugin] Added all actions and their documentation to plugin API.
- Improved: [#18945] Languages can now fall back to other languages than English.
- Improved: [#18970] Trying to load a non-park save will now display a context error.
- Improved: [#18975] Add lift sprites for steep hills on the wooden roller coaster.
- Improved: [#19044] Added special thanks to RMC and Wiegand to the About page.
- Improved: [#19131] Track missing objects when selecting scenery groups in console.
- Improved: [#19253] Queue junctions drawn properly when using regular paths as queue. Note: Requires using tile inspector to indicate railings can be used at T or X junctions.
- Improved: [#19067] New Ride window now allows filtering similarly to Object Selection.
- Improved: [#19272] Scenery window now allows filtering similarly to Object Selection.
- Improved: [#19447] The control key now enables word jumping in text input fields.
- Improved: [#19463] Added ‘W’ and ‘Y’ with circumflex to sprite font (for Welsh).
- Improved: [#19549] Enable large address awareness for 32 bit Windows builds allowing to use 4 GiB of virtual memory.
- Improved: [#19668] Decreased the minimum map size from 13 to 3.
- Improved: [#19683] The delays for ride ratings to appear has been reduced drastically.
- Improved: [#19697] “Show guest purchases” will now work in multiplayer.
- Change: [#19018] Renamed actions to fit the naming scheme.
- Change: [#19091] [Plugin] Add game action information to callback arguments of custom actions.
- Change: [#19233] Reduce lift speed minimum and maximum values for “Classic Wooden Coaster”.
- Removed: [#19520] Support for Windows Vista systems.
- Fix: [#474] Mini golf window shows more players than there actually are (original bug).
- Fix: [#592] Window scrollbar not able to navigate to the end of large lists.
- Fix: [#7210] Land tile smoothing occurs with edge tiles (original bug).
- Fix: [#17996] Finances window not cleared when starting some .park scenarios.
- Fix: [#18260] Crash opening parks that have multiple tiles referencing the same banner entry.
- Fix: [#18467] “Selected only” Object Selection filter is active in Track Designs Manager, and cannot be toggled.
- Fix: [#18904] OpenRCT2 audio object accidentally exported in saves.
- Fix: [#18905] Ride Construction window theme is not applied correctly.
- Fix: [#18911] Mini Golf station does not draw correctly from all angles.
- Fix: [#18971] New Game does not prompt for save before quitting.
- Fix: [#18986] [Plugin] Sending remote scripts larger than 63KiB crashing all clients.
- Fix: [#18994] Title music doesn’t start after enabling master volume.
- Fix: [#19025] Park loan behaves inconsistently with non-round and out-of-bounds values.
- Fix: [#19026] Park loan is clamped to a 32-bit integer.
- Fix: [#19068] Guests may not join queues correctly.
- Fix: [#19091] [Plugin] Remote plugins in multiplayer servers do not unload properly.
- Fix: [#19112] Clearing the last character in the Object Selection filter does not properly reset it.
- Fix: [#19112] Text boxes not updated with empty strings in Track List, Server List, and Start Server windows.
- Fix: [#19114] [Plugin] ‘GameActionResult’ does not comply to API specification.
- Fix: [#19136] SV6 saves with experimental RCT1 paths not imported correctly.
- Fix: [#19243] .park scenarios don’t complete properly.
- Fix: [#19250] MusicObjects do not free their preview images.
- Fix: [#19292] Overflow in ‘totalRideValue’.
- Fix: [#19339] Incorrect import of crashed particles from SV4.
- Fix: [#19379] “No platforms” station style shows platforms on the Junior Roller Coaster.
- Fix: [#19380] Startup crash when no sequences are installed and random sequences are enabled.
- Fix: [#19391] String corruption caused by an improper buffer handling in ‘GfxWrapString’.
- Fix: [#19434, #19509] Object types added by OpenRCT2 do not get removed when executing ‘remove_unused_objects’.
- Fix: [#19475] Cannot increase loan when more than £1000 in debt.
- Fix: [#19493] SV4 saves not importing the correct vehicle colours.
- Fix: [#19517] Crash when peeps try to exit or enter hacked rides that have no waypoints specified.
- Fix: [#19524] Staff counter shows incorrect values if there are more than 32767 staff members.
- Fix: [#19574] Handle exits in null locations.
- Fix: [#19641, #19643] Missing water tile in Infernal Views’ and Six Flags Holland’s river.
2023-03-28 17:48:53 +02:00
Michał Janiszewski 1f7ef64627
Fix #19574: Handle exits in null locations (#19727)
In park/replay from dump #19574 there was a calamity that happened
likely due to a plugin. Pretty much all rides were deleted in single
tick, which caused the park to mark some locations as null and then it
tripped on one of the many assertions. In many of the places it already
bails out if ride or vehicle is a nullptr, so I followed with similar
approach for invalid ride exits.
2023-03-28 01:16:55 +03:00
Hielke Morsink 753e931165
Add ref to #19643 in changelog 2023-03-23 10:59:28 +00:00
Duncan e904ef406f
Fix #19503. Hide 3+ queue junction railings behind a flag (#19644)
* Fix #19503. Hide 3+ queue junction railings behind a flag

This is to prevent existing parks from changing their behaviour

* Clang format

* Bump version numbers. Update changelog

* Update text
2023-03-23 08:16:32 +00:00
ζeh Matt 5c04c217fb
Update changelog.txt 2023-03-22 22:28:14 +02:00
ζeh Matt fe74395cf8
Update changelog.txt 2023-03-22 21:51:52 +02:00
Karst adf1c9a1a5 Decrease minimum map size from 13 to 3
As requested by DKMP.
2023-03-18 21:27:19 +01:00
HtotheTML e6a0262522
Fix water tile in Six Flags Holland (and merge with Infernal Views fix) (#19643)
* Update S6Importer.cpp

* Update changelog.txt
2023-03-16 08:00:59 +00:00
HtotheTML b41438bbc9
Fix missing water tile in Infernal Views (#19641)
* Update S6Importer.cpp

Edit a stray tile in the lava river of Infernal Views to have its missing lava.

* Update changelog.txt

* Update contributors.md
2023-03-14 19:26:51 +00:00
Duncan d0821d05ac
Update soundfx Fix #18904 (#19634)
* Update soundfx Fix #18904

* Update changelog
2023-03-14 08:18:05 +00:00
AuraSpecs 1949331334
Create new release for OpenMusic (1.1.0) (#19635)
* Create new release for OpenMusic (1.1.0)

* Add Blizzard style (replacement for Ice style)
* Add Extraterrestrial style (replacement for martian style)

* Update changelog.txt
2023-03-13 21:53:52 +00:00
Rik Smeets ac2afdcfaf
Fix #18994: Title music doesn't start after enabling master volume (#19621) 2023-03-11 16:30:40 +00:00
spacek531 fdbc3d29bb
steam position modifier and animation speed properties (#11269)
* Add speed and frame properties

* add steam position modifier

* copy code from OpenLoco

* update sin and cos

* add computation function

* finalize locomotion code

* fix formatting

* refine code

* refactor things slightly

* manually fix formatting

* use PascalCase and rename

* fix copyright notice

* fix name again

* rename function, move outt  of namespace

* fix rebase issues

* remove pitch table derived from physics

* rename some stuff

* flip vertical component sign to make sense

* change json structure

* create steam particles based on number of animation frames

* fix formatting

* add slope for spiral lift hill down

* fix formatting again

* parens around bitwise and

* make animations separate functions

* rename MultiDimCoaster to MultiDimension

* use EnumValue method

* rework multidim frame count

* bump network to be safe

* fix formatting

* move array out of function

* make table const

* move struct into RideObject.cpp

* try new method to fix numbers in multidim

* implement ZehMatt modulo

* add documentation to new function

* include Yaw.hpp

* rename src/ride/SteamPosition.hpp to src/math/Trigonometry.hpp

* actually add src/math/Trigonometry.hpp

* move ComputeSteamOffset to Vehicle.cpp

* use static asserts on arrays

* fix changelog grammar

* add more static asserts
2023-03-09 15:45:45 +02:00
Matthias Moninger 7e48b57d6a
Fix #18986: Sending remote scripts larger than 63KiB crashing all clients. (#19573)
* Fix #18986: Sending remote scripts larger than 63KiB crashing clients

* Add GetRemotePlugins in ScriptEngine

* Bump up network version

* Update changelog.txt
2023-03-06 13:50:05 +01:00
Matthias Moninger b8966a83e3
Enable Large address awareness for 32-bit builds (#19549)
* Enable large address awareness for 32 bit builds allowing 4GiB memory

* Fix debug builds failing for 32 bit

* Update changelog.txt
2023-03-04 15:55:40 +00:00
Michael Steenbeek 6a89dfbfe9
Fix #19434, #19509: OpenRCT2 object types not removed by ‘remove_unused_objects’ (#19511)
* Add ObjectTypeIsTransient() and ObjectTypeIsIntransient()

* Fix #19434, #19509: remove_unused_objects does not remove OpenRCT2 types
2023-03-02 19:26:19 +00:00
ZeeMajora 2887104707
Fix some RCT1 vehicle colour imports
Fixes a few errors in the vehicle colours table used for RCT1 imports, they are:
Both steam trains third colour should be yellow (the bell and some other details)
Suspended swinging airplane cars third colour should copy colour 2 (the restraints are colour 2 in RCT1 but colour 3 in RCT2)
Reverse freefall car colour 3 should copy colour 1 (the front bits are the same as colour 1 in RCT1)
Vertical drop trains colour 3 should copy colour 2 (the bottom metal bar is the same as colour 2 in RCT1)
Sitdown twister train colour 2 should copy colour 1, colour 3 should copy colour 2 (restraints are colour 2 in RCT1 but colour 3 in RCT2)
Laydown trains colour 3 should copy colour 2 (part of the restraint, it uses colour 2 in RCT1)
Hyper-twister trains colour 3 should copy colour 1 (the lap bar, it uses colour 1 in RCT1)
Face-off trains colour 3 should copy colour 2 (the restraints use colour 2 in RCT1 but colour 3 in RCT2)
River rafts colour 3 should copy colour 2 (the top of the roof uses colour 2 in RCT1 but colour 3 in RCT2)
2023-03-02 09:40:40 +01:00
Michael Steenbeek 4a78fd772c
Fix #19524: Incorrect staff count beyond 32767 (#19530) 2023-03-01 20:58:15 +00:00
Matthias Moninger c3bd837c42
Fix #19517: Crash when peeps try to exit or enter a hacked ride (#19518)
* Fix #19517: Crash when peeps try to exit or enter a hacked ride

* Update changelog.txt
2023-03-01 08:31:20 +00:00
Michał Janiszewski 3e3f1d3cfd
Remove Windows Vista from systems claimed as supported (#19520)
It was reported OpenRCT2 stopped working on Vista with 0.4.2 release due
to `CoGetApartmentType` and `TryAcquireSRWLockExclusive` symbols linked
in statically.

This commit simply removes references to Vista as a supported system.
2023-02-28 21:42:41 +00:00
Michael Steenbeek 0674d9527c
Fix #19475: Cannot increase loan when in debt (#19478)
* Small refactor of ParkSetLoanAction

* Fix #19475: Cannot increase loan when in debt
2023-02-28 20:34:18 +00:00
ζeh Matt c0905857b7
Update changelog.txt 2023-02-28 16:28:49 +02:00
Hielke Morsink 8a5d3ff9a3
Cleanup changelog inconsistencies (#19504) 2023-02-27 08:16:29 -03:00
ζeh Matt b9db8109de
Update changelog.txt 2023-02-26 18:52:59 +02:00
Michael Steenbeek 777d43ae18
Add W and Y with circumflex 2023-02-23 10:56:37 +01:00
Josh Trzebiatowski 04aeed8692
Add "All Scenery" tab to scenery window 2023-02-22 23:31:21 +00:00
Michael Steenbeek 28476cb9a9
Raise max objective guests to 50000 2023-02-22 13:43:26 +01:00