1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00
Commit Graph

18473 Commits

Author SHA1 Message Date
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
Michael Steenbeek
980e3cbc4c Remove superfluous line from MSVC project file 2022-08-06 16:34:10 +02:00
Michael Steenbeek
a7e66535d9 Change ‘restroom’ to ‘toilet’ in the code 2022-08-06 14:33:37 +00:00
Michael Steenbeek
746722df1b Fix #17703: (undefined string) when building on invalid height 2022-08-06 15:42:51 +02:00
leoleotte
863892391d Fix #17600: Notifications aren't cleared on park load (#17705)
When loading a save using the New Save Format (.park files), the notification (news) list is not properly terminated and is preserving previously loaded news from other save files, including the main menu ones.
2022-08-06 13:42:07 +00:00
Gymnasiast
49896ece43 Pass considerOnlyCloseRides to PeepHeadForNearestRideWithFlags() 2022-08-06 15:00:52 +02:00
frutiemax
6868b3dcaf Rename IS_SHOP to IS_SHOP_OR_FACILITY and use it for RideObject 2022-08-06 15:00:52 +02:00
frutiemax
2d75858589 Add IS_FIRST_AID flag 2022-08-06 15:00:52 +02:00