Commit Graph

23703 Commits

Author SHA1 Message Date
leoleotte 83e4277cea
Close #13807: Refactor Themes window to class 2022-08-24 21:33:37 +02:00
OpenRCT2 git bot 09253f0545 Merge Localisation/master into OpenRCT2/develop 2022-08-24 04:28:56 +00: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
OpenRCT2 git bot 0ff79d58fe Merge Localisation/master into OpenRCT2/develop 2022-08-22 04:28:12 +00: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
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