OpenRCT2/src/openrct2
Ted John e6341f0a42 Get scripting compiling on clang 2020-04-26 14:35:03 +01:00
..
actions Close #10572: Add cheat to allow building at invalid heights 2020-04-25 01:07:36 +02:00
audio Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
cmdline Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
config Add config option for hot reload and refactor 2020-04-26 14:35:01 +01:00
core Get scripting compiling on clang 2020-04-26 14:35:03 +01:00
drawing Fix #11407: Setting an RCT1 path needs better error messages (#11418) 2020-04-25 15:36:44 +02:00
interface Get scripting compiling on clang 2020-04-26 14:35:03 +01:00
localisation Fix #11407: Setting an RCT1 path needs better error messages (#11418) 2020-04-25 15:36:44 +02:00
management Replace usage of set_format_arg by Formatter::Common() (#11412) 2020-04-25 18:44:14 -03:00
network Allow scripting to be compile-disabled 2020-04-26 14:35:03 +01:00
object Use ObjectEntryIndex in more places (#11440) 2020-04-25 00:10:47 +02:00
paint Replace usage of set_format_arg by Formatter::Common() (#11412) 2020-04-25 18:44:14 -03:00
peep Avoid fast-forwarding peep into the ride 2020-04-25 18:27:33 -03:00
platform Fix #11407: Setting an RCT1 path needs better error messages (#11418) 2020-04-25 15:36:44 +02:00
rct1 Fix #11407: Setting an RCT1 path needs better error messages (#11418) 2020-04-25 15:36:44 +02:00
rct2 Use named casts on openrct2/rct* (#11169) 2020-04-18 12:37:34 +02:00
rct12 Use ObjectEntryIndex in more places (#11440) 2020-04-25 00:10:47 +02:00
ride Allow Air Powered Vertical Coaster without complete circuit 2020-04-26 11:25:08 +02:00
scenario Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
scripting Get scripting compiling on clang 2020-04-26 14:35:03 +01:00
title Use named casts on openrct2/(util|windows|scenario|title) (#11146) 2020-04-17 19:45:19 +02:00
ui Move ui scripting API to libopenrct2ui 2020-04-26 14:34:59 +01:00
util Use named casts on openrct2/(util|windows|scenario|title) (#11146) 2020-04-17 19:45:19 +02:00
windows Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
world Use ObjectEntryIndex in more places (#11440) 2020-04-25 00:10:47 +02:00
CMakeLists.txt Get scripting compiling on clang 2020-04-26 14:35:03 +01:00
Cheats.cpp Close #10572: Add cheat to allow building at invalid heights 2020-04-25 01:07:36 +02:00
Cheats.h Close #10572: Add cheat to allow building at invalid heights 2020-04-25 01:07:36 +02:00
CmdlineSprite.cpp Use named casts on openrct2 root folder (#11139) 2020-04-17 21:36:25 +02:00
CmdlineSprite.h Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Context.cpp Allow scripting to be compile-disabled 2020-04-26 14:35:03 +01:00
Context.h Allow scripting to be compile-disabled 2020-04-26 14:35:03 +01:00
Date.cpp Use named casts on openrct2 root folder (#11139) 2020-04-17 21:36:25 +02:00
Date.h Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Diagnostic.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Diagnostic.h Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Editor.cpp Use named casts on openrct2 root folder (#11139) 2020-04-17 21:36:25 +02:00
Editor.h Implement ScenarioSetSetting game action 2019-05-14 21:46:27 +01:00
EditorObjectSelectionSession.cpp Replace usage of set_format_arg by Formatter::Common() (#11412) 2020-04-25 18:44:14 -03:00
EditorObjectSelectionSession.h Close #6024: Closing object selection now advances to next step 2020-04-24 17:19:06 +02:00
FileClassifier.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
FileClassifier.h Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Game.cpp Allow scripting to be compile-disabled 2020-04-26 14:35:03 +01:00
Game.h Transfer server-client scripts over network 2020-04-26 14:35:03 +01:00
GameState.cpp Allow scripting to be compile-disabled 2020-04-26 14:35:03 +01:00
GameState.h Gamestate snapshots (#8819) 2019-05-11 21:31:34 +02:00
GameStateSnapshots.cpp Only suggest final when using non-LTO builds 2020-04-21 13:31:01 +02:00
GameStateSnapshots.h Gamestate snapshots (#8819) 2019-05-11 21:31:34 +02:00
Input.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Input.h Prefer const ref to send ScreenCoordsXY over 2020-02-29 08:25:48 -03:00
Intro.cpp Use constexpr on openrct2/* 2019-10-29 18:44:14 -03:00
Intro.h Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
OpenRCT2.cpp Upload park recording in case of crash 2020-04-02 23:44:59 +02:00
OpenRCT2.h Upload park recording in case of crash 2020-04-02 23:44:59 +02:00
ParkImporter.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
ParkImporter.h Make ParkLoadResult move friendly (#11297) 2020-04-16 13:13:13 +02:00
PlatformEnvironment.cpp Add load and start plugin scripts 2020-04-26 14:34:59 +01:00
PlatformEnvironment.h Add load and start plugin scripts 2020-04-26 14:34:59 +01:00
ReplayManager.cpp Use named casts on openrct2 root folder (#11139) 2020-04-17 21:36:25 +02:00
ReplayManager.h Upload park recording in case of crash 2020-04-02 23:44:59 +02:00
TrackImporter.cpp Fix code and clang format. Delete dead code. 2019-08-09 20:43:02 +01:00
TrackImporter.h Fix code and clang format. Delete dead code. 2019-08-09 20:43:02 +01:00
Version.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Version.h Release v0.2.6 2020-04-17 16:13:30 +02:00
common.h Use named casts on openrct2 root folder (#11139) 2020-04-17 21:36:25 +02:00
libopenrct2.vcxproj Update MSVC project to use Google benchmark 2019-01-22 19:45:56 +01:00
readme.md Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
sprites.h Fix #11407: Setting an RCT1 path needs better error messages (#11418) 2020-04-25 15:36:44 +02:00

readme.md

Source directory structure

  • actions

    Handles player actions and queues pending actions.

  • audio

    Contains files for mixing and playing music and sound.

  • cmdline

    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.