OpenRCT2/src/openrct2
Helio Nunes Santos 2812be8c9a
Close #12252: remove of goto in function wall_remove_at (#12279)
* Removed use of goto in function wall_remove_at
* Implemented overload of function map_get_wall_element_at
2020-07-16 17:52:45 -03:00
..
actions Part of #12243: Use coords for MazeRemoveTrack (#12251) 2020-07-15 23:34:26 -03:00
audio Part of #9473: Vehicle sounds update functions (#12001) 2020-06-21 17:16:32 +01:00
cmdline Part of #11437: Move PlatformFileExists to Platform2.h (#12077) 2020-07-02 12:03:31 -03:00
config Add config enum name for Forint 2020-06-30 11:27:01 +02:00
core Fix mingw build 2020-07-11 11:45:50 +01:00
drawing Close #12096: Use only ScreenRect on gfx_fill_rect (#12280) 2020-07-15 22:34:57 -03:00
interface Refactor more widgets definitions into new format 2020-07-16 20:48:25 +02:00
localisation Forbid usage of uint8_t* in formatter::Add 2020-07-13 17:40:04 -04:00
management Clean up voucher arguments 2020-07-07 21:13:40 +02:00
network Part of #12243: Use coords for MazeRemoveTrack (#12251) 2020-07-15 23:34:26 -03:00
object Close #12118: Prefer foward declaration of *Coords* in headers (#12142) 2020-07-06 10:10:39 -03:00
paint Fix #12257: Fix refactoring of is_sprite_interacted_with_palette_set (#12258) 2020-07-14 12:20:53 +01:00
peep Close #12161: Use CoordsXYE on peep_interact_with_shop (#12236) 2020-07-13 14:39:59 -03:00
platform Use u8path on file path (#12205) 2020-07-12 21:56:02 +01:00
rct1 Move some constants to RCT12.h 2020-07-13 22:04:50 +02:00
rct2 Move some constants to RCT12.h 2020-07-13 22:04:50 +02:00
rct12 Move some constants to RCT12.h 2020-07-13 22:04:50 +02:00
ride Part of #12245: Use coords for window_scroll_to_location (#12282) 2020-07-15 23:26:27 -03:00
scenario Fix #12213: Incorrect viewport invalidation on load (#12232) 2020-07-13 18:20:16 +02:00
scripting Convert SPRITE_LIST to an enum class 2020-07-04 07:38:11 +01:00
title Fix #12095: Use ScreenRect on gfx_set_dirty_blocks (#12106) 2020-07-08 13:16:24 -03:00
ui Close #12118: Prefer foward declaration of *Coords* in headers (#12142) 2020-07-06 10:10:39 -03:00
util Part of #11159: Optimize util_zlib_deflate return (#12111) 2020-07-04 09:21:50 -03:00
windows Move covered track piece availability to RTD 2020-06-17 23:15:05 +02:00
world Close #12252: remove of goto in function wall_remove_at (#12279) 2020-07-16 17:52:45 -03:00
CMakeLists.txt Fix build on OpenBSD (#11870) 2020-06-12 16:45:22 +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 Part of #11159: ImageImporter::ImportResult uses std::vector (#12076) 2020-07-02 14:04:49 -03:00
CmdlineSprite.h
Context.cpp Add rename error message if sea file fails to open 2020-07-12 00:15:21 +01: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
Diagnostic.cpp
Diagnostic.h
Editor.cpp Implement GetSprite and use it in a number of places 2020-06-16 20:21:56 +01:00
Editor.h
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 Convert most remaining C-style casts to C++-style ones (#11867) 2020-06-07 23:18:11 +02:00
FileClassifier.h
Game.cpp Clean up current_ride 2020-07-07 21:13:09 +02: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
GameStateSnapshots.cpp Clean up voucher arguments 2020-07-07 21:13:40 +02:00
GameStateSnapshots.h
Input.cpp
Input.h Prefer const ref to send ScreenCoordsXY over 2020-02-29 08:25:48 -03:00
Intro.cpp Part of #12096: ScreenRect for gfx_fill_rect in libopenrct2 (#12109) 2020-07-08 14:07:26 -03:00
Intro.h
OpenRCT2.cpp Replace occurrences of OpenRCT with OpenRCT2 (#11898) 2020-06-08 15:11:07 +02:00
OpenRCT2.h Replace occurrences of OpenRCT with OpenRCT2 (#11898) 2020-06-08 15:11:07 +02:00
ParkImporter.cpp
ParkImporter.h Make ParkLoadResult move friendly (#11297) 2020-04-16 13:13:13 +02:00
PlatformEnvironment.cpp Replace occurrences of OpenRCT with OpenRCT2 (#11898) 2020-06-08 15:11:07 +02:00
PlatformEnvironment.h Convert most remaining C-style casts to C++-style ones (#11867) 2020-06-07 23:18:11 +02:00
ReplayManager.cpp Part of #12245: Use coords for window_scroll_to_location (#12282) 2020-07-15 23:26:27 -03: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
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 Add sea decryption 2020-07-11 11:40:34 +01:00
readme.md Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
sprites.h Feature: Add Boosters to Wooden Roller Coaster (#12090) 2020-07-02 01:52:33 +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.