OpenRCT2/src/openrct2/ride/coaster
kyphii 6dfc6225e2
"Reversed Trains" Option (#19305)
* Initial commit for backwards-facing trains

* Allow persistence for reversed cars across save/load

* Make log flume turntable compatible with new reversal implementation

* Style fixes + Better implementation of inverted bank angles

* Further Style Fixes

* Code cleanup from PR feedback

* Fix GetBankRotationForDrawing function declaration

* Use update flag for reversed state

* Replace modulo operation with bit mask

* Correct guest pathing destination when entering reversed cars

* More style fixes

* Add plugin support for reversed vehicles

* Fix formatting error

* Derive reversal from ride mode for car spawning

* Formatting

* Rename function to GetPaintBankRotation

* Add reversed trains modes to Multi Dimension Coaster

* Change name of isReversed plugin API parameter for consistency

* Replace reversal operating modes with separate ride setting

* Add ALLOW_REVERSED_TRAINS flag to more ride types

* Make clang-format happy

* More Formatting

* Fix ALLOW_REVERSED_TRAINS flag on a couple rides

* Exclude flat rides from Reverse Trains tickbox when cheats are enabled

* Formatting

* Use Disable Vehicle Limits cheat for checkbox appearance condition

* Use correct swinging sprites when cars are reversed

* Update changelog and Plugin/Network/Park version numbers

* Formatting

* Add separate error String ID for clarity

* Add name to contributors.md

* Fix ride vehicle preview window with reversed trains for RCT1 train types

* Bump version numbers again

---------

Co-authored-by: Trevor Finney <8711258+finneyt@users.noreply.github.com>
2023-04-21 19:22:33 +03:00
..
meta "Reversed Trains" Option (#19305) 2023-04-21 19:22:33 +03:00
AirPoweredVerticalCoaster.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
AlpineCoaster.cpp Use BoundBoxXYZ version of PaintAddImageAsParentRotated() 2023-02-13 20:51:42 +01:00
BobsleighCoaster.cpp Use BoundBoxXYZ version of PaintAddImageAsParentRotated() 2023-02-13 20:51:42 +01:00
BolligerMabillardTrack.hpp Use BoundBoxXYZ version of PaintAddImageAsParentRotated() 2023-02-13 20:51:42 +01:00
ClassicWoodenRollerCoaster.cpp Rename snake_case Class names (Remaining Bits) (#19237) 2023-01-21 19:57:17 +00:00
CompactInvertedCoaster.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
CorkscrewRollerCoaster.cpp Use BoundBoxXYZ version of PaintAddImageAsParentRotated() 2023-02-13 20:51:42 +01:00
FlyingRollerCoaster.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
GigaCoaster.cpp Add Powered Lifthill to Giga Coaster (#19276) 2023-04-11 06:44:05 -03:00
HeartlineTwisterCoaster.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
HybridCoaster.cpp Add large sloped turns to hybrid and single rail (#19547) 2023-04-05 13:47:56 +01:00
InvertedHairpinCoaster.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
InvertedImpulseCoaster.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
InvertedRollerCoaster.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
JuniorRollerCoaster.cpp GCC 13 fixes (#19519) 2023-02-28 21:04:52 +02:00
JuniorRollerCoaster.h Close #19214: Use consistent casing for RC and RCT (#19230) 2023-01-20 08:19:14 +00:00
LayDownRollerCoaster.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
LimLaunchedRollerCoaster.cpp Use BoundBoxXYZ version of PaintAddImageAsParentRotated() 2023-02-13 20:51:42 +01:00
LoopingRollerCoaster.cpp Fix Looping Coaster trains clipping through steep quarter turns down 2023-04-06 21:34:00 +02:00
MineRide.cpp Use BoundBoxXYZ version of PaintAddImageAsParentRotated() 2023-02-13 20:51:42 +01:00
MineTrainCoaster.cpp Introduce normalised Wooden A supports functions 2023-04-20 18:35:58 +02:00
MiniRollerCoaster.cpp Use BoundBoxXYZ version of PaintAddImageAsParentRotated() 2023-02-13 20:51:42 +01:00
MiniSuspendedCoaster.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
MultiDimensionRollerCoaster.cpp Use BoundBoxXYZ version of PaintAddImageAsParentRotated() 2023-02-13 20:51:42 +01:00
ReverseFreefallCoaster.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
ReverserRollerCoaster.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
SideFrictionRollerCoaster.cpp Use BoundBoxXYZ version of PaintAddImageAsParentRotated() 2023-02-13 20:51:42 +01:00
SingleRailRollerCoaster.cpp Add large sloped turns to hybrid and single rail (#19547) 2023-04-05 13:47:56 +01:00
StandUpRollerCoaster.cpp Use BoundBoxXYZ version of PaintAddImageAsParentRotated() 2023-02-13 20:51:42 +01:00
Steeplechase.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
SuspendedSwingingCoaster.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
VirginiaReel.cpp Clean up PaintAddImageAsParent() calls (#19392) 2023-02-13 22:07:39 +00:00
WildMouse.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00
WoodenRollerCoaster.cpp Update WoodenRCTrackPaint() signature 2023-02-14 09:57:19 +01:00
WoodenRollerCoaster.h Update WoodenRCTrackPaint() signature 2023-02-14 09:57:19 +01:00
WoodenWildMouse.cpp Clean up PaintAddImageAsChildRotated() (#19394) 2023-02-14 08:13:56 +00:00