OpenRCT2/src/openrct2
Ted John 0aa6ceb2aa Refactor similar loop in s4 and s6 import 2022-03-11 18:39:04 +00:00
..
actions Refactor patrol area class to new file 2022-03-11 18:39:04 +00:00
audio Close #15896: Refactor out the ZoomLevel operators 2022-02-26 23:14:59 +01:00
cmdline Close #16566: Favour WinNT preprocessor version checks over MinGW (#16677) 2022-03-11 07:59:09 -03:00
config Use u8 strings when dealing with file paths 2022-03-01 22:12:39 +01:00
core Close #16566: Favour WinNT preprocessor version checks over MinGW (#16677) 2022-03-11 07:59:09 -03:00
drawing Use u8 strings when dealing with file paths 2022-03-01 22:12:39 +01:00
entity Refactor similar loop in s4 and s6 import 2022-03-11 18:39:04 +00:00
interface Refactor patrol area class to new file 2022-03-11 18:39:04 +00:00
localisation Close #12793: Excitement/Intensity/Nausea ratings to Ride List view with sorting (#16655) 2022-03-11 11:17:14 +00:00
management Introduce EntityId and refactor everything 2022-02-16 18:56:39 +02:00
network Close #16566: Favour WinNT preprocessor version checks over MinGW (#16677) 2022-03-11 07:59:09 -03:00
object Merge pull request #16744 from Basssiiie/fix-unlimited-vehicles-defaults 2022-03-09 13:03:14 +01:00
paint Refactor patrol area class to new file 2022-03-11 18:39:04 +00:00
park Refactor patrol area class to new file 2022-03-11 18:39:04 +00:00
peep Remove entrance/exit location functions 2022-02-18 23:28:17 +02:00
platform Close #16566: Favour WinNT preprocessor version checks over MinGW (#16677) 2022-03-11 07:59:09 -03:00
profiling Implement profiler (#16194) 2022-01-18 20:21:20 +02:00
rct1 Refactor similar loop in s4 and s6 import 2022-03-11 18:39:04 +00:00
rct2 Refactor similar loop in s4 and s6 import 2022-03-11 18:39:04 +00:00
rct12 Merge pull request #16466 from ZehMatt/refactor/identifier-rideid 2022-02-12 11:23:54 -08:00
ride Apply regex for PaintAddIMageAsParentRotated (#16775) 2022-03-11 13:36:55 +00:00
scenario Merge pull request #16724 from Gymnasiast/refactor/remove-path_get_filename 2022-03-02 22:25:08 +01:00
scripting Add plugin hook for map save 2022-03-07 21:40:48 +01:00
title Use u8 strings when dealing with file paths 2022-03-01 22:12:39 +01:00
ui Use u8string in FileDialogDesc 2022-01-29 14:09:13 +01:00
util Refactor uses of safe_strcat_path 2022-03-10 20:18:17 +01:00
windows Fix clang format 2022-02-12 18:11:18 +02:00
world Rename flag and reorg ghost remove flags (#16734) 2022-02-27 22:39:55 +00:00
CMakeLists.txt Update cmakelists to be compatible with MSVC 2022-01-18 18:47:07 +00:00
Cheats.cpp Merge pull request #14780 from duncanspumpkin/sprite2 2021-06-01 20:10:17 +01:00
Cheats.h Update include guards 2021-08-21 09:43:26 +02:00
CmdlineSprite.cpp Use Path::Combine() instead of hardcoded slash 2022-03-02 20:01:04 +01:00
CmdlineSprite.h Bring ImageImporter enum names in line with code style 2022-02-12 18:56:17 +01:00
Context.cpp Refactor uses of path_append_extension 2022-03-10 20:18:17 +01:00
Context.h Refactor uses of path_append_extension 2022-03-10 20:18:17 +01:00
Date.cpp Update copyright year to 2020 2020-07-21 15:04:34 +02:00
Date.h Update copyright year to 2020 2020-07-21 15:04:34 +02:00
Diagnostic.cpp Improve array formatting 2021-10-17 18:21:45 +02:00
Diagnostic.h Update more include guards (#15254) 2021-08-21 12:55:28 +02:00
Editor.cpp Refactor patrol area class to new file 2022-03-11 18:39:04 +00:00
Editor.h Update more include guards (#15254) 2021-08-21 12:55:28 +02:00
EditorObjectSelectionSession.cpp Rename type to conform to coding style 2022-01-19 17:45:51 +00:00
EditorObjectSelectionSession.h Modify object loading for JSON-only objects 2021-09-15 11:28:39 +02:00
FileClassifier.cpp Refactor get_file_extension_type() 2022-01-27 11:14:19 +00:00
FileClassifier.h Refactor get_file_extension_type() 2022-01-27 11:14:19 +00:00
Game.cpp Refactor patrol area class to new file 2022-03-11 18:39:04 +00:00
Game.h Add plugin hook for map save 2022-03-07 21:40:48 +01:00
GameState.cpp Refactor patrol area class to new file 2022-03-11 18:39:04 +00:00
GameState.h Refactor map size to allow for rectangle maps 2022-02-14 23:15:59 +00:00
GameStateSnapshots.cpp Rename VAR_C4 (#16217) 2022-02-22 20:14:42 -03:00
GameStateSnapshots.h Use [[nodiscard]] for allocator and RAII functions (#15244) 2021-08-23 20:09:43 +02:00
Identifiers.h Close #16468: Use TIdentifier for StationIndex 2022-02-18 23:11:07 +02:00
Input.cpp Close #13625: Refactor TOOL_IDX to use strong enum 2020-12-23 20:07:54 -03:00
Input.h Update include guards 2021-08-21 09:43:26 +02:00
Intro.cpp Allow passing ImageId into gfx_draw_sprite() 2021-03-23 11:58:09 +01:00
Intro.h Update include guards 2021-08-21 09:43:26 +02:00
Limits.h OpenRCT2 Limits (#16088) 2022-02-01 20:59:48 +00:00
OpenRCT2.cpp Use u8string for custom paths 2022-01-27 14:21:46 +01:00
OpenRCT2.h Use u8string for custom paths 2022-01-27 14:21:46 +01:00
ParkImporter.cpp Fix: Title Sequence cannot load .park files 2022-01-09 21:48:11 +01:00
ParkImporter.h Fix: Title Sequence cannot load .park files 2022-01-09 21:48:11 +01:00
PlatformEnvironment.cpp Use u8 strings when dealing with file paths 2022-03-01 22:12:39 +01:00
PlatformEnvironment.h Properly use utf8 strings where expected 2022-03-01 22:12:39 +01:00
ReplayManager.cpp Move legacy identifier interpreting to separate file from parkfile 2021-12-15 21:29:02 +00:00
ReplayManager.h Remove macro for registration and cleanup 2021-11-10 19:42:23 +02:00
System.hpp Introduce a base class for system models 2021-08-17 06:58:42 +03:00
TrackImporter.cpp Update copyright year to 2020 2020-07-21 15:04:34 +02:00
TrackImporter.h Use [[nodiscard]] for allocator and RAII functions (#15244) 2021-08-23 20:09:43 +02:00
Version.cpp Rename GameActionResult and use GameActions namespace instead (#13184) 2020-10-14 22:04:39 -03:00
Version.h Release v0.3.5.1 2021-11-21 22:06:59 +01:00
common.h Remove SPRITE_INDEX_NULL 2022-02-17 18:44:50 +02:00
libopenrct2.vcxproj Refactor patrol area class to new file 2022-03-11 18:39:04 +00:00
readme.md Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
sprites.h Add tilde to sprite font 2022-02-06 21:08:40 +01: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.