Commit Graph

1483 Commits

Author SHA1 Message Date
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
ed8b7cb6ee Change API for interacting with park storage 2022-02-24 23:55:23 +00: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
Michael Steenbeek
4c046024a3 Merge pull request #16640 from ZehMatt/refactor/entityid-16469
#16469: Introduce EntityId and refactor everything
2022-02-18 21:29:23 +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
ζeh Matt
fcea5bc483 Update openrct2.d.ts 2022-02-16 19:53:03 +02:00
ζeh Matt
e46338a2f1 Fix scripting API returning 0 instead of null. 2022-02-16 19:41:59 +02:00