1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00
Commit Graph

18619 Commits

Author SHA1 Message Date
Ted John
06e5b7cc1a Remove toggle button 2022-10-01 13:28:47 +01:00
Ted John
717e265c19 Add checkboxes to asset pack window 2022-10-01 13:07:13 +01:00
Ted John
b2d5e356ab Allow multiple asset pack overrides 2022-10-01 13:06:55 +01:00
Ted John
b264a73247 Re-create track sound channel if closed 2022-10-01 13:06:55 +01:00
Ted John
dbf99bed71 Fix crash with invalid JSON 2022-10-01 13:06:55 +01:00
Ted John
589403d6cd Fix uninitialised data 2022-10-01 13:06:55 +01:00
Ted John
14dddde5c0 Ensure rain sound reloads when asset packs are reloaded 2022-10-01 13:06:55 +01:00
Ted John
6f7e571c08 Fix crash when assetpack does not exist 2022-10-01 13:06:55 +01:00
Ted John
edb37a9fba Fix win32 builds 2022-10-01 13:06:55 +01:00
Ted John
bf85e6de4c Implement loading / saving asset pack config 2022-10-01 13:06:55 +01:00
Ted John
331a5961b1 Implement asset packs for audio 2022-10-01 13:06:52 +01:00
73
b9e677945d Replace 20XX with 2022 (#18158)
* Replace 2020 with 2022

Replace all 2020 headers with 2022

* replace other years with 2022

add missing years
2022-10-01 08:42:14 +01:00
Michael Steenbeek
2e5847d8d4 Merge pull request #18136 from Gymnasiast/refactor/more-imageid
Refactor/more imageid
2022-09-30 22:17:57 +02:00
73
1c419bcc9e fix typo and outdated information (#18157)
this will not alter the code, only the annotation
2022-09-30 20:01:30 +00:00
Rik Smeets
efa7a23773 Fix #18140 & #18143: Invalid read in Staff
The tile element should be determined the same way as is done when checking if the footpath is blocked by a vehicle.

Also added some extra safety checks and made the code a bit more efficient / reusable. For example: when the staff member is not a mechanic, the tile element doesn't have to determined.
2022-09-30 18:00:59 +00:00
Gymnasiast
26c080a0d7 Remove unused symbols, fixes 2022-09-30 00:01:13 +02:00
Gymnasiast
a69a8fa7e8 Remove uint32_t overloads in Paint functions 2022-09-29 21:17:16 +02:00
Gymnasiast
cedccf9b0e Use const ImageId in drawing functions 2022-09-29 21:17:15 +02:00
Michael Steenbeek
d352ca3d01 Merge pull request #18146 from ZeeMajora/classic-calculations-2
More accurate rating calculations for the classic coasters
2022-09-29 20:18:11 +02:00
73
edc79d77eb fix visual glitch with supports
maze and shops get their original support colors instead of yellow

Co-authored-by: beam41 <beam_baimon@hotmail.com>
2022-09-29 11:13:15 -04:00
Michael Steenbeek
6f3790cf98 Modify ride drawing code to use ImageId 2022-09-28 21:36:56 +02:00
Rik Smeets
67856292a4 Fix #17889: Peeps don't stop at level railway crossings if approached from downhill
If peeps approached a railway crossing from downhill, they would not stop for a passing train. This was because the exact destination z is determined too late. To always get the correct path, get the first footpath at the previous z index, or one step above.

Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2022-09-28 16:44:05 +00:00
Michael Steenbeek
a0dd6a3aa6 Fix #18087: gCash clamped to 32-bit integer every transaction 2022-09-28 12:20:44 +02:00
Michael Steenbeek
3c11e04b52 Fix #17053: Crash when trying to open files under 4 bytes in length 2022-09-28 03:08:27 +02:00
Michael Steenbeek
7bb7d97bdc More bound box refactors 2022-09-27 21:20:49 +02:00
ZeeMajora
ff85b6bcc3 More accurate rating calculations for the classic coasters 2022-09-27 12:47:16 -04:00
73
a8073f6bd5 Increase limit on Loan Interest from 80% to 255%
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2022-09-27 12:20:01 +02:00
Michael Steenbeek
36b775e573 Fix #17811: Erratic “same price” for photos if gSamePriceThroughoutPark is corrupted 2022-09-26 19:58:19 +02:00
Meehoi
61d74eaa4b Part of #15589: Make numpad enter able to confirm input 2022-09-25 18:33:02 +00:00
Michael Steenbeek
ae0f548d97 Bump network version 2022-09-25 19:21:05 +02:00
73
4f05ef58b2 Add 5 colour presets to Car Ride 2022-09-25 19:20:29 +02:00
73
bfa22d4ac0 Add 4 colour presets to Boat Hire 2022-09-25 19:17:49 +02:00
73
d00737367b Add 2 colour presets to Dodgems 2022-09-25 19:17:01 +02:00
73
a7cd02b2be Add 2 additional colour presets to Flying Saucers 2022-09-25 19:16:06 +02:00
Hielke Morsink
cf6de246ea Merge pull request #16873 2022-09-25 18:58:52 +02:00
Gymnasiast
d135d7dc52 Bump network version for fd531903ce 2022-09-25 13:33:32 +02:00
Michael Steenbeek
a3b7ac5a90 Create category for DLC and BYO scenarios 2022-09-25 12:59:35 +02:00
Rik Smeets
425000bfca Don't prompt to 'Save game as' when saving (#16819)
After loading a saved game and choosing 'Save game', the 'Save game as' window would open the first time every time after loading the save.
Now, it will be saved using the existing save path, except when an autosave is loaded which the player probably doesn't want to overwrite.
2022-09-25 08:33:28 +02:00
Hielke Morsink
c77a685225 Fix invalidation issues 2022-09-25 00:19:35 +02:00
Alex
b00b158464 Refactor of TileInspector to Window class 2022-09-25 00:19:29 +02:00
AuraSpecs
fd531903ce Make maintenance of Mini-Golf less hateful (#17745)
This commit gets rid of Diamond Golf Balls: https://youtu.be/Szk3iPckVTo?t=106
2022-09-24 22:12:01 +00:00
AuraSpecs
6972811bff Fix clipping on Flying RC Inline Twist
Same bug as #17832 but on the Flying RC. This fixes that.
2022-09-24 23:48:44 +02:00
Rik Smeets
ffcd9551c9 Fix #17973: Path items overlay parts of the land 2022-09-24 22:25:12 +02:00
Rik Smeets
6c6ea169f1 Add railway crossing behaviour for staff (#18057) 2022-09-24 07:44:19 +02:00
Stephan Spengler
6be41893a4 Fix #18059: Width and height of custom window not changeable via script (#18061) 2022-09-24 07:06:26 +02:00
Michael Steenbeek
e0a25f3d22 Merge pull request #18081 from rik-smeets/fix-10535
Fix #10535: Guests getting stuck at specific level crossings.
2022-09-23 22:58:13 +02:00
Meehoi
d6ca1a3da9 Fix #18035: Favourited servers don't get their online status updated
From fetching flow, list will always have favourited servers but no code to update those entries, only append.
This code updates those favourited servers in the list with new data from internet by matching address.
This will fix list having 2 duplicate servers too. (one favourited and one not)
2022-09-23 22:51:05 +02:00
Michael Steenbeek
7af999e2dd Fix #17980: Path mess and desync when hovering track design 2022-09-23 22:49:16 +02:00
Rik Smeets
9e68226df0 Fix #10535: Guests stuck at some level crossings
The location of the back vehicle itself should be included in determining whether to clear the 'blocked by vehicle' flag on footpath. Otherwise, in specific cases, blocked footpath can be missed and therefore this flag wouldn't ever be cleared.
2022-09-23 07:53:41 +02:00
Rik Smeets
189ebbced7 Reformat code on updating crossings 2022-09-23 07:11:15 +02:00