1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00
Commit Graph

18480 Commits

Author SHA1 Message Date
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
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
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
Michael Steenbeek
be52f6457e Fix .park scenarios messing up Other Parks tab 2022-08-11 16:14:06 +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