OpenRCT2/src/openrct2
manatails 4fe5b1dc79
Add "Vandals stopped" stat for security guards (#14071)
* Add a stat for security guards: Vandals stopped

* Update src/openrct2-ui/windows/Staff.cpp

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

* Update src/openrct2/peep/Guest.cpp

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

* No need to update screenCoords at the last line

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>

* Add changelog entry and bump network version

* Update to new UI code

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2021-03-14 09:18:35 -03:00
..
actions Merge pull request #14163 from Gymnasiast/refactor/get-rtd 2021-02-26 10:46:38 +01:00
audio Move ride audio into own namespace 2021-01-27 18:45:28 +00:00
cmdline Address review comments for benchsimulate 2021-01-10 13:34:14 +01:00
config Refactor IStream::ReadArray to return unique_ptr 2021-02-12 19:30:53 +02:00
core Roll our own implementation of parse 2021-02-21 03:14:19 +00:00
drawing Use ScreenLine on gfx_draw_line_software 2021-03-13 16:52:58 +01:00
interface Fix #14264: [Plugin] Cannot modify the coordinate / size of the viewport 2021-03-08 19:52:26 +01:00
localisation Add "Vandals stopped" stat for security guards (#14071) 2021-03-14 09:18:35 -03:00
management Fix inverted condition 2021-03-12 23:05:30 +01:00
network Add "Vandals stopped" stat for security guards (#14071) 2021-03-14 09:18:35 -03:00
object Update objects to v1.0.21 2021-03-12 11:04:04 +01:00
paint Fix #14217: Crash in large_scenery_paint() 2021-03-07 00:08:51 +01:00
peep Add "Vandals stopped" stat for security guards (#14071) 2021-03-14 09:18:35 -03:00
platform Update backtrace token for 0.3.4 2021-03-13 14:11:58 +01:00
rct1 Fix #14247: Scenarios from RCT1 allow hiring too many staff 2021-03-07 13:54:01 +01:00
rct2 Merge pull request #14134 from duncanspumpkin/reorg_entityexport 2021-02-26 13:08:56 +01:00
rct12 Add negative tests for SawyerChunkReader 2021-03-03 21:55:05 +01:00
ride Fix #14126: assertion in research_fix() 2021-03-06 20:57:48 +01:00
scenario Fix #14225: Desync when “allow early scenario completion” is enabled 2021-03-08 20:16:21 +01:00
scripting Increase API version and update changelog 2021-03-06 23:51:02 +01:00
title Make gfx_draw_string() take a TextPaint argument 2021-02-28 00:26:20 +01:00
ui Remove old shortcut code and fix issues 2021-02-21 03:14:18 +00:00
util Cleanup variables usage and initialize them 2021-01-06 22:29:40 +01:00
windows Use the RTD instead of ride_type_has_flag() 2021-02-24 14:10:30 +01:00
world Fix #14123: NPE in map_obstruction_set_error_text() 2021-03-07 13:37:23 +01:00
CMakeLists.txt fix static library name for PkgConfig 2021-02-28 15:48:30 -07:00
Cheats.cpp Split actions hpp files into separate h and cpp files (#13548) 2020-12-10 06:39:10 +00:00
Cheats.h Remove built-in explode guests cheat 2020-11-16 22:07:52 +01:00
CmdlineSprite.cpp Close #13637: Refactor sprite compiler for filesystem efficiency 2020-12-29 13:12:55 +01:00
CmdlineSprite.h Update copyright year to 2020 2020-07-21 15:04:34 +02:00
Context.cpp Reduce inclusion of world/Sprite.h 2021-02-25 10:56:27 +01: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 Move SPRITE_INDEX_NULL, MAX_SPRITES to their new homes 2021-02-25 10:56:27 +01:00
Editor.h Close #12453: Refactor RCT2_EDITOR_STEP to strong enum 2020-12-23 20:07:53 -03:00
EditorObjectSelectionSession.cpp Update objects to v1.0.21 2021-03-12 11:04:04 +01:00
EditorObjectSelectionSession.h Create ObjectEntryDescriptor to properly handle mixed DAT and JSON 2020-12-02 17:17:25 +01:00
FileClassifier.cpp Refactor IStream::ReadArray to return unique_ptr 2021-02-12 19:30:53 +02:00
FileClassifier.h Remove the use of INTERFACE macro and macro its self 2020-08-05 16:30:44 +02:00
Game.cpp Move SPRITE_INDEX_NULL, MAX_SPRITES to their new homes 2021-02-25 10:56:27 +01:00
Game.h Fix #13842: News is imported incorrectly 2021-01-20 12:35:11 +01:00
GameState.cpp Reduce inclusion of world/Sprite.h 2021-02-25 10:56:27 +01:00
GameState.h Address review comments for benchsimulate 2021-01-10 13:34:14 +01:00
GameStateSnapshots.cpp Move SPRITE_INDEX_NULL, MAX_SPRITES to their new homes 2021-02-25 10:56:27 +01:00
GameStateSnapshots.h Fix replay snapshots comparing states with different ticks 2021-01-22 15:35:16 +02: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 Move the audio code into OpenRCT2 namespace 2020-10-07 00:34:42 +03: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 Read legacy shortcuts and move to constants 2021-02-21 03:14:17 +00:00
PlatformEnvironment.h Read legacy shortcuts and move to constants 2021-02-21 03:14:17 +00:00
ReplayManager.cpp Reduce inclusion of world/Sprite.h 2021-02-25 10:56:27 +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.3 2021-03-13 12:17:05 +01:00
common.h Move SPRITE_INDEX_NULL, MAX_SPRITES to their new homes 2021-02-25 10:56:27 +01:00
libopenrct2.vcxproj Move TileElementBase to its own file 2021-02-14 21:28:02 +01:00
readme.md Use named casts instead of old-style casts 2020-04-22 17:09:29 +02:00
sprites.h Add eye icon for tab 2021-02-21 03:14:18 +00: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.