OpenRCT2/src/openrct2
ζeh Matt d6be08a410
Apply review suggestions
2023-02-22 15:58:05 +02:00
..
actions Use fixed size storage for Rides, cleanup interface a bit 2023-02-21 23:20:48 +02:00
audio Spin off Object Type into standalone header (#19278) 2023-01-26 21:39:20 +00:00
cmdline Add command to combine CSG1i and CSG1 (#19378) 2023-02-12 21:13:46 +00:00
config Close #19214: Use consistent casing for RC and RCT (#19230) 2023-01-20 08:19:14 +00:00
core Fix memory leak in GetFileName (#19420) 2023-02-16 19:45:48 +00:00
drawing Replace GfxDrawStringNoFormatting() (#19414) 2023-02-15 22:44:22 +00:00
entity ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery (#19385) 2023-02-15 21:35:16 +00:00
interface Fix GfxWrapString potentially corrupting the in/out buffer 2023-02-14 09:50:05 +01:00
localisation Set the container type in LanguagePack::FromFile to std::string 2023-02-14 09:50:05 +01:00
management ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery (#19385) 2023-02-15 21:35:16 +00:00
network Bump network version for #19401 (#19410) 2023-02-15 11:34:03 +00:00
object ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery (#19385) 2023-02-15 21:35:16 +00:00
paint ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery (#19385) 2023-02-15 21:35:16 +00:00
park Use fixed size storage for Rides, cleanup interface a bit 2023-02-21 23:20:48 +02:00
peep Remove unused global 2023-01-29 20:51:26 +00:00
platform Replace snakes in Class names OpenRCT2/N*-P* (#19227) 2023-01-20 05:24:44 +00:00
profiling Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
rct1 Use fixed size storage for Rides, cleanup interface a bit 2023-02-21 23:20:48 +02:00
rct2 Use fixed size storage for Rides, cleanup interface a bit 2023-02-21 23:20:48 +02:00
rct12 ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery (#19385) 2023-02-15 21:35:16 +00:00
ride Apply review suggestions 2023-02-22 15:58:05 +02:00
scenario Fix #19243: .park scenarios don't complete properly (#19411) 2023-02-16 05:39:31 +00:00
scripting Widens TotalRideValue to fix overflow reported in #19292 (#19326) 2023-02-09 21:51:03 +00:00
title Desnake some stuff, small string passing cleanup (#19388) 2023-02-13 20:30:16 +00:00
ui Rename snake_case Class names (Remaining Bits) (#19237) 2023-01-21 19:57:17 +00:00
util Remove snake_case from Class names OpenRCT2/Ride*-S* (#19232) 2023-01-20 20:58:55 +00:00
windows Rename snake_case Class names (Remaining Bits) (#19237) 2023-01-21 19:57:17 +00:00
world ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery (#19385) 2023-02-15 21:35:16 +00:00
AssetPack.cpp Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
AssetPack.h Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
AssetPackManager.cpp Rename snake_case functions in openrct2/src folder 2023-01-17 13:24:51 +01:00
AssetPackManager.h Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
CMakeLists.txt Remove last references to WINNT 5.1 (#17631) 2022-07-28 22:39:04 +02:00
Cheats.cpp Rename snake_case functions from localisation folder 2023-01-16 23:12:35 +00:00
Cheats.h Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
CmdlineSprite.cpp Add command to combine CSG1i and CSG1 (#19378) 2023-02-12 21:13:46 +00:00
CmdlineSprite.h Rename snake_case functions in openrct2/src folder 2023-01-17 13:24:51 +01:00
Context.cpp Desnake some stuff, small string passing cleanup (#19388) 2023-02-13 20:30:16 +00:00
Context.h Desnake some stuff, small string passing cleanup (#19388) 2023-02-13 20:30:16 +00:00
Date.cpp Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
Date.h Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
Diagnostic.cpp Rename snake_case functions in openrct2/src folder 2023-01-17 13:24:51 +01:00
Diagnostic.h Rename snake_case functions in openrct2/src folder 2023-01-17 13:24:51 +01:00
Editor.cpp Rename snake_case Class names (Remaining Bits) (#19237) 2023-01-21 19:57:17 +00:00
Editor.h Rename snake_case functions in openrct2/src folder 2023-01-17 13:24:51 +01:00
EditorObjectSelectionSession.cpp ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery (#19385) 2023-02-15 21:35:16 +00:00
EditorObjectSelectionSession.h Rename sub_ and loc_ functions 2023-01-17 19:05:14 +01:00
FileClassifier.cpp Desnake the rct2/rct12 fields (#19254) 2023-01-22 19:16:41 +00:00
FileClassifier.h Rename snake_case functions in openrct2/src folder 2023-01-17 13:24:51 +01:00
Game.cpp ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery (#19385) 2023-02-15 21:35:16 +00:00
Game.h Rename snake_case functions in openrct2/src folder 2023-01-17 13:24:51 +01:00
GameState.cpp Rename snake_case functions in OpenRCT2/network folder (#19203) 2023-01-18 06:05:53 +00:00
GameState.h Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
GameStateSnapshots.cpp Widen Vehicle::update_flags to 32 bits (#19340) 2023-02-10 21:46:06 +00:00
GameStateSnapshots.h Rename classes with snakes OpenRCT2/G*-M* 2023-01-19 15:13:23 +00:00
Identifiers.h Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
Input.cpp Rename classes with snakes OpenRCT2/G*-M* 2023-01-19 15:13:23 +00:00
Input.h Rename snake_case Class names (Remaining Bits) (#19237) 2023-01-21 19:57:17 +00:00
Intro.cpp Rename classes with snakes OpenRCT2/A*-F* (#19215) 2023-01-19 08:16:44 +00:00
Intro.h Rename classes with snakes OpenRCT2/A*-F* (#19215) 2023-01-19 08:16:44 +00:00
Limits.h Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
OpenRCT2.cpp Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
OpenRCT2.h Rename snake_case functions in openrct2/src folder 2023-01-17 13:24:51 +01:00
ParkImporter.cpp Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
ParkImporter.h Desnake some stuff, small string passing cleanup (#19388) 2023-02-13 20:30:16 +00:00
PlatformEnvironment.cpp Close #19214: Use consistent casing for RC and RCT (#19230) 2023-01-20 08:19:14 +00:00
PlatformEnvironment.h Add tab to About window to show contributors.md 2023-01-14 00:56:20 +01:00
ReplayManager.cpp Rename classes with snakes OpenRCT2/G*-M* 2023-01-19 15:13:23 +00:00
ReplayManager.h Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
System.hpp Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
TrackImporter.cpp Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
TrackImporter.h Replace 2022 with 2023 in copyright headers 2023-01-01 11:58:01 +01:00
Version.cpp Rename snake_case functions in openrct2/src folder 2023-01-17 13:24:51 +01:00
Version.h Rename snake_case functions in openrct2/src folder 2023-01-17 13:24:51 +01:00
common.h Introduce mph literal for velocities 2023-02-15 10:40:46 +01:00
libopenrct2.vcxproj ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery (#19385) 2023-02-15 21:35:16 +00:00
readme.md Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
sprites.h Close #18975: Create 60 degree lift sprites for the Wooden RC 2023-01-14 19:57:42 +01: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.