Commit Graph

1266 Commits

Author SHA1 Message Date
Hielke Morsink 1c55e6ee7a
Close #17050: Transparency can be toggled directly (#17075) 2022-04-27 13:30:58 +02:00
Ted John e9799aa243
Update changelog 2022-04-26 22:18:18 +02:00
Greg 176c2f1e57
Fix OpenRCT2#16974: Small scenery ghosts can be deleted (#17062) 2022-04-26 12:25:56 +02:00
Gymnasiast bc6921e1cf
Start v0.4.1 2022-04-25 20:25:09 +02:00
Gymnasiast c6302a1dae
Release v0.4.0
- Headline feature: [#10664] New save format with increased limits.
- Feature: [#714] Allow up to 255 trains per ride.
- Feature: [#2253] Path surfaces and railings can be mixed and matched, like in RCT1.
- Feature: [#2766] The Fruity Ices Stall can now be recoloured, like in RCT1.
- Feature: [#4933] Allow map sizes of 999 × 999 (up from 254 × 254).
- Feature: [#7660] Custom music objects that are distributed with the save.
- Feature: [#8407] Ride platforms can be made invisible.
- Feature: [#12793] Add Excitement/Intensity/Nausea ratings to Ride List view with sorting.
- Feature: [#13858] Flatride bases can be made invisible.
- Feature: [#14676] [Plugin] Allow plugins to store data in .park files.
- Feature: [#15367] Individual track elements can now be drawn as another ride type.
- Feature: [#15901] [Plugin] Add ‘map.getAllEntitiesOnTile’ to API.
- Feature: [#16029] [Plugin] Add ‘TrackElement.rideType’ to API.
- Feature: [#16097] The Looping Roller Coaster can now draw all elements from the LIM Launched Roller Coaster.
- Feature: [#16132, #16389] The Corkscrew, Twister and Vertical Drop Roller Coasters can now draw inline twists.
- Feature: [#16144] [Plugin] Add ‘ImageManager’ to API.
- Feature: [#16707] [Plugin] Implement intransient plugins.
- Feature: [#16707] [Plugin] New API for current mode, ‘map.change’ hook and toolbox menu items on title screen.
- Feature: [#16731] [Plugin] New API for fetching and manipulating a staff member’s patrol area.
- Feature: [#16800] [Plugin] Add lift hill speed properties to API.
- Feature: [#16806] Parkobj can load sprites from RCT image archives.
- Feature: [#16831] Allow tertiary colours for small and large scenery objects.
- Feature: [#16872] [Plugin] Add support for custom images.
- Improved: [#3517] Cheats are now saved with the park.
- Improved: [#10150] Ride stations are now properly checked if they’re sheltered.
- Improved: [#10664, #16072] Visibility status can be modified directly in the Tile Inspector’s list.
- Improved: [#16251] Plugin API handles null values better.
- Improved: [#16251] openrct2.d.ts: mark ‘callback’ argument of queryAction and executeAction as optional.
- Improved: [#16251] openrct2.d.ts: change ‘network.status’ to ‘network.mode’ in network API docs.
- Improved: [#16251] openrct2.d.ts: added previously undocumented ‘GroupBoxWidget.text’ property.
- Improved: [#16251] openrct2.d.ts: removed unused ‘LabelWidget.onChange’ property.
- Improved: [#16258] Increased image limit in the engine.
- Improved: [#16408] Improve ‘--version’ cli option to report more compatibility information.
- Improved: [#16740] Allow staff patrol areas to be defined with individual tiles rather than groups of 4x4.
- Improved: [#16764] [Plugin] Add hook ‘map.save’, called before the map is saved.
- Improved: [#16925] The queue length of 1000 guests is lifted, and a warning for too long queues is added instead.
- Change: [#14484] Make the Heartline Twister coaster ratings a little bit less hateful.
- Change: [#16077] When importing SV6 files, the RCT1 land types are only added when they were actually used.
- Change: [#16424] Following an entity in the title sequence no longer toggles underground view when it’s underground.
- Change: [#16493] Boat Hire and Submarine Ride support costs now match their visual appearance.
- Change: [#16710] Changed default view of Guest List to ‘Thoughts’ and selected tab will default to ‘Summarised’ (when opened from the menu).
- Change: [#16859] Guests with umbrellas no longer always avoid going into a Maze.
- Change: [#16912] Tired or nauseated guests will no longer jump in a Maze.
- Fix: [#6767] Black screen after Alt-Tabbing back into the game.
- Fix: [#11752] Track pieces with fractional cost are too cheap to build.
- Fix: [#12556] Allow game to run without audio devices.
- Fix: [#12774] [Plugin] Scripts will not be re-initialised when a new scenario is loaded from within a running scenario.
- Fix: [#13336] Can no longer place Bumble Bee track design (reverts #12707).
- Fix: [#14155] Map Generator sometimes places non-tree objects as trees.
- Fix: [#14674] Recent Messages only shows first few notifications.
- Fix: [#14920] Ghosts for rides and shops do not auto-elevate when obscured.
- Fix: [#15413] Modifying park rating with plugins desyncs park rating history from actual park rating.
- Fix: [#15571] Non-ASCII characters in scenario description get distorted while saving.
- Fix: [#15830] Objects with RCT1 images are very glitchy if OpenRCT2 is not linked to an RCT1 install.
- Fix: [#15909] Text can overflow in ‘Select ride design’ windows.
- Fix: [#15947, #15960] Removing a flat ride results in an error message and duplicate structures.
- Fix: [#15998] Cannot set map size to the actual maximum.
- Fix: [#16007] Scenario Editor “Entry Price” appears to the right of the value field.
- Fix: [#16008] Tile Inspector can select elements from last tile without reselecting it.
- Fix: [#16024] Go-Karts with more than 32 vehicles do not colour themselves correctly.
- Fix: [#16026] Newly created rides with “Disable vehicle limits” cheat always get 32 trains with 12 cars each.
- Fix: [#16063] Object Selection preview for objects with glass is broken.
- Fix: [#16075] Exporting track designs saves scenery in incorrect locations.
- Fix: [#16087] The Looping Roller Coaster booster is now always drawn correctly.
- Fix: [#16140] The ‘Follow this’ option is now disabled when the ride view is set to ‘overall’ or a station.
- Fix: [#16162] Go Karts speeds are not correctly randomised, they only go very fast or very slow.
- Fix: [#16188] Medium-size banked turns on the Twister and Vertical Roller Coaster have incorrect support placement (partly original bug).
- Fix: [#16264, #16572] Placing saved track design crashes game.
- Fix  [#16308] Crash when trying to place down a ride on Android.
- Fix: [#16327] Crash on malformed network packet.
- Fix: [#16449] [Plugin] Viewport doesn't hide when switching tabs.
- Fix: [#16450] Banner style not copied when using tile inspector.
- Fix: [#16535] Entering construction mode unblocks all paths.
- Fix: [#16542] “Same price throughout park” status not correctly imported for RCT1 saves.
- Fix: [#16572] Crash when trying to place track designs.
- Fix: [#16591] [Plugin] ‘setInterval’ and ‘setTimeout’ is not disposed when map unloads.
- Fix: [#16711] [Plugin] ‘Car.rideObject’ overflowing with more than 256 ride types.
- Fix: [#16779] Fix case where title music doesn't unmute properly.
- Fix: [#16808] Incorrect track design serialisation causing vehicle object replacement.
- Fix: [#16869] Soft Toy Stall cannot be recoloured, but shows a recolouring option anyway (original bug).
- Fix: [#16995] Native Linux dialog windows do not open if the path contains single quotes.
- Fix: [objects#165] Glitch when Bengal Tiger Cars go through a corner.
2022-04-25 19:21:38 +02:00
Gymnasiast 3435f91ddf
Fix typo in changelog [ci skip] 2022-04-25 18:57:07 +02:00
Hielke Morsink 779f0d995a
Merge pull request #17007 from Broxzier/bugfix/changelog-typo 2022-04-20 20:12:19 +02:00
Gymnasiast e1b41f0ba4
Add #16869 and #16995 to changelog [ci skip] 2022-04-20 18:23:49 +02:00
Hielke Morsink 37bccd8ea6
Add missing changelog entry for #14920 2022-04-18 16:28:03 +02:00
Hielke Morsink 94f7198fd6
Add quotes around code and command line references 2022-04-17 21:49:43 +02:00
Hielke Morsink a4502d6e0b
Consistent usage of quotes 2022-04-17 21:49:42 +02:00
Hielke Morsink 017965c47b
Add missing full stops 2022-04-17 21:49:42 +02:00
Hielke Morsink 2fd0785de2
Fix typo in changelog 2022-04-17 21:49:37 +02:00
Michał Janiszewski 897a6c240c
Add changelog entry for #16070 2022-04-09 23:56:38 +02:00
Rik Smeets 760c96224c
Prevent slow motion jumps in Maze 2022-04-06 10:42:00 +02:00
Hielke Morsink c429fc329a
Add a new warning for queue length complaints 2022-04-05 19:55:48 +02:00
Hielke Morsink b66d15659f
Remove the new cheat that disable queue length limits
This partially reverts commit 0ece5d0f44.
2022-04-05 19:55:44 +02:00
Charles Machalow 0ece5d0f44
Add a new cheat to disable queue length limits 2022-04-02 20:07:06 +02:00
Rik Smeets 4e8ea47e1b
Guests with umbrellas no longer always avoid Maze when it rains (#16859)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-03-28 23:26:56 -03:00
lawrence ed08654bfa
Fix #16308: Update changelog 2022-03-28 20:38:33 +02:00
Michael Steenbeek 07f66f2322
Merge pull request #16872 from IntelOrca/plugin/image-apis
[Plugin] Add support for custom images
2022-03-28 20:27:10 +02:00
Ted John 46999c1222 Update changelog 2022-03-24 23:33:14 +00:00
Tulio Leao 8200321464 Add changelog 2022-03-23 23:44:50 -03:00
Ted John cfc1b622c2 Update changelog 2022-03-21 21:43:00 +00:00
Ted John 793acf67ae Implement small scenery ternary colours 2022-03-20 18:53:11 +00:00
Charles Machalow 37965560a9
Add ability for plugins to access ride's chain lift speed
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-03-20 15:20:28 +00:00
andrewpratt64 5ea89b9b47
Add function to get all entities on a tile to plugin api
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-03-20 15:20:08 +01:00
spacek531 a3700c832a
Parkobj loads rct_gx (#16806)
* allow loading of lgx rct_gx packed images within parkobjs

* add changelog entry

* allow loading of lgx without range
2022-03-19 18:02:02 +00:00
Duncan d266743083
Fix #16808: Incorrect serialisation of track design object (#16817) 2022-03-18 07:10:19 -03:00
Charles Machalow 99db07cfe0
Fix #16759: No music when unmuting the game in title screen 2022-03-14 21:16:16 +01:00
Ted John dff1d730da Implement #13620: [Plugin] Add support for patrol areas to Staff 2022-03-13 19:30:50 +00:00
Ted John 566bc4d311 Allow patrol areas to be single tiles
Change the patrol areas to be stored as a sorted list of points grouped in fixed cells for each staff entity. The complexity will be a mixed O(1) and O(log n) search.
2022-03-11 18:39:04 +00:00
Ivan Krushkov eb423a73b7
Close #12793: Excitement/Intensity/Nausea ratings to Ride List view with sorting (#16655) 2022-03-11 11:17:14 +00:00
Michael Steenbeek 9b1c915f4d
Merge pull request #16744 from Basssiiie/fix-unlimited-vehicles-defaults
Fix “Disable vehicle limits” cheat giving all new rides 32 trains with 12 cars
2022-03-09 13:03:14 +01:00
Ted John b7b8816db7
Add plugin hook for map save 2022-03-07 21:40:48 +01:00
Bas d239529a73 Fix “Disable vehicle limits” cheat giving all new rides 32 trains 2022-03-03 22:26:33 +01:00
Rik Smeets d92f8c125d
Fix #15909: Prevent text overflow in 'Select ride design' windows
For designs with a long description, a line of text in the 'Select ride design' window could overflow onto the next window element. The window height was just one newline too small. Therefore, increased the window size with a single line.
2022-03-02 20:08:00 +01:00
Rik Smeets 2a7209bee5
Fix #16140: Disable 'follow this' in 'overall' and 'station' view 2022-03-02 20:05:53 +01:00
Rik Smeets 1f83fa417c
Update guest list defaults 2022-02-27 18:46:08 +01:00
Ted John 1182ff5f19 Add Plugin API for storing data in .park files 2022-02-24 23:55:23 +00:00
Bas b14c469232 Fix Car.rideObject from overflowing with more than 256 ride types 2022-02-23 21:33:40 +01:00
Ted John f2117508c4
Fix #15413: Modifying park rating with plugins desyncs history (#16672)
Update park rating history before park rating.
2022-02-23 13:07:04 +00:00
Michael Steenbeek 70121eae38
Close #14484: Make the Heartline Twister ratings less hateful (#16680)
This raises two parameters: the base excitement value (which is very low, especially since the air-time bonus is limited too) and the bonus value (the novelty of this ride type warrants a bigger value).
It leaves the rest of the poor bonuses as-is, as some of them (like scenery and synchronisation bonuses) might just be there because the track obscures the view.
2022-02-23 11:24:02 +01:00
Ted John d93f4bdc1d
Fix #12774: Plugin: Scripts are not reloaded after new scenario (#16686) 2022-02-20 23:14:51 -03:00
Silent 795144662a
Fix #11752: Track pieces with fractional cost are too cheap to build (#16477)
Fixes an inconsistency wuth RCT2 where track prices with a fractional part
did not have their price rounded up when building, but did when refunding.
This created an exploit where refunding such a track piece granted the player
0.50€ more than they spent on the piece.
2022-02-19 17:47:13 +00:00
Sadret 8898d0af56
Close #16251: Adjust openrct2.d.ts to actual API implementation 2022-02-18 21:59:44 +01:00
Tulio Leao 1e58ab4c98
Merge pull request #16673 from IntelOrca/fix/16591-plugin-timeout 2022-02-18 09:38:19 -03:00
Gymnasiast 406817e674
Add #16264 to changelog
[ci skip]
2022-02-17 23:06:59 +01:00
Ted John 105009f3f8 Fix #16591: Plugins: setInterval and setTimeout is not disposed... 2022-02-17 20:18:16 +00:00
Michael Steenbeek ed657f07f0
Add #16572 to changelog [ci skip] 2022-02-14 21:11:18 +01:00
Karst 9dd54b9ee1
Add Inline Twist to B&M Track (#16389)
This adds the inline twist to the B&M track.

Feature is complete. Note: The inline twist doesn't draw correctly when going out of the tunnel. This is sadly an original bug, as this is also present on the Flying RC's Flying Twist (#7466).
2022-02-12 22:31:08 +01:00
GalBr cb83d8ff05
Fix #14674: Recent Messages only shows at most 6 or 7 notifications 2022-02-11 21:47:08 +01:00
Gymnasiast 0389ac2e3d
Fix #14155, #15994: Map Generator places non-tree objects as trees 2022-02-09 15:54:44 +01:00
ζeh Matt 19dca61ee8
Fix #16535: Entering construction mode unblocks all paths 2022-01-31 23:05:26 +01:00
Sadret 6d0bb48b68
[#16251] mark 'callback' argument of [query|execute]Action as optional (#16563) 2022-01-31 18:49:02 +00:00
Michael Steenbeek 8b7f60d10d
Fix: Incorrect “Same price throughout park” for RCT1 import 2022-01-29 15:46:24 +01:00
Gymnasiast 2c7d0a6dd4
Fix spelling of ‘colour’ in changelog [ci skip] 2022-01-24 18:09:45 +01:00
Gymnasiast 3bcd53daf9
Fix typo in changelog [ci skip] 2022-01-24 18:08:32 +01:00
Silent 4172f3eb4e
Close #16493: Boat Hide and Submarine Ride have odd support costs 2022-01-24 11:40:29 +01:00
Duncan b3bae9429c
Fix #16427. Actually copy banners when using tile inspector (#16450) 2022-01-22 08:22:46 +00:00
Michael Steenbeek d97ecdd981
Fix #13336: Can no longer place Bumble Bee track design 2022-01-20 10:56:27 +01:00
Gymnasiast 2fb3a41e1c
Include new objects release 2022-01-19 13:25:23 +01:00
Ted John 992ece4a4c
Fix #16449: Viewport doesn't close when switching tabs 2022-01-19 10:23:44 +01:00
GalBr df5c4dd91c
Fix #15947, #15960: Cannot remove rotated flat rides
Replace _currentTrackPieceDirection with local variable. This change
fixes a problem where when trying to remove a rotated ride,
_currentTrackPieceDirection would be reset back to 0 by calling
ride_initialise_construction_window, causing TrackRemoveAction to not
being able to find and remove the ride.
Using a local variable with the current direction, saved before resetting
the global variable, fixes this issue.
2022-01-16 14:04:00 +01:00
Hielke Morsink e33d71346a
Prevent underground view during title sequence 2022-01-11 17:31:01 +01:00
Michał Janiszewski 4a36520ba2
Fix #16408: Report extended version information (#16413)
* Fix #16408: Report extended version information

* Update distribution/changelog.txt

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-01-10 06:52:39 +00:00
GalBr fae4e6323f
Fix #16234: Wrap vehicle colors when there are more than 32 trains (#16323)
* Wrap vehicle_colours in TrackDesignAction

* Wrap the color presets in set_vehicle_colours_to_random_preset

* Increment network version

* Update changelog.txt

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-01-08 19:03:58 -03:00
ζeh Matt 7318cdd9b0
Update changelog.txt 2021-12-30 14:00:16 +02:00
Michael Steenbeek 24567290ad
Add #16097 to changelog
[ci skip]
2021-12-19 19:38:29 +01:00
Karst ee6296215b
Close#16132: Add Inline Twist to Corkscrew Roller Coaster
The code for this sadly did not exist yet in any other coaster. The sprites did though. So I pulled the sprites from the lay-down coaster and modified the regular inline twist (instead of the flyer) to be drawn correctly.
2021-12-19 18:36:36 +01:00
Michael Steenbeek 2cf62abf85
Fix #16188: B&M tracks support incorrect in single angle 2021-12-19 14:48:53 +01:00
Michael Steenbeek 07a059e10f
Add #16258 to changelog
[ci skip]
2021-12-18 20:54:13 +01:00
Michael Steenbeek 6c6fe67926
Add #15830 to changelog
[ci skip]
2021-12-17 12:53:14 +01:00
Sadret 8282579b63
Close #16251: Improve null handling in plugin API 2021-12-16 21:41:02 +01:00
deurklink ceb49e0984
Fix: #16162 Go Kart speeds not correctly randomised (#16165)
* Fix Go Kart Speeds not being random

Go kart speeds now only get 2 different values (around 37kmh or around 25kmh), in vanilla Go karts can also have a value in between. This PR fixes that.

* Update changelog.txt

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

* Increment network version

* Update replays

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2021-12-11 17:11:23 +00:00
Ted John a324bfab63
Add image manager plugin API (#16144) 2021-12-07 20:55:27 +00:00
Gymnasiast 03749d186c
Amend changelog [ci skip] 2021-12-05 17:00:33 +01:00
ζeh Matt 7cfb5832c4
Fix #16075: Track designs save scenery in wrong location 2021-12-04 12:07:10 +01:00
Gymnasiast f27e282481
Add #15367 to changelog
[ci skip]
2021-12-02 21:34:13 +01:00
Gymnasiast 94f2fdce7f
Add forgotten dot to changelog
[ci skip]
2021-12-02 21:06:16 +01:00
Ian Polito d3ee7eded1
Fix #16007: Scenario Editor "Entry Price" appears in wrong place
Entry Price label was being drawn to the right of the entryPriceWidget which is
outside of the window. Changed to draw it to the right of the
payForParkOrRidesWidget widget instead.
2021-12-02 21:05:57 +01:00
Gymnasiast 9eeb22da5e
Add #16087 to changelog
[ci skip]
2021-12-02 21:00:12 +01:00
Sadret 03d2ddf265
Implement #16029: Add rideType to plugin API (#16030) 2021-12-01 13:39:03 +00:00
Michael Steenbeek fb9d02cab5
Fix #15998: Map action only accepts 998×998 instead of 999×999 2021-11-30 21:27:46 +01:00
Hielke Morsink a15d417d55
Update existing changelog entry to reflect this change 2021-11-30 00:06:39 +01:00
Michael Steenbeek 25cfa06830
Fix #16063: Broken Object Selection preview for glass 2021-11-29 22:27:54 +01:00
Gymnasiast 1a580e3999
Add some missing NSF issues to changelog
[ci skip]
2021-11-29 12:38:14 +01:00
Hielke Morsink 8b9bcf4adc
Fix #16008: Can select elements when no tile selected 2021-11-26 15:47:43 +01:00
Gymnasiast 59728db675
Update changelog for the most important things 2021-11-21 22:44:19 +01:00
Gymnasiast 54574694a6
Start v0.4.0 2021-11-21 22:39:09 +01:00
Gymnasiast 61c67afc66
Release v0.3.5.1
- Improved: [#12825, #12869] The Tile Inspector window’s layout has been tweaked slightly.
- Change: [#15899] Weird bonus for path 0 - likely intended as a queue bonus (original bug).
- Fix: [#15138] Sometimes small scenery stays when building through it.
- Fix: [#15620] Placing track designs at locations blocked by anything results in wrong error message.
- Fix: [#15843] Tile Inspector can be resized too small.
- Fix: [#15844] Tile Inspector has inconsistent text colours.
- Fix: [#15878] Crash when opening a ride window for a corrupted vehicle.
- Fix: [#15908] Crash when track elements have no ride assigned.
- Fix: [#15919] Research status incorrectly considered for scenery when in editor modes.
- Fix: [#15938] Track designs of some ride types are incorrectly exported to TD6.
2021-11-21 22:06:59 +01:00
Michael Steenbeek 7cdb8f162a
Fix: Track designs of some ride types incorrectly exported to TD6 2021-11-20 13:52:48 +01:00
Duncan a60f7de103
Fix #15919: Scenery groups are missing in scenario editor 2021-11-20 11:25:27 +01:00
Hielke Morsink 7a867a8c31
Add github ID for tile inspector change (#15924)
Figured this is best combined with the other Tile Inspector item.
2021-11-17 09:29:09 -03:00
Hielke Morsink 8a1bd1f7d4
Fix #15138: Sometimes small scenery stays when building through it 2021-11-17 11:08:26 +01:00
ζeh Matt f758e82112
Fix #15908: Out of bounds access for track elements with no ride index 2021-11-16 23:15:54 +01:00
Michael Steenbeek e6e0b31397
Fix #15899: Odd ratings bonus for path 0 (#15905) 2021-11-13 12:28:42 +01:00
Hielke Morsink 95f2d82a8f
Fix changelog order and quotation style 2021-11-12 22:49:13 +01:00
Michael Steenbeek e1a1560fd2
Fix #15878: Crash when opening ride window for corrupted vehicle 2021-11-09 18:41:33 +00:00
chrhaase 4ff0022c58
Fix #15844: Tile Inspector inconsistent text colour
`COLOUR_WHITE` was being passed as the colour when drawing
any text. The Options window uses the `rct_window::colours`
array for resolving the correct theme colour.
Replacing all occurrences of `COLOUR_WHITE` with
`w->colours[1]` makes the text colours more consistent.
In the details section values are still painted in black
no matter the colour theme, which is consistent with e.g.
the park information window.
2021-11-09 09:11:48 +01:00