Commit Graph

18611 Commits

Author SHA1 Message Date
Gymnasiast 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
Gymnasiast eea69c026c
Bump network version 2022-09-03 16:24:39 +02:00
Stephan Spengler 7537ca24e3
Combine the guest generation loops into one 2022-09-03 16:24:21 +02:00
Gymnasiast 83c6ce6b39
Fix #17865: Unopened rides contribute to difficult guest cap 2022-09-03 16:22:54 +02:00
spacek531 8c8dc632b8
Implement #17806: Warn user if fallback images are used
Warns user on the object debug info, when closing the object selection window after selecting objects, and when opening a park.
2022-09-03 13:56:23 +00:00
Bas 885be63797 Rename subposition rotations to yaw, pitch, roll 2022-09-03 09:34:16 +02:00
Bas 8c39881353 Implement plugin getter for subposition coordinates 2022-09-02 23:19:15 +02:00
Bas 7b5aeece59 Implement plugin getters for subposition and subposition length 2022-09-02 23:18:29 +02:00
Henry Cheng b6ceb1afce
Fix #17866: Wrong Soft Guest Cap at start of new game (#17869)
* Change _suggestedGuestMaximum initalization

* Update initialization method

* Add changelog

* Update changelog entry
2022-09-02 08:27:13 +01:00
Michael Steenbeek 027482cbcf
Fix UpdateRotating function for the Motion Simulator 2022-09-01 12:57:32 +02:00
frutiemax c2cfa95d1a
Add UpdateRideApproachVehicleWaypoints to RTD (#17124) 2022-08-31 22:56:13 -03:00
lalip a891d85dd9
Fix #17897: Guest can get stuck on construction rights outside the park
Caused by a refactor mistake in f0777e5418.
2022-08-31 23:51:05 +02:00
Michael Steenbeek a5a6d3a66c
Merge pull request #17929 from IntelOrca/rctc-support
Add support for RCT Classic assets
2022-08-31 23:26:25 +02:00
Henry Cheng 5f24099f39
Close #17868: Allow scripting to change active tab 2022-08-31 23:13:02 +02:00
Henry Cheng 0c76872869
Fix #17816: Option to pause Steam Overlay not greyed out when using OpenGL 2022-08-31 23:08:36 +02:00
Michael Steenbeek 7d881454de
Merge pull request #17942 from Gymnasiast/sync-objects
Update to objects v1.3.4
2022-08-31 23:03:43 +02:00
Gymnasiast 6d3a3cec76
Apply review requests 2022-08-31 23:02:52 +02:00
Ted John 9699c9db9e
Add support for RCT Classic audio files 2022-08-31 22:48:26 +02:00
Ted John 7d5e2e815e
Support RCT Classic ride music 2022-08-31 22:48:26 +02:00
Ted John 85a66c67ac
Add initial support for RCT Classic 2022-08-31 22:48:26 +02:00
Gymnasiast d8b5932a5e
Rename MaxEntitiesFlag15 to MaxEntitiesRCTCExtended 2022-08-31 22:45:13 +02:00
Gymnasiast b837cea59b
Use a vector instead of array 2022-08-31 22:44:12 +02:00
Gymnasiast 624d6ee752
Remove UnsupportedRCTCFlagException 2022-08-31 22:44:12 +02:00
Gymnasiast fdf6e1fca7
Close #6326: Add support for RCTC SV6 files with 15000 entities 2022-08-31 22:44:12 +02:00
Michael Steenbeek 2062084dab
Merge pull request #17933 from Broxzier/bugfix/17931-object-count-command
Fix #17931: The in-game command ‘count_objects’ crashes the game.
2022-08-31 22:35:52 +02:00
Michael Steenbeek 847299bf1a
Improve legibility [ci skip] 2022-08-31 22:35:14 +02:00
Gymnasiast 180dd5d38d
Use newly ported RCT1 objects for Inverted RC and Steel RC trains 2022-08-31 22:02:40 +02:00
frutiemax 306cc65258
Add UpdateRotating field to RTD 2022-08-31 10:10:39 +02:00
Hielke Morsink bb84c181f3
Fix crash on non-legacy objects 2022-08-30 11:57:28 +02:00
Hielke Morsink ced6f1280f
Fix reading out of bounds in `cc_object_count` 2022-08-30 11:31:24 +02:00
Michael Steenbeek 9dd28c90d7
Merge pull request #17908 from Gymnasiast/refactor/window-clean
Small window symbol cleanup
2022-08-29 22:04:13 +02:00
Rik Smeets e0648f8ddb
Fix guests leaving queue if other guest rejoins it (#17788)
If another guest returns to the queue from the entrance building, guests arriving at the entrance building through the queue could decide to leave it.
2022-08-29 19:57:51 +01:00
Michael Steenbeek 6c54bacd41
Fix #17921: NPE in track_block_get_next() (#17922) 2022-08-28 23:46:50 +02:00
Michael Steenbeek a2f3ab84cc
Print x and y offsets when extracting sprite from command line 2022-08-28 21:32:52 +02:00
Hielke Morsink 61c35c8f1c
Fix #17905: chain button enabled for rectangular maps 2022-08-28 09:36:18 +02:00
AuraSpecs 2633eb013f
Add three colour schemes to Flying Roller Coaster 2022-08-27 15:37:24 +00:00
Gymnasiast 45e7ee6a73
Rename rct_window_event_list to WindowEventList 2022-08-27 16:56:52 +02:00
Gymnasiast 5647fc8506
Fix flag usage 2022-08-27 16:52:29 +02:00
Gymnasiast ae8b2b8374
Remove unused window events 2022-08-27 16:50:02 +02:00
Gymnasiast bc650d1238
Use RCT2 brakes 2022-08-26 23:53:03 +02:00
spacek531 74ff5429a9
Add Classic Wooden Roller Coaster
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2022-08-26 23:53:03 +02:00
leoleotte 83e4277cea
Close #13807: Refactor Themes window to class 2022-08-24 21:33:37 +02:00
Tulio Leao 8ae01beeb1
Merge pull request #17736 from rik-smeets/calculate-maze-support-costs 2022-08-24 00:24:46 -03:00
Michael Steenbeek 942874152e
Merge pull request #17875 from Gymnasiast/refactor/window-struct-names
Rename rct_widgetindex to WidgetIndex
2022-08-23 15:07:10 +02:00
Rik Smeets 67ea7e739f
Fix #14337: Guest blocking ride entrance (#17743)
If the ride price becomes unaffordable for a guest who is already waiting to enter a vehicle, that guest became stuck due to an animation loop.
2022-08-22 21:15:58 +01:00
Rik Smeets f7c769603b Close #9104: Calculate maze support costs 2022-08-22 19:30:01 +02:00
Rik Smeets 5c596eae5d Extract maze cost calculation 2022-08-22 19:29:56 +02:00
Gymnasiast aea4df11fd
Remove rct_window_event (unused) 2022-08-21 18:59:46 +02:00
Gymnasiast 828ad513a7
Remove wndproc (unused) 2022-08-21 18:55:09 +02:00
Gymnasiast 2f6b82b13f
Remove gMaxTextBoxInputLength (only written to) 2022-08-21 18:54:51 +02:00
Gymnasiast a088537b65
Rename rct_widgetindex to WidgetIndex 2022-08-21 18:49:23 +02:00
Hielke Morsink 7f29e4e39c
Make `rct_windowclass` strong type `WindowClass`
This already revealed some places where implicit conversions were done, including some where its use was nonsense (MouseInput.cpp).
The changes to the Intent class were necessary to keep things working, and this splits things up more neatly.
2022-08-21 18:38:25 +02:00
Michael Steenbeek ebe38a91ce
Return dummy TED when index is out of bounds (#17810) 2022-08-21 17:09:18 +01:00
Ted John 05f2995d71
Fix #17843: New ride window incorrectly shows track design list 2022-08-21 16:19:43 +02:00
Dan Stevens 4291568a95
Fix #17844L ‘ride.ratings.calculate’ hook called several times during calculation
The ‘ride.ratings.calculate’ API hook is now called for a ride only after its rating calculations are complete (RIDE_LIFECYCLE_TESTED lifecycle_flag is set).
2022-08-21 00:25:17 +02:00
Michael Steenbeek 564a902b5f
Fix #15328: Incorrect railing on Wooden RC station (#17831) 2022-08-18 23:24:23 +02:00
skdltmxn 4fcdafc0f4
Fix #17834: finance window becomes blank after 4096 years 2022-08-17 23:05:18 +02:00
Michael Steenbeek 815d5ce2d5
Fix #17848: Trim colour not imported correctly from TD6 2022-08-17 17:44:06 +00:00
AuraSpecs 615325dd70
Hotfix B&M inline twist issue (#17832) 2022-08-16 23:50:41 -03:00
ale 7f33e4886d
Fix #17544: Placement rule in Invention List window does not move 2022-08-15 19:52:20 -04:00
ale 3a5a8d4f78
Fix #17754: Scenery Group thumbnails missing in Invention List window 2022-08-15 19:50:01 -04:00