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

20134 Commits

Author SHA1 Message Date
reversebottle
7c65a372aa Add kParkRatingHistorySize constant 2024-03-26 13:24:25 +01:00
Michał Janiszewski
43507671b5 Fix crash on null ride in Guest::UpdateRideLeaveExit (#21668) 2024-03-26 11:46:34 +00:00
Stephan Spengler
2913a0686a Add banner properties to plugin API for large scenery, walls and banners 2024-03-26 11:42:09 +00:00
Michael Steenbeek
8e157bd709 Merge pull request #21667 from janclod/replace-define-with-constexpr-1
Part of #21421: Replace define with constexpr
2024-03-26 11:48:35 +01:00
Claudio Tiecher
be6a4cf5d9 Part of #21421: make var decl consistent 2024-03-26 10:34:56 +01:00
Michael Steenbeek
fb49287343 Bump network version for object changes 2024-03-26 00:34:16 +01:00
Michael Steenbeek
457d40bf2b Merge pull request #21642 from Gymnasiast/feature/classic-standup-2024
Add Classic Stand-Up Roller Coaster
2024-03-26 00:28:19 +01:00
Claudio Tiecher
4d99fec550 Part of #21421: apply more clang-formatting 2024-03-25 16:56:04 +01:00
Claudio Tiecher
5d2ecf71e5 Part of #21421: apply clang-formatting 2024-03-25 16:46:44 +01:00
Claudio Tiecher
026e12d22e Part of #21421: refactor MPH(x) as literal 2024-03-25 16:17:32 +01:00
Claudio Tiecher
eb4c64abc4 Part of #21421: improved consistency for var decl 2024-03-25 16:17:32 +01:00
Claudio Tiecher
24688ad5a3 Part of #21421: Refactor TILE_ELEMENT_DIRECTION_MASK 2024-03-25 16:17:32 +01:00
Claudio Tiecher
c6def2d0a9 Part of #21421: Refactor TILE_ELEMENT_TYPE_MASK 2024-03-25 16:17:32 +01:00
Claudio Tiecher
e5ff6b271a Part of #21421: Refactor TILE_ELEMENT_QUADRANT_MASK 2024-03-25 16:17:32 +01:00
Claudio Tiecher
ffb8b4d44b Part of #21421: Refactor MAXIMUM_MAP_SIZE_TECHNICAL 2024-03-25 16:17:32 +01:00
Claudio Tiecher
ef81a6376e Part of #21421: Refactor MINIMUM_MAP_SIZE_TECHNICAL 2024-03-25 16:17:32 +01:00
Claudio Tiecher
b60483f25d Part of #21421: Refactor VEHICLE_SEAT_NUM_MASK 2024-03-25 16:17:32 +01:00
Claudio Tiecher
2c4c2da319 Part of #21421: Refactor VEHICLE_SEAT_PAIR_FLAG 2024-03-25 16:17:32 +01:00
Claudio Tiecher
13e9ff84c2 Part of #21421: Replace define with constexpr (#21626)
* Part of #21421: Refactor RIDE_INITIAL_RELIABILITY in Ride.h

* Part of #21421: Refactor STATION_DEPART_FLAG and STATION_DEPART_MASK

* Part of #21421: Refactor MAX_STATION_PLATFORM_LENGTH

* Part of #21421: Refactor RIDE_RATING_UNDEFINED

* Part of #21421: Refactor TRACK_BLOCK_END

* Part of #21421: Refactor TRACK_PREVIEW_IMAGE_SIZE

* Part of #21421: Refactor based on feedback

* Part of #21421: Fix signed/unsigned mismatch on Win

* Improved consistency kTrackPreviewImageSize

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>

* Part of #21421: kMaxStationPlatformLength to int8

---------

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2024-03-24 21:49:50 +00:00
Michał Janiszewski
0581b1edd3 Fix #18413: Trying to set tooltip using null vehicle (#21662) 2024-03-24 21:21:18 +01:00
Harry Hopkinson
249c8259c1 Fix #20338: Scenery Picker Hotkey not selected with re-paint tool 2024-03-24 12:29:40 +01:00
Max
bc926057eb Fix #21419: Cannot build walls under sloped terrain
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2024-03-23 12:39:00 +01:00
Michael Steenbeek
6eb96b1b07 Fix #21604: Scenario selector shows incorrect guest objectives 2024-03-22 21:39:04 +01:00
Gymnasiast
24807932c3 Fix flat-to-diagonal supports not quite reaching the track 2024-03-22 17:30:02 +01:00
Gymnasiast
c1c71003eb Add fallback for people without RCT1 2024-03-22 17:30:02 +01:00
ZeeMaji
8614517e14 Accurate max build height for classic 2024-03-22 17:30:02 +01:00
Gymnasiast
2465694404 Fix formatting 2024-03-22 17:30:02 +01:00
Gymnasiast
d6ce38185f Consolidate support and general support height calls 2024-03-22 17:30:02 +01:00
Gymnasiast
00e1f504f5 Create rotated version of support functions 2024-03-22 17:30:02 +01:00
Gymnasiast
9982749def Implement diagonal-sloped-straight-to-bank sections 2024-03-22 17:30:02 +01:00
Gymnasiast
b66f687880 Implement diagonal flat parts 2024-03-22 17:30:02 +01:00
Gymnasiast
9b1603a37a Implement 2×2 turns 2024-03-22 17:30:02 +01:00
Gymnasiast
eb058d4fe3 Implement 45 degree banked corners 2024-03-22 17:30:02 +01:00
Gymnasiast
73441bff5d Implement remaining orthogonal banked pieces 2024-03-22 17:30:01 +01:00
Gymnasiast
3c4b0ba36e Consolidate PaintUtilSetGeneralSupportHeight() calls for 3×3 2024-03-22 17:30:01 +01:00
Gymnasiast
515951e667 Normalise PaintUtilRotateSegments() calls 2024-03-22 17:30:01 +01:00
Gymnasiast
6602100d22 Update for upstream changes 2024-03-22 17:30:01 +01:00
Gymnasiast
91e0f91cb0 Name segment constants in ClassicStandUpRollerCoaster.cpp 2024-03-22 17:30:01 +01:00
Gymnasiast
dfa5875c5a Implement 3×3 banked turn (pending calls to segment support height) 2024-03-22 17:30:01 +01:00
Gymnasiast
82d8167482 Fix Classic Stand Up vehicle colours 2024-03-22 17:30:01 +01:00
Gymnasiast
d21b411f43 Implement flat-to-banked transitions 2024-03-22 17:30:01 +01:00
Gymnasiast
1d324247bf Add constants 2024-03-22 17:30:01 +01:00
Gymnasiast
cd5c56d811 Add Classic Stand-Up Roller Coaster 2024-03-22 17:30:01 +01:00
Andrew
a972d231d7 Add shortcut key for sorting tile elements (#21636) 2024-03-22 15:24:10 +01:00
Andrew
693c422cd4 Prevent TI hotkey from setting wall slope for non-slopeable objects (#21635) 2024-03-22 11:20:48 +01:00
Michael Steenbeek
1470507d8e Fix Object Load Error and Scenery Scatter windows looking weird
These two windows (and only these two) inherited from WindowBase, rather than Window, and as such regressed because of #21572.
2024-03-22 02:51:41 +01:00
Michael Steenbeek
74364e2afc Fix #21641: NPE when creating track iterator from invalid tile element 2024-03-22 02:51:11 +01:00
Jan Kelemen
cb3b2a77e7 Move gWidePathTileLoopPosition and gGrassSceneryTileLoopPosition to GameState_t 2024-03-21 22:50:18 +01:00
Michał Janiszewski
4484dc647c Merge pull request #21631 from janisozaur/android-enable-more-libraries
Android: enable more libraries
2024-03-21 14:22:36 +01:00
Duncan
5a70fd97fb Move vehicle sounds update into Ui library (#21577)
* Move vehicle sounds update into Ui library

* Add missing statics

* Apply review comments

* Sprinkle some const

* Clang format accumulate
2024-03-20 11:14:52 +00:00