OpenRCT2/src/openrct2
Ted John d93f4bdc1d
Fix #12774: Plugin: Scripts are not reloaded after new scenario (#16686)
2022-02-20 23:14:51 -03:00
..
actions Fix #11752: Track pieces with fractional cost are too cheap to build (#16477) 2022-02-19 17:47:13 +00:00
audio Introduce EntityId and refactor everything 2022-02-16 18:56:39 +02:00
cmdline Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
config Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
core Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
drawing Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
entity Remove entrance/exit location functions 2022-02-18 23:28:17 +02:00
interface Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
localisation Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
management Introduce EntityId and refactor everything 2022-02-16 18:56:39 +02:00
network Fix #11752: Track pieces with fractional cost are too cheap to build (#16477) 2022-02-19 17:47:13 +00:00
object Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
paint Remove SPRITE_INDEX_NULL 2022-02-17 18:44:50 +02:00
park Fix #16617: Park format storing/loading temporary paused state 2022-02-20 01:22:50 +02:00
peep Remove entrance/exit location functions 2022-02-18 23:28:17 +02:00
platform Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
profiling Implement profiler (#16194) 2022-01-18 20:21:20 +02:00
rct1 Remove entrance/exit location functions 2022-02-18 23:28:17 +02:00
rct2 Remove entrance/exit location functions 2022-02-18 23:28:17 +02:00
rct12 Merge pull request #16466 from ZehMatt/refactor/identifier-rideid 2022-02-12 11:23:54 -08:00
ride Correct some mistakes 2022-02-18 23:28:21 +02:00
scenario Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
scripting Reduce use of UnderlyingType 2022-02-18 23:21:38 +02:00
title Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
ui Use u8string in FileDialogDesc 2022-01-29 14:09:13 +01:00
util Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
windows Fix clang format 2022-02-12 18:11:18 +02:00
world Remove entrance/exit location functions 2022-02-18 23:28:17 +02: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 Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
CmdlineSprite.h Bring ImageImporter enum names in line with code style 2022-02-12 18:56:17 +01:00
Context.cpp Fix #12774: Plugin: Scripts are not reloaded after new scenario (#16686) 2022-02-20 23:14:51 -03:00
Context.h Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +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 More code review changes 2022-02-14 23:20:19 +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 Close #16468: Use TIdentifier for StationIndex 2022-02-18 23:11:07 +02:00
Game.h Remove platform_get_user_directory() (#16530) 2022-01-29 09:01:05 -03:00
GameState.cpp Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
GameState.h Refactor map size to allow for rectangle maps 2022-02-14 23:15:59 +00:00
GameStateSnapshots.cpp Use correct type for EntityId and fix issues 2022-02-16 18:56:43 +02: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 Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
PlatformEnvironment.h Use [[nodiscard]] for allocator and RAII functions (#15244) 2021-08-23 20:09:43 +02: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 Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01: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.