OpenRCT2/src/openrct2
Duncan 0f92c3b017
Switch vcxproj files to remove wildcards (#11843)
Unfortunately MS has removed the wild card feature from vcxproj files. This will mean all file deletions and creations will need to modify these files to be included in the VS builds.
2020-06-02 13:37:58 +02:00
..
actions Rename Peep::paid_to_enter to PaidToEnter 2020-05-30 20:35:06 -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 Fix #11298: Unable to advertise server (500): Retry with ipv4 only (#11824) 2020-05-30 18:21:22 +02:00
drawing Make use of gfx_sprite_to_buffer 2020-06-01 21:15:25 +01:00
interface Add constants for palette indexes 2020-05-28 22:37:50 +01:00
localisation Apply suggestions from code review 2020-05-30 17:10:08 +02:00
management Rename Peep::voucher_type to VoucherType 2020-05-30 20:35:04 -03:00
network Fix #11298: Unable to advertise server (500): Retry with ipv4 only (#11824) 2020-05-30 18:21:22 +02:00
object Fix JSON object walls with only remap colours 2 and 3 (#11821) 2020-05-28 22:03:50 +02:00
paint Rename MoneyEffect member variables to prevent shadowing (#11748) 2020-05-16 17:04:31 -03:00
peep #9473: Create Vehicle::UpdateFlag (#11850) 2020-06-01 08:35:30 -03:00
platform Refactor rct_palette to GamePalette 2020-05-27 20:52:51 +01:00
rct1 Merge pull request #11849 from hdpoliveira/swing_vars 2020-06-01 08:27:57 -03:00
rct2 Merge pull request #11849 from hdpoliveira/swing_vars 2020-06-01 08:27:57 -03:00
rct12 Use (RCT12)ObjectEntryIndex in more places 2020-05-01 22:06:13 +02:00
ride #9473: Create Vehicle::UpdateFlag (#11850) 2020-06-01 08:35:30 -03:00
scenario Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
scripting Merge pull request #11712 from IntelOrca/plugin/ride-fields 2020-05-29 21:10:51 +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 MoneyEffect member variables to prevent shadowing (#11748) 2020-05-16 17:04:31 -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 Remove Twitch from the rest of the code 2020-05-28 09:28:32 +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 Use (RCT12)ObjectEntryIndex in more places 2020-05-01 22:06:13 +02: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 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 Add constants for palette indexes 2020-05-28 22:37:50 +01: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 Merge pull request #11849 from hdpoliveira/swing_vars 2020-06-01 08:27:57 -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 Improve shared storage read / write 2020-04-26 14:35:06 +01:00
PlatformEnvironment.h Improve shared storage read / write 2020-04-26 14:35:06 +01: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.