OpenRCT2/src/openrct2
Duncan f4440b57b7
Merge pull request #10488 from Gymnasiast/refactor/map_get_footpath_element
Refactor map_get_footpath_element() and fix #10486
2020-01-02 07:45:15 +00:00
..
actions Merge pull request #10488 from Gymnasiast/refactor/map_get_footpath_element 2020-01-02 07:45:15 +00:00
audio Rename methods to GetBaseZ/GetClearanceZ 2019-12-23 20:08:37 +01:00
cmdline Rename some bits to allow unity builds of libopenrct2 (#9944) 2019-08-29 23:03:56 +02:00
config Remove old widechar <-> utf-8 conversion function 2019-07-22 23:44:03 +01:00
core Fix C26439 SPECIAL_NOEXCEPT 2019-12-27 15:05:27 -03:00
drawing Create definitions for some coords related stuff (#10456) 2019-12-30 15:03:51 +00:00
interface Add Keyboard Shortcuts to the Tile Inspector (#10430) 2019-12-31 09:34:38 +01:00
localisation Add Keyboard Shortcuts to the Tile Inspector (#10430) 2019-12-31 09:34:38 +01:00
management Use enum class for ExpenditureType 2019-12-22 20:51:55 +01:00
network Improve variable initialisation, if statements and assertions 2019-12-27 15:05:28 -03:00
object Refactor to reduce usage of LocationXY8 and sLocationXY8 (#10479) 2019-12-30 19:03:34 +00:00
paint Refactor calls to staff_is_patrol_area_set() 2019-12-31 10:10:40 +01:00
peep Refactor calls to staff_is_patrol_area_set() 2019-12-31 10:10:40 +01:00
platform Support NetBSD and simplify platform ifdefs. (#10271) 2019-12-22 17:07:39 +01:00
rct1 Create getters for station height and start (#10453) 2019-12-27 15:57:40 +01:00
rct2 Fix C6001: using uninitialized memory 2019-12-27 15:05:27 -03:00
rct12 Fix #10036: Do not allocate large chunks of memory for save file classification (#10040) 2019-10-03 17:36:58 +02:00
ride Refactor map_get_footpath_element() and fix #10486 2019-12-31 10:08:36 +01:00
scenario Use enum class for ExpenditureType 2019-12-22 20:51:55 +01:00
thirdparty Add ghc::filesystem for thirdparty/ 2019-11-21 13:40:20 +01:00
title Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
ui Use ScreenCoordsXY on context cursor operations (#10364) 2019-12-14 22:52:18 +01:00
util Use constexpr on openrct2/* 2019-10-29 18:44:14 -03:00
windows Reduce desyncs by removing teh track before updating peep logic 2019-12-15 08:21:32 +00:00
world Refactor map_get_footpath_element() and fix #10486 2019-12-31 10:08:36 +01:00
CMakeLists.txt CMakeLists.txt: make discord-rpc and google benchmark optional (#10208) 2019-11-09 21:20:16 +01:00
Cheats.cpp Make the CI happy 2019-07-27 19:22:26 +02:00
Cheats.h Implement 'Remove Ducks' cheat 2019-10-20 00:21:18 +02:00
CmdlineSprite.cpp Improve variable initialisation, if statements and assertions 2019-12-27 15:05:28 -03:00
CmdlineSprite.h Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Context.cpp Use ScreenCoordsXY on context cursor operations (#10364) 2019-12-14 22:52:18 +01:00
Context.h Make CursorState store a ScreenCoordsXY object 2019-12-14 23:30:55 -03:00
Date.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00: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 Refactor window_set_location to use rct_window::SetLocation 2019-08-11 17:21:56 +02:00
Editor.h Implement ScenarioSetSetting game action 2019-05-14 21:46:27 +01:00
EditorObjectSelectionSession.cpp Fix output result of remove_unused_objects (#10029) 2019-10-01 22:30:11 +02:00
EditorObjectSelectionSession.h Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
FileClassifier.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
FileClassifier.h Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Game.cpp Create definitions for some coords related stuff (#10456) 2019-12-30 15:03:51 +00:00
Game.h Remove dead game command code. 2019-12-15 08:21:32 +00:00
GameState.cpp Refactor out gCommandExpenditureType 2019-12-22 20:51:49 +01:00
GameState.h Gamestate snapshots (#8819) 2019-05-11 21:31:34 +02:00
GameStateSnapshots.cpp Fix C26439 SPECIAL_NOEXCEPT 2019-12-27 15:05:27 -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 Use ScreenCoordsXY for Mouse Drag storage (#10380) 2019-12-17 18:38:20 +01: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 Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
OpenRCT2.h Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
ParkImporter.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
ParkImporter.h Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
PlatformEnvironment.cpp Gamestate snapshots (#8819) 2019-05-11 21:31:34 +02:00
PlatformEnvironment.h Gamestate snapshots (#8819) 2019-05-11 21:31:34 +02:00
ReplayManager.cpp Reduce direct usage of LOCATION_NULL (#10480) 2019-12-31 09:01:17 +01:00
ReplayManager.h Remove obsolete code 2019-07-14 16:42:08 +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 Support NetBSD and simplify platform ifdefs. (#10271) 2019-12-22 17:07:39 +01:00
common.h Throw exception if floor2 and ceil2 are misused 2019-12-03 23:13:12 -03:00
libopenrct2.vcxproj Update MSVC project to use Google benchmark 2019-01-22 19:45:56 +01:00
readme.md
sprites.h Fix display of G2 characters; remove some unused sprite IDs 2019-09-01 11:12:09 +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.