OpenRCT2/src/openrct2
Ted John d1cbf998a0 Do not return shared_ptr for LocalisationService
GetLocalisationService is currently used a lot, so remove overhead of shared_ptr copy.
2018-05-11 20:39:00 +01:00
..
actions Start refactoring pathfinding to use tileCoords 2018-05-05 11:42:34 +01:00
audio Use shared_ptr more for UiContext in relation to DrawingEngine 2018-05-11 20:37:48 +01:00
cmdline Remove use of gCurrentLanguage 2018-05-11 20:39:00 +01:00
config Use shared_ptr more for UiContext in relation to DrawingEngine 2018-05-11 20:37:48 +01:00
core Use correct language for scan-objects 2018-05-11 20:39:00 +01:00
drawing Remove use of gUseTrueTypeFont 2018-05-11 20:37:48 +01:00
interface Remove use of gCurrentLanguage 2018-05-11 20:39:00 +01:00
localisation Do not return shared_ptr for LocalisationService 2018-05-11 20:39:00 +01:00
management Fix #7331: Invention list crashes upon removing previously-enabled ride/stall entries 2018-05-11 13:28:56 +02:00
network Use shared_ptr for long-life objects 2018-05-11 20:37:48 +01:00
object Do not return shared_ptr for LocalisationService 2018-05-11 20:39:00 +01:00
paint Remove use of gUseTrueTypeFont 2018-05-11 20:37:48 +01:00
peep Fix desync issue due to mistaken refactor 2018-05-08 19:21:15 +01:00
platform Add namespace closing comments 2018-05-04 22:54:43 +02:00
rct1 Prepare tunnel door support 2018-05-10 09:39:33 +02:00
rct2 Seperate surface tile element 2018-05-01 16:33:16 +02:00
rct12 Display flat rides correctly in previews 2018-05-10 20:54:53 +02:00
ride Use correct language for scan-objects 2018-05-11 20:39:00 +01:00
scenario Use correct language for scan-objects 2018-05-11 20:39:00 +01:00
thirdparty Fix building for mingw 2018-03-22 20:16:58 +00:00
title Fix Android Zip changes 2018-05-09 15:59:05 +02:00
ui Use unique_ptr and shared_ptr for IDrawingEngine 2018-05-11 20:37:48 +01:00
util Improve IZipArchive so that it is more C++ 2018-05-06 17:46:45 +01:00
windows Implement game action for park set research funding 2018-03-20 09:31:39 +01:00
world Consistent coords/tile definition order 2018-05-05 11:42:44 +01:00
CMakeLists.txt Enable curl, openssl and freetype libraries for msvc 2018-04-13 19:21:03 +01:00
Cheats.cpp Update UpdateSpriteType 2018-05-05 11:42:16 +01:00
Cheats.h Add option to freeze all staff to Cheats window 2018-03-22 09:32:20 +01:00
CmdlineSprite.cpp Delete unused function arguments or mark them so (#7426) 2018-04-20 13:56:37 +02:00
CmdlineSprite.h Remove almost every extern C block 2018-02-05 16:20:15 +01:00
Context.cpp Do not return shared_ptr for LocalisationService 2018-05-11 20:39:00 +01:00
Context.h Do not return shared_ptr for LocalisationService 2018-05-11 20:39:00 +01:00
Date.cpp Add cheat and console command to set game date. 2018-01-07 23:53:47 +01:00
Date.h Add Date class 2017-11-10 19:32:32 +01:00
Diagnostic.cpp Make log functions atomic 2018-04-26 21:26:30 +02:00
Diagnostic.h Remove and replace C typedefs 2018-02-14 09:42:26 +01:00
Editor.cpp Delete unused function arguments or mark them so (#7426) 2018-04-20 13:56:37 +02:00
Editor.h Add namespace closing comments 2018-05-04 22:54:43 +02:00
EditorObjectSelectionSession.cpp Replace tile_element_get_type() with struct method 2018-05-02 19:27:04 +02:00
EditorObjectSelectionSession.h Simplify selected object flags 2018-02-12 12:48:41 +00:00
FileClassifier.cpp Fix mismatched deleter in TryClassifyAsTD4_TD6 2018-03-11 21:19:26 +01:00
FileClassifier.h Remove unnecessary checks for __cplusplus 2018-03-14 22:11:30 +01:00
Game.cpp Start the big refactor 2018-05-05 11:04:46 +01:00
Game.h Use enum type that guarantee to support its values 2018-04-24 16:51:42 +02:00
HandleParkLoad.h Reduce inclusion of <string> header 2018-03-21 22:39:19 +01:00
Imaging.cpp Delete unused function arguments or mark them so (#7426) 2018-04-20 13:56:37 +02:00
Imaging.h Reduce header inclusion 2018-03-13 13:14:02 +01:00
Input.cpp Reduce header inclusion 2018-03-13 13:14:02 +01:00
Input.h Remove and replace C typedefs 2018-02-14 09:42:26 +01:00
Intro.cpp Refactor drawing.c to C++ 2018-01-05 22:57:57 +01:00
Intro.h Reduce header inclusion 2018-03-13 13:14:02 +01:00
OpenRCT2.cpp Reduce header inclusions 2018-03-20 00:27:58 +01:00
OpenRCT2.h Reduce header inclusion 2018-03-13 13:14:02 +01:00
ParkImporter.cpp Give context the ownership of repositories and the object manager (#7340) 2018-04-10 13:19:23 +01:00
ParkImporter.h Reduce header inclusion 2018-03-13 13:14:02 +01:00
PlatformEnvironment.cpp Use shared_ptr for long-life objects 2018-05-11 20:37:48 +01:00
PlatformEnvironment.h Use shared_ptr for long-life objects 2018-05-11 20:37:48 +01:00
Version.cpp Reduce header inclusions 2018-03-20 00:27:58 +01:00
Version.h Start v0.1.3 2018-03-18 22:06:31 +01:00
common.h Delete unused function arguments or mark them so (#7426) 2018-04-20 13:56:37 +02:00
libopenrct2.vcxproj Implement basic discord status report 2017-11-11 23:48:04 +00:00
readme.md Move contents of src into project sub directory 2017-01-04 17:44:12 +00:00
sprites.h Correct spelling of 'sujonkwa' 2018-03-29 13:00:01 +02:00

readme.md

Source directory structure

  • audio

    Contains files for mixing and playing music and sound.

  • 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.

  • network

    Network and multiplayer logic, includes management of network games and downloading / uploading of content.

  • management

    Park management logic such as finance, marketing and research.

  • 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.

  • ride

    Data and logic for rides, vehicles and track.

  • 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.