6dfc6225e2
* 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> |
||
---|---|---|
.. | ||
actions | ||
audio | ||
command_line | ||
config | ||
core | ||
drawing | ||
entity | ||
interface | ||
localisation | ||
management | ||
math | ||
network | ||
object | ||
paint | ||
park | ||
peep | ||
platform | ||
profiling | ||
rct1 | ||
rct2 | ||
rct12 | ||
ride | ||
scenario | ||
scripting | ||
title | ||
ui | ||
util | ||
windows | ||
world | ||
AssetPack.cpp | ||
AssetPack.h | ||
AssetPackManager.cpp | ||
AssetPackManager.h | ||
CMakeLists.txt | ||
Cheats.cpp | ||
Cheats.h | ||
CommandLineSprite.cpp | ||
CommandLineSprite.h | ||
Context.cpp | ||
Context.h | ||
Date.cpp | ||
Date.h | ||
Diagnostic.cpp | ||
Diagnostic.h | ||
Editor.cpp | ||
Editor.h | ||
EditorObjectSelectionSession.cpp | ||
EditorObjectSelectionSession.h | ||
FileClassifier.cpp | ||
FileClassifier.h | ||
Game.cpp | ||
Game.h | ||
GameState.cpp | ||
GameState.h | ||
GameStateSnapshots.cpp | ||
GameStateSnapshots.h | ||
Identifiers.h | ||
Input.cpp | ||
Input.h | ||
Intro.cpp | ||
Intro.h | ||
Limits.h | ||
OpenRCT2.cpp | ||
OpenRCT2.h | ||
ParkImporter.cpp | ||
ParkImporter.h | ||
PlatformEnvironment.cpp | ||
PlatformEnvironment.h | ||
ReplayManager.cpp | ||
ReplayManager.h | ||
System.hpp | ||
TrackImporter.cpp | ||
TrackImporter.h | ||
Version.cpp | ||
Version.h | ||
common.h | ||
libopenrct2.vcxproj | ||
readme.md | ||
sprites.h |
readme.md
Source directory structure
-
actions
Handles player actions and queues pending actions.
-
audio
Contains files for mixing and playing music and sound.
-
command_line
Code specific to command line (arguments).
-
config
Code concerning game configuration.
-
core
Provides core functionality such as string operations, encryption, and compression.
-
drawing
Low level drawing logic and palette tables.
-
interface
Window and widget logic, includes high level drawing and input.
-
localisation
String IDs, currency and date logic.
-
management
Park management logic such as finance, marketing and research.
-
network
Network and multiplayer logic, includes management of network games and downloading / uploading of content.
-
object
Code relating to objects (rides, shops, scenery, etc).
-
paint
Prepares objects' sprites to be drawn.
-
peep
Guest and staff definitions and logic such as action management and pathfinding.
-
platform
Compiler and operating system specific code such as type definitions, message handling and file input / output.
-
rct1
Code specific only to RCT1 (vanilla).
-
rct2
Code specific only to RCT2 (vanilla).
-
rct12
Code specific to vanilla RCT, either RCT 1 or RCT 2.
-
ride
Data and logic for rides, vehicles and track.
-
scenario
Code relating to game scenarios.
-
title
Code for loading and updating title screen sequence.
-
util
Utility and helper functions.
-
windows
Definitions and logic for all the windows in the game.
-
world
World objects and mechanics such as the climate, landscape, sprites and park.