OpenRCT2/src/openrct2
ζeh Matt 4bc5f70581
Minor refactor work around the painting (#15226)
* Remove unused variables and drop packing of paint structs

* Move PAINT_QUADRANT_FLAGS out of the header

* Rename enum and variable to SortFlags

* Rename variable and document the sorting

* Apply review
2021-08-17 09:32:58 +01:00
..
actions Map size refactors from NSF (#15112) 2021-08-16 20:51:16 +01:00
audio Fix #14295: Assertion hit in Audio.cpp 2021-03-19 11:58:50 +01:00
cmdline Fix benchmarking 2021-05-03 02:38:42 +01:00
config Fix dereferencing memory from a temporary object (#15137) 2021-07-31 15:34:40 +01:00
core Fix uninitialized variable in Http.h 2021-07-30 21:31:10 +03:00
drawing Map size refactors from NSF (#15112) 2021-08-16 20:51:16 +01:00
interface Map size refactors from NSF (#15112) 2021-08-16 20:51:16 +01:00
localisation Fix 'Type too large' error 2021-08-01 15:14:43 +02:00
management Change most things and formatting to money64 2021-08-01 15:14:42 +02:00
network Fix potential crash on corrupted network data 2021-08-06 20:30:03 +03:00
object Fix #8601: Revert fix to TT’s base blocks, for support blocker usage 2021-07-31 14:10:00 +02:00
paint Minor refactor work around the painting (#15226) 2021-08-17 09:32:58 +01:00
peep Fix #15193: Crash when rides/stalls are demolished 2021-08-15 14:28:08 +02:00
platform Save crash dumps into a separate directory 2021-07-27 18:39:13 +03:00
rct1 Remove gS6Info 2021-08-02 20:38:02 +02:00
rct2 Map size refactors from NSF (#15112) 2021-08-16 20:51:16 +01:00
rct12 Convert to/from money64 during export; convert completed company value 2021-08-01 15:14:43 +02:00
ride Map size refactors from NSF (#15112) 2021-08-16 20:51:16 +01:00
scenario Remove gS6Info 2021-08-02 20:38:02 +02:00
scripting Fix compiler warning C4702 in ScMap.cpp 2021-08-16 23:36:58 +02:00
title Fix #13445: Make FileScanner::ScanDirectory return a unique_ptr 2021-05-20 19:22:36 +02:00
ui Remove old shortcut code and fix issues 2021-02-21 03:14:18 +00:00
util Change most things and formatting to money64 2021-08-01 15:14:42 +02:00
windows Make RideConstructionState a strong enum 2021-08-11 17:51:59 +02:00
world Map size refactors from NSF (#15112) 2021-08-16 20:51:16 +01:00
CMakeLists.txt fix static library name for PkgConfig 2021-02-28 15:48:30 -07:00
Cheats.cpp Merge pull request #14780 from duncanspumpkin/sprite2 2021-06-01 20:10:17 +01:00
Cheats.h Close #14765: Rename gCheatsFastLiftHill 2021-05-29 18:41:16 +02:00
CmdlineSprite.cpp Remove hardcoded terrain style constants from RCT1 and MapGen 2021-03-27 17:34:10 +01:00
CmdlineSprite.h Update copyright year to 2020 2020-07-21 15:04:34 +02:00
Context.cpp Save crash dumps into a separate directory 2021-07-27 18:39:13 +03: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 Fix #13465: Creating a scenario based on a won save game results in a scenario that’s instantly won 2021-08-04 13:31:53 +02:00
Editor.h Remove gS6Info 2021-08-02 20:38:02 +02:00
EditorObjectSelectionSession.cpp Remove gS6Info 2021-08-02 20:38:02 +02:00
EditorObjectSelectionSession.h Create ObjectEntryDescriptor to properly handle mixed DAT and JSON 2020-12-02 17:17:25 +01:00
FileClassifier.cpp Allow loading images from .pob files (#15122) 2021-07-28 21:25:51 +02:00
FileClassifier.h Remove the use of INTERFACE macro and macro its self 2020-08-05 16:30:44 +02:00
Game.cpp Fix #13445: Make FileScanner::ScanDirectory return a unique_ptr 2021-05-20 19:22:36 +02:00
Game.h Fix #13842: News is imported incorrectly 2021-01-20 12:35:11 +01:00
GameState.cpp Fix #14964: Building in multiplayer while paused 2021-06-30 20:51:04 +02:00
GameState.h Address review comments for benchsimulate 2021-01-10 13:34:14 +01:00
GameStateSnapshots.cpp Fix GameStateSnapshots buffer overrun 2021-07-27 21:10:06 +03:00
GameStateSnapshots.h Rework importexport test to use GameStateSnapshots (#14838) 2021-06-08 08:35:31 +01: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 Allow passing ImageId into gfx_draw_sprite() 2021-03-23 11:58:09 +01: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 Save crash dumps into a separate directory 2021-07-27 18:39:13 +03:00
PlatformEnvironment.h Save crash dumps into a separate directory 2021-07-27 18:39:13 +03:00
ReplayManager.cpp Split off EntityTweener into seperate file 2021-05-29 07:47:49 +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.4.1 2021-07-25 20:16:08 +01:00
common.h Remove static attribute from ToMoney64/32/16 2021-08-01 15:14:43 +02:00
libopenrct2.vcxproj Move ScTile code into cpp 2021-08-11 22:15:37 +03:00
readme.md Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
sprites.h Add Πligature 2021-07-20 14:28:43 +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.