OpenRCT2/src/openrct2/ride
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
..
coaster "Reversed Trains" Option (#19305) 2023-04-21 19:22:33 +03:00
gentle Add Spiral Slide pallette (#19952) 2023-04-17 09:49:30 +00:00
shops Base shop/facility bounding box on actual height 2023-02-14 01:05:13 +01:00
thrill Fix #16791: rotodrop top piece is replicated (#19970) 2023-04-21 09:48:17 -03:00
transport fix TrackData.cpp (#19922) 2023-04-16 09:28:56 +01:00
water Name a lot of the palettes (#19889) 2023-04-09 20:29:35 +00:00
CableLift.cpp Move Direction out and rename it to Orientation to avoid name conflict 2023-04-07 22:46:25 +03:00
CableLift.h Change openrct2/ride methods to UpperCamelCase, part 1 2023-01-17 01:32:54 +01:00
CarEntry.cpp Use dpi ref in misc drawing folder places 2023-04-11 22:57:25 +01:00
CarEntry.h Add large sloped turns to hybrid and single rail (#19547) 2023-04-05 13:47:56 +01:00
Ride.cpp "Reversed Trains" Option (#19305) 2023-04-21 19:22:33 +03:00
Ride.h "Reversed Trains" Option (#19305) 2023-04-21 19:22:33 +03:00
RideAudio.cpp Close #19214: Use consistent casing for RC and RCT (#19230) 2023-01-20 08:19:14 +00:00
RideAudio.h Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
RideColour.h Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
RideConstruction.cpp Move Direction out and rename it to Orientation to avoid name conflict 2023-04-07 22:46:25 +03:00
RideConstruction.h Replace remaining usages of money16, money32 (#19469) 2023-03-02 21:55:42 +00:00
RideData.cpp Add large sloped turns to hybrid and single rail (#19547) 2023-04-05 13:47:56 +01:00
RideData.h "Reversed Trains" Option (#19305) 2023-04-21 19:22:33 +03:00
RideEntry.h Allow shops and stalls to set their own clearances 2023-02-14 00:52:21 +01:00
RideRatings.cpp Apply review suggestions 2023-03-22 21:51:52 +02:00
RideRatings.h Refactor import/export to support multiple ride rating update states 2023-03-22 21:51:52 +02:00
RideTypes.h Spin off Object Type into standalone header (#19278) 2023-01-26 21:39:20 +00:00
ShopItem.cpp Replace remaining usages of money16, money32 (#19469) 2023-03-02 21:55:42 +00:00
ShopItem.h Replace remaining usages of money16, money32 (#19469) 2023-03-02 21:55:42 +00:00
Station.cpp Vehicle/rename update flags (#19363) 2023-02-12 22:32:16 +00:00
Station.h Change openrct2/ride methods to UpperCamelCase, part 1 2023-01-17 01:32:54 +01:00
Track.cpp Fix #19906: Destructible cheat does not allow ride modification (#19924) 2023-04-14 21:10:54 -03:00
Track.h fix TrackData.cpp (#19922) 2023-04-16 09:28:56 +01:00
TrackData.cpp fix TrackData.cpp (#19922) 2023-04-16 09:28:56 +01:00
TrackData.h Add large sloped turns to hybrid and single rail (#19547) 2023-04-05 13:47:56 +01:00
TrackDesign.cpp import block brake from legacy file types 2023-04-11 19:28:26 -07:00
TrackDesign.h Replace remaining usages of money16, money32 (#19469) 2023-03-02 21:55:42 +00:00
TrackDesignRepository.cpp Rename snake_case functions in OpenRCT2/util folder 2023-01-18 22:44:13 +01:00
TrackDesignRepository.h Change openrct2/ride methods to UpperCamelCase, part 1 2023-01-17 01:32:54 +01:00
TrackDesignSave.cpp ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery (#19385) 2023-02-15 21:35:16 +00:00
TrackPaint.cpp Clean up PaintAddImageAsParent() calls (#19392) 2023-02-13 22:07:39 +00:00
TrackPaint.h Close #19214: Use consistent casing for RC and RCT (#19230) 2023-01-20 08:19:14 +00:00
TrainManager.cpp Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
TrainManager.h Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
Vehicle.cpp "Reversed Trains" Option (#19305) 2023-04-21 19:22:33 +03:00
Vehicle.h "Reversed Trains" Option (#19305) 2023-04-21 19:22:33 +03:00
VehicleColour.h Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
VehicleData.cpp Rename snake_case Class names (Remaining Bits) (#19237) 2023-01-21 19:57:17 +00:00
VehicleData.h Rename snake_case Class names (Remaining Bits) (#19237) 2023-01-21 19:57:17 +00:00
VehiclePaint.cpp "Reversed Trains" Option (#19305) 2023-04-21 19:22:33 +03:00
VehiclePaint.h Rename snake_case Class names (Remaining Bits) (#19237) 2023-01-21 19:57:17 +00:00
VehicleRiderControl.cpp Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
VehicleSubpositionData.cpp Add large sloped turns to hybrid and single rail (#19547) 2023-04-05 13:47:56 +01:00
VehicleSubpositionData.h Rename snake_case Class names (Remaining Bits) (#19237) 2023-01-21 19:57:17 +00:00