Commit Graph
18571 Commits
Author SHA1 Message Date
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
AuraSpecs 53877c244c Allow laydown to pull pieces from corkscrew
This PR allows the Laydown RC to render missing pieces from the corkscrew rc.
2022-09-22 21:29:31 +00:00
Michael Steenbeek 53c6b97d48 Merge pull request #18073 from Gymnasiast/refactor/gmapsize
Use gMapSize instead of MAXIMUM_MAP_SIZE_TECHNICAL in appropriate places
2022-09-22 20:58:07 +02:00
Gymnasiast fc2b718926 Use RCT1 Wooden RC Trains and Single-person swinging cars 2022-09-22 17:09:30 +02:00
Gymnasiast 9367314a9f Bump network version 2022-09-22 16:22:33 +02:00
Gymnasiast f5f4a8a2f6 Use gMapSize instead of MAXIMUM_MAP_SIZE_TECHNICAL in appropriate places
Backported from my map size refactors.

These functions previously scanned the whole map,
so this might also provide a slight performance boost (not tested).
2022-09-22 16:19:46 +02:00
Michael Steenbeek 31e2d7692c Rename more instances of “vehicle” to “train” 2022-09-22 11:22:18 +02:00
Michael Steenbeek 9b27cfd33c Merge pull request #18071 from Gymnasiast/feature/17955
Close #17955: Make ratings setting networked and freeze them
2022-09-21 21:09:41 +02:00
Gymnasiast 8c40223af3 Bump network and plugin API versions 2022-09-21 20:45:17 +02:00
Gymnasiastand733737 fed3863f7c Fix land tiles in some parks
Co-authored-by: 733737 <733737@users.noreply.github.com>
2022-09-21 20:36:30 +02:00
Gymnasiast c1149895fa Close #17955: Make ratings setting networked and freeze them 2022-09-21 19:15:10 +02:00
Hielke Morsink 8d08c13fa6 Fix #17963: Opening research tab breaks marketing tab 2022-09-21 14:49:08 +00:00
Gymnasiast 67c82b75e6 Fix: Cannot build banked turns on the Bobsleigh RC 2022-09-21 15:21:28 +02:00
Gymnasiast 97aec235e7 Fix #18053: Ride types without vehicles get all pieces disabled 2022-09-21 15:10:59 +02:00
Karst 0687e4f393 Fix #18007: River rapids vehicles glitch/sprites get cut off
This reverts commit ce95b58d5e,
"Fix #17992: Virginia Reel doesn't show sloped tracks".

The problem this commit aimed to fix has been (mostly) fixed
in 0a571cce29.
2022-09-21 15:06:45 +02:00
Hielke Morsink 43dbf9eb18 Fix #18032: non-interactive widgets produce sound 2022-09-19 20:38:34 +00:00
Rik Smeets d2634640ce Fix visual glitch with Mine Ride's large turn (#18051) 2022-09-18 23:05:20 +02:00
Michael Steenbeek 36904cf3d0 Remove Reverse Incline Launched Shuttle mode from Junior RC (#18001)
This mode was not available in vanilla RCT2. We added it for RCT1 parity
before realising it was a better idea to just spin it off into its own
roller coaster (namely the Classic Mini RC). When we did eventually split
it, I overlooked this one.

Obviously, this mode still remains available on the Classic Mini RC.
2022-09-17 13:07:16 +02:00
Basssiiie a1be5dead3 Fix park rating overflow with over 32k guests, excitement or intensity (#18026) 2022-09-15 16:08:17 +02:00
Michael Steenbeek 0a571cce29 Fix #17992: Virginia Reel doesn't show sloped tracks 2022-09-12 22:39:40 +02:00
Rik Smeets b161a46beb Fix visual glitch with litter at sloped path 2022-09-11 16:30:49 +00:00
Michael Steenbeek b258298b69 Close #13772: Refactor EditorScenarioOptions to class (#17983) 2022-09-11 17:58:54 +02:00
Rik Smeets a271c6c6f1 Fix Steeplechase S-bends bounding boxes 2022-09-11 17:56:21 +02:00
spacek531 ce95b58d5e Fix #17992: Virginia Reel doesn't show sloped tracks 2022-09-09 08:23:56 +02:00
Michael Steenbeek 4f0f6608f4 Fix BoundBox order 2022-09-07 23:50:16 +02:00
Gymnasiast 2a5bccb4c3 Fix whitespace 2022-09-07 20:54:23 +02:00
Michael Steenbeek 400bbbc5ed Use constant reference 2022-09-07 20:51:00 +02:00
Gymnasiast b4ab72416e Move Boundbox to its own file, remove non-Coords constructors 2022-09-07 20:51:00 +02:00
iikorni b5ba892bd9 Fix naming case errors 2022-09-07 19:41:35 +02:00
iikorni d70bca7980 Fix error with MagicCarpet BoundBox conversion 2022-09-07 19:41:35 +02:00
iikorni 388387c809 Fix formatting on files 2022-09-07 19:41:35 +02:00
iikorni 4fa4e4d440 Change some rides over to the BoundBoxXY struct
Changes over the Crooked House, Ferris Wheel, Haunted House,
Magic Carpet, Swinging Ship, Swinging Inverter Ship, Monorail, and
the Supports file over to using the new BoundBoxXY(Z) struct(s).
2022-09-07 19:41:35 +02:00
iikorni c82bca90eb Add BoundBoxXYZ to Location 2022-09-07 19:41:35 +02:00
iikorni cfc9af6957 Add BoundBoxXY to Location 2022-09-07 19:41:35 +02:00
Michael Steenbeek 1956b718ef Merge pull request #17821 from Basssiiie/plugin-tracksegment-subposition-length
[Plugin] Implement plugin getters for track and vehicle subpositions
2022-09-07 02:36:42 +02:00
Fruitsalad 27e7a1fca7 Added definitions for if DISABLE_NETWORK is defined. 2022-09-06 23:28:34 +02:00
Fruitsalad 63520216a4 Fixes a minor bug
Apparently NetworkBase isn't reset between connecting to a
server and starting a new server, so previously if you
connected to a server that set IsServerPlayerInvisible to
true, disconnected and then started a server (without
closing OpenRCT), player 0 would be invisible despite
the server not being headless.
2022-09-06 23:28:34 +02:00
Fruitsalad f17b1a970e Remove headless servers from the player list UI 2022-09-06 23:28:33 +02:00
Fruitsalad 5bdcd06dec Remove headless servers from the server list player count 2022-09-06 23:26:27 +02:00
Fruitsalad 27bf5e160d Remove unused variable wsa_initialized from NetworkBase 2022-09-06 23:26:27 +02:00
Michael Steenbeek 99a0876ad6 Disable track elements if no train supports them (#17909)
This can be useful in several situations:
- In RCT1 scenarios, or when playing with ported RCT1 vehicles, it will disable elements like banked turns
- We can add extra elements to existing coaster types by default, even if no RCT2 train supports them
2022-09-06 21:24:02 +00:00
Henry Cheng 121f121d4e #17735 Track elements are listed twice when building backwards
Fix: Instead of checking whether bank has the value TRACK_BANK_UPSIDE_DOWN, instead check bank_start, as bank is not guaranteed to be bank_start.
2022-09-06 23:21:22 +02:00
Michael Steenbeek 9578c514d2 Fix #17966: Reversed steel trains do not properly import from S4 2022-09-06 22:57:58 +02:00
Stephan Spengler 1b5f50fd32 Fix #17974: Setting tabIndex of custom window does not work 2022-09-06 22:17:40 +02:00
Yuvraj Tetarwal 90b6cdb62e Fix #17904: Trees are removed at no cost to make way for ride entrance/exits 2022-09-05 22:49:16 +02:00
frutiemax 7cb579795d Fix dirty blocks regression (#17959) 2022-09-04 19:55:19 +02:00
Michael Steenbeek 8709b7800f Merge pull request #17878 from Gymnasiast/feature/flag15-import
Close #6326: Add support for RCTC SV6 files with 15000 entities
2022-09-04 14:10:48 +02:00
Michael Steenbeek 342e3d7e09 Implement cache of loaded ObjData files 2022-09-03 23:34:34 +02:00
Michael Steenbeek 34c7bed26b Use vertical tabs in the New Game dialog 2022-09-03 23:08:43 +02:00