Commit Graph

23691 Commits

Author SHA1 Message Date
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
OpenRCT2 git bot d44a6c25be Merge Localisation/master into OpenRCT2/develop 2022-08-21 04:13:09 +00: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
Michael Steenbeek bae07efb20
Add #3588 to changelog 2022-08-17 19:24:33 +02:00
AuraSpecs 615325dd70
Hotfix B&M inline twist issue (#17832) 2022-08-16 23:50:41 -03:00
Michael Steenbeek 26825a7a9e
Merge pull request #17836 from lalip/fix/17754
Fix [#17544, #17754]: Visual glitches in Invention List window
2022-08-16 19:21:43 +02:00
ale b359aff596
Add changelog entry for #17836 2022-08-15 21:46:06 -04: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
OpenRCT2 git bot 3e378e9a22 Merge Localisation/master into OpenRCT2/develop 2022-08-15 04:24:49 +00:00
Michael Steenbeek 354df90ab1
Fix #17815,#17818: Special... dropdown and brake settings glitches 2022-08-14 20:37:32 +00:00
Hielke Morsink f030b26454
Remove buffer size limit of assert messages 2022-08-14 22:16:53 +02:00
OpenRCT2 git bot 121afbe1d0 Merge Localisation/master into OpenRCT2/develop 2022-08-14 04:08:53 +00:00
frutiemax 37500525b7
Add SpecialElementRatingAdjustment field in the RTD (#17652) 2022-08-13 22:49:38 -03:00
Michael Steenbeek 53f7a20d02
Merge pull request #17809 from Gymnasiast/bla3
Move some code from _legacy.cpp to RideConstruction.cpp (ui)
2022-08-13 23:37:33 +02:00
Michael Steenbeek a07daae770
Remove some unused symbols (#17808) 2022-08-13 21:24:15 +00:00
Gymnasiast 5945f7110a
Move gGotoStartPlacementMode to windows/RideConstruction.cpp 2022-08-13 23:00:54 +02:00
Gymnasiast f8a94c2e12
Move two functions out of _legacy.cpp 2022-08-13 23:00:53 +02:00
frutiemax f9bb5b2447
Add GetGuestWaypointLocation to RTD (#17750) 2022-08-13 16:53:27 -03:00
Michael Steenbeek d9e23e9dfa
Use ride_type_t instead of uint8_t in more places (#17803)
Part of preparation for making ride types into objects.
2022-08-13 21:49:19 +02:00
skdltmxn 6aabe38590
Improve FileIndex (#17773) 2022-08-13 20:32:59 +01:00
Duncan adc51ad9aa
Rework rct_vehicle_colour (#16051)
* Remove rct_vehicle_colour and replace with VehicleColour

* Update network version

* Update replay version
2022-08-13 19:30:30 +00:00
Michael Steenbeek 49215a52cf
Remove unnecessary pops from some strings (#17805) 2022-08-13 20:12:30 +02:00
ale a187e10819
Fix #17535: Multiplayer desync when placing rides with scenery 2022-08-13 18:27:43 +02:00
Michael Steenbeek b3d65c9ee6
Merge pull request #17801 from Gymnasiast/fix/17797
Fix #17797: NPE in ride_check_block_brakes()
2022-08-13 17:55:06 +02:00
Ted John b0656122c1
Fix #17784: Colour preset RNG is biased 2022-08-13 17:33:21 +02:00
Gymnasiast 4832e67d14
Fix crash in ride_scroll_to_track_error() 2022-08-13 17:21:34 +02:00
Gymnasiast ec81a5ff14
Fix #17797: NPE in ride_check_block_brakes() 2022-08-13 16:51:48 +02:00
frutiemax 807e080d41
Add RideUpdate to RTD (#17752) 2022-08-13 10:36:43 -03:00
frutiemax a21d9183e6
Add MusicTrackOffsetLength field to RTD (#17684) 2022-08-13 09:56:05 -03:00
frutiemax 2202f8d060
Add ConstructionWindowContext field to RTD (#17749) 2022-08-13 09:18:56 -03:00
Hielke Morsink 7cafccdb64
Use COORDS_XY_STEP constant in TileInspector.cpp (#17789) 2022-08-13 14:00:13 +02:00
OpenRCT2 git bot b83eebfa92 Merge Localisation/master into OpenRCT2/develop 2022-08-13 04:05:49 +00:00
OpenRCT2 git bot 1472d8bff4 Merge Localisation/master into OpenRCT2/develop 2022-08-12 04:10:01 +00:00
Michael Steenbeek be52f6457e
Fix .park scenarios messing up Other Parks tab 2022-08-11 16:14:06 +00:00
OpenRCT2 git bot bbd5951154 Merge Localisation/master into OpenRCT2/develop 2022-08-11 04:06:40 +00:00
spacek531 48530026a2
Flying coaster track additions 2022-08-10 22:54:33 +00:00
Michael Steenbeek ce03c228ad
Fix #17616: Quarter-tile scenery is misaligned 2022-08-11 00:50:42 +02:00
Michael Steenbeek 5661da1c68
Unwrap game action compat wrappers 2022-08-11 00:00:58 +02:00
Michael Steenbeek 93807ec5bf
Remove ride type checks for log bumps/rapids string 2022-08-10 23:43:00 +02:00
frutiemax 59c31e8b7a
Add AccelerationFactor field to RTD (#17687) 2022-08-09 22:20:07 -03:00
frutiemax 9cd6c646a9
Add UpdateMeasurementsSpecialElements field to RTD (#17659) 2022-08-09 22:18:15 -03:00
ltsSmitty e0e7227dae
Fix sprintf deprecation error on MacOS build
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2022-08-09 20:31:15 +02:00
Michael Steenbeek 39722307d2
Fix #11746: Cannot set ride or shop prices in some circumstances (#17765) 2022-08-09 18:06:21 +00:00
Hielke Morsink 9e1b24d977
Make support transparency invisible by default 2022-08-08 19:04:02 +02:00