OpenRCT2/src/openrct2
Tulio Leao 1ac3b3d2dc Rename Peep::current_train to use TitleCase 2020-06-08 17:36:34 -03:00
..
actions Rename Peep::time_to_stand to TimeToStand 2020-06-08 17:36:34 -03:00
audio Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
cmdline Fix documentation of `sprite exportalldat` command (#11799) 2020-05-23 18:32:41 +02:00
config Fix #11298: Unable to advertise server (500): Retry with ipv4 only (#11824) 2020-05-30 18:21:22 +02:00
core Convert most remaining C-style casts to C++-style ones (#11867) 2020-06-07 23:18:11 +02:00
drawing Convert most remaining C-style casts to C++-style ones (#11867) 2020-06-07 23:18:11 +02:00
interface Rename Peep::current_train to use TitleCase 2020-06-08 17:36:34 -03:00
localisation Convert most remaining C-style casts to C++-style ones (#11867) 2020-06-07 23:18:11 +02:00
management Rename Peep::current_train to use TitleCase 2020-06-08 17:36:34 -03:00
network Convert most remaining C-style casts to C++-style ones (#11867) 2020-06-07 23:18:11 +02:00
object Convert most remaining C-style casts to C++-style ones (#11867) 2020-06-07 23:18:11 +02:00
paint Rename Peep::action_sprite_type to use TitleCase 2020-06-08 17:36:34 -03:00
peep Rename Peep::current_train to use TitleCase 2020-06-08 17:36:34 -03:00
platform Refactor rct_palette to GamePalette 2020-05-27 20:52:51 +01:00
rct1 Rename Peep::current_train to use TitleCase 2020-06-08 17:36:34 -03:00
rct2 Rename Peep::current_train to use TitleCase 2020-06-08 17:36:34 -03:00
rct12 Convert most remaining C-style casts to C++-style ones (#11867) 2020-06-07 23:18:11 +02:00
ride Remove usage of regs.edi and regs.di (#11897) 2020-06-07 19:06:52 -03:00
scenario Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
scripting Merge pull request #11882 from tupaschoal/prevent-shadow-peep-4 2020-06-07 23:35:23 +02:00
title Close #11561: Use ScreenCoordsXY in gfx_draw_string() 2020-05-10 09:49:15 -03:00
ui Implement strings for GameAction errors 2020-04-26 14:35:05 +01:00
util Make strlogicalcmp case insensitive 2020-05-20 08:35:41 +02:00
windows Address review comments on #11598 2020-05-09 12:35:36 +02:00
world Rename Peep::action_sprite_image_offset to TitleCase 2020-06-08 17:36:34 -03:00
CMakeLists.txt Add duktapeConfig.cmake to ease configuration. 2020-05-12 15:13:14 +02:00
Cheats.cpp Close #10572: Add cheat to allow building at invalid heights 2020-04-25 01:07:36 +02:00
Cheats.h Remove some Americanisms 2020-04-26 11:07:19 +02:00
CmdlineSprite.cpp Refactor RLE drawing, one arg struct 2020-06-01 20:46:21 +01:00
CmdlineSprite.h Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Context.cpp Convert most remaining C-style casts to C++-style ones (#11867) 2020-06-07 23:18:11 +02:00
Context.h Rename __ENABLE_SCRIPTING__ to ENABLE_SCRIPTING 2020-04-26 14:35:08 +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 Remove AsPeep 2020-06-06 11:36:48 +01:00
Editor.h Implement ScenarioSetSetting game action 2019-05-14 21:46:27 +01:00
EditorObjectSelectionSession.cpp Use (RCT12)ObjectEntryIndex in more places 2020-05-01 22:06:13 +02:00
EditorObjectSelectionSession.h Close #6024: Closing object selection now advances to next step 2020-04-24 17:19:06 +02:00
FileClassifier.cpp Convert most remaining C-style casts to C++-style ones (#11867) 2020-06-07 23:18:11 +02:00
FileClassifier.h Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Game.cpp Merge pull request #11882 from tupaschoal/prevent-shadow-peep-4 2020-06-07 23:35:23 +02:00
Game.h Apply more code review comments 2020-04-26 14:35:07 +01:00
GameState.cpp Call tick and day plugin hook at the end of the update routine (#11713) 2020-05-10 23:24:15 -03:00
GameState.h Gamestate snapshots (#8819) 2019-05-11 21:31:34 +02:00
GameStateSnapshots.cpp Rename Peep::current_train to use TitleCase 2020-06-08 17:36:34 -03: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 Convert most remaining C-style casts to C++-style ones (#11867) 2020-06-07 23:18:11 +02:00
PlatformEnvironment.h Convert most remaining C-style casts to C++-style ones (#11867) 2020-06-07 23:18:11 +02: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 Replace many C-style casts (#11720) 2020-05-11 14:32:56 +02:00
libopenrct2.vcxproj Switch vcxproj files to remove wildcards (#11843) 2020-06-02 13:37:58 +02:00
readme.md Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
sprites.h Remove Twitch icon from g2.dat 2020-05-28 09:28:32 +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.