OpenRCT2/src/openrct2
Gymnasiast c40701d997
Make gfx_draw_string() take a TextPaint argument
2021-02-28 00:26:20 +01:00
..
actions Merge pull request #14163 from Gymnasiast/refactor/get-rtd 2021-02-26 10:46:38 +01:00
audio Move ride audio into own namespace 2021-01-27 18:45:28 +00:00
cmdline Address review comments for benchsimulate 2021-01-10 13:34:14 +01:00
config Refactor IStream::ReadArray to return unique_ptr 2021-02-12 19:30:53 +02:00
core Roll our own implementation of parse 2021-02-21 03:14:19 +00:00
drawing Make gfx_draw_string() take a TextPaint argument 2021-02-28 00:26:20 +01:00
interface Make gfx_draw_string() take a TextPaint argument 2021-02-28 00:26:20 +01:00
localisation Add remove button to clear a shortcut 2021-02-23 21:34:32 +00:00
management Make all access to RTD table use the bounds checking function 2021-02-26 10:01:00 +01:00
network Reduce inclusion of EntityList.h 2021-02-25 10:56:27 +01:00
object Replace gfx_draw_string_centred() with DrawTextBasic() 2021-02-28 00:23:00 +01:00
paint Make gfx_draw_string() take a TextPaint argument 2021-02-28 00:26:20 +01:00
peep Merge pull request #14163 from Gymnasiast/refactor/get-rtd 2021-02-26 10:46:38 +01:00
platform Add missing include in Windows. cpp 2021-02-25 10:56:27 +01:00
rct1 Merge pull request #14163 from Gymnasiast/refactor/get-rtd 2021-02-26 10:46:38 +01:00
rct2 Merge pull request #14134 from duncanspumpkin/reorg_entityexport 2021-02-26 13:08:56 +01:00
rct12 Refactor flat ride track pieces 2021-02-18 17:50:19 +01:00
ride Merge pull request #14163 from Gymnasiast/refactor/get-rtd 2021-02-26 10:46:38 +01:00
scenario Reduce inclusion of world/Sprite.h 2021-02-25 10:56:27 +01:00
scripting Merge pull request #14171 from IntelOrca/plugin/custom-widget 2021-02-27 01:31:00 +00:00
title Make gfx_draw_string() take a TextPaint argument 2021-02-28 00:26:20 +01:00
ui Remove old shortcut code and fix issues 2021-02-21 03:14:18 +00:00
util Cleanup variables usage and initialize them 2021-01-06 22:29:40 +01:00
windows Use the RTD instead of ride_type_has_flag() 2021-02-24 14:10:30 +01:00
world Remove gCurrentFontSpriteBase from some functions 2021-02-28 00:26:20 +01:00
CMakeLists.txt Find the system wide installed Discord RPC library. (#13658) 2021-01-11 00:02:22 +01:00
Cheats.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
Cheats.h Remove built-in explode guests cheat 2020-11-16 22:07:52 +01:00
CmdlineSprite.cpp Close #13637: Refactor sprite compiler for filesystem efficiency 2020-12-29 13:12:55 +01:00
CmdlineSprite.h Update copyright year to 2020 2020-07-21 15:04:34 +02:00
Context.cpp Reduce inclusion of world/Sprite.h 2021-02-25 10:56:27 +01:00
Context.h Fix REPL write line on Linux 2021-02-16 20:24:51 +00: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 Fix REPL write line on Linux 2021-02-16 20:24:51 +00:00
Diagnostic.h Close #12452: Refactor DIAGNOSTIC_LEVEL to use strong enum (#12549) 2020-08-02 07:51:02 +01:00
Editor.cpp Move SPRITE_INDEX_NULL, MAX_SPRITES to their new homes 2021-02-25 10:56:27 +01:00
Editor.h Close #12453: Refactor RCT2_EDITOR_STEP to strong enum 2020-12-23 20:07:53 -03:00
EditorObjectSelectionSession.cpp Merge pull request #14163 from Gymnasiast/refactor/get-rtd 2021-02-26 10:46:38 +01:00
EditorObjectSelectionSession.h Create ObjectEntryDescriptor to properly handle mixed DAT and JSON 2020-12-02 17:17:25 +01:00
FileClassifier.cpp Refactor IStream::ReadArray to return unique_ptr 2021-02-12 19:30:53 +02:00
FileClassifier.h Remove the use of INTERFACE macro and macro its self 2020-08-05 16:30:44 +02:00
Game.cpp Move SPRITE_INDEX_NULL, MAX_SPRITES to their new homes 2021-02-25 10:56:27 +01:00
Game.h Fix #13842: News is imported incorrectly 2021-01-20 12:35:11 +01:00
GameState.cpp Reduce inclusion of world/Sprite.h 2021-02-25 10:56:27 +01:00
GameState.h Address review comments for benchsimulate 2021-01-10 13:34:14 +01:00
GameStateSnapshots.cpp Move SPRITE_INDEX_NULL, MAX_SPRITES to their new homes 2021-02-25 10:56:27 +01:00
GameStateSnapshots.h Fix replay snapshots comparing states with different ticks 2021-01-22 15:35:16 +02:00
Input.cpp Close #13625: Refactor TOOL_IDX to use strong enum 2020-12-23 20:07:54 -03:00
Input.h Close #13625: Refactor TOOL_IDX to use strong enum 2020-12-23 20:07:54 -03:00
Intro.cpp Move the audio code into OpenRCT2 namespace 2020-10-07 00:34:42 +03:00
Intro.h Close #12457: Rename INTRO_STATE to use PascalCase 2020-07-26 09:32:53 -04:00
OpenRCT2.cpp Close #12412: Refactor PROMPT_MODE to use strong enum (#13076) 2020-10-02 23:04:59 -03:00
OpenRCT2.h Close #12412: Refactor PROMPT_MODE to use strong enum (#13076) 2020-10-02 23:04:59 -03:00
ParkImporter.cpp Add .sea support to New Scenario list and extension handling 2020-09-28 21:17:28 +02:00
ParkImporter.h Refactor to avoid unnecessary copies (#13736) 2021-01-11 18:14:15 -03:00
PlatformEnvironment.cpp Read legacy shortcuts and move to constants 2021-02-21 03:14:17 +00:00
PlatformEnvironment.h Read legacy shortcuts and move to constants 2021-02-21 03:14:17 +00:00
ReplayManager.cpp Reduce inclusion of world/Sprite.h 2021-02-25 10:56:27 +01:00
ReplayManager.h Remove the use of INTERFACE macro and macro its self 2020-08-05 16:30:44 +02:00
TrackImporter.cpp Update copyright year to 2020 2020-07-21 15:04:34 +02:00
TrackImporter.h Remove the use of INTERFACE macro and macro its self 2020-08-05 16:30:44 +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.2 2020-11-01 20:00:01 +01:00
common.h Move SPRITE_INDEX_NULL, MAX_SPRITES to their new homes 2021-02-25 10:56:27 +01:00
libopenrct2.vcxproj Move TileElementBase to its own file 2021-02-14 21:28:02 +01:00
readme.md Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
sprites.h Add eye icon for tab 2021-02-21 03:14:18 +00: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.