OpenRCT2/src/openrct2
Tobias Kohlbau 7a8c5c2842 multiplayer: Adds option to pause server
OpenRCT2 does not provide a simple function to pause a server
while no client is connected. This patch adds a so called
"pause_server_if_no_clients" flag within network section of
config.ini. By default this flag is set to false to be backward
compatible with running servers. After setting this flag to
true the game is paused on launch and gets unpaused on first
connection.

Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
2017-12-31 12:55:07 +01:00
..
actions Use range-based for loops in libopenrct2 2017-12-21 23:47:30 +01:00
audio Refactor direct access to window list 2017-12-25 15:06:06 +01:00
cmdline Remove use of problematic __DATE__ and __TIME__ 2017-12-27 14:50:42 +01:00
config multiplayer: Adds option to pause server 2017-12-31 12:55:07 +01:00
core Implement std::string variant of TrimStart; add tests. 2017-12-25 00:30:21 +01:00
drawing Fix function declaration 2017-12-26 18:09:00 +01:00
interface Fix function declaration 2017-12-26 18:09:00 +01:00
localisation Feature: "Load Scenario" title sequence command 2017-12-31 12:42:40 +01:00
management Fold vehicle name into regular name 2017-12-22 15:28:41 +01:00
network multiplayer: Adds option to pause server 2017-12-31 12:55:07 +01:00
object Fix English descriptions of path additions and banners 2017-12-22 16:59:11 +01:00
paint Fix invalid entries in surface boundries table 2017-12-30 13:55:39 +01:00
peep Use nullptr instead of 0 2017-12-21 23:47:30 +01:00
platform Reduce code duplication 2017-12-26 18:08:56 +01:00
rct1 Feature: "Load Scenario" title sequence command 2017-12-31 12:42:40 +01:00
rct2 Compile files in paint folder as C++ 2017-12-17 17:24:36 +01:00
rct12 Compile util and cheats as C++ 2017-12-14 10:03:21 +01:00
ride Remove redundant declarations 2017-12-26 22:16:03 +01:00
scenario Feature: "Load Scenario" title sequence command 2017-12-31 12:42:40 +01:00
title Feature: "Load Scenario" title sequence command 2017-12-31 12:42:40 +01:00
ui Move majority of input.c to UI 2017-12-16 15:47:38 +02:00
util Reduce code duplication 2017-12-26 18:08:56 +01:00
windows Move Dropdown to UI project 2017-12-16 15:47:38 +02:00
world Fix potential access violation when setting park name 2017-12-29 21:56:07 +01:00
CMakeLists.txt Remove RCT2 interop 2017-12-04 19:04:06 +00:00
Cheats.cpp Use range-based for loops in libopenrct2 2017-12-21 23:47:30 +01:00
Cheats.h Compile util and cheats as C++ 2017-12-14 10:03:21 +01:00
CmdlineSprite.cpp Compile util and cheats as C++ 2017-12-14 10:03:21 +01:00
CmdlineSprite.h Compile files in base dir as C++ 2017-12-13 08:03:48 +01:00
Context.cpp add missing exception handling. 2017-12-27 14:32:19 +00:00
Context.h Move majority of input.c to UI 2017-12-16 15:47:38 +02:00
Date.cpp Add Date class 2017-11-10 19:32:32 +01:00
Date.h Add Date class 2017-11-10 19:32:32 +01:00
Diagnostic.cpp Compile files in base dir as C++ 2017-12-13 08:03:48 +01:00
Diagnostic.h Compile files in base dir as C++ 2017-12-13 08:03:48 +01:00
Editor.cpp Use range-based for loops in libopenrct2 2017-12-21 23:47:30 +01:00
Editor.h Extract functions from EditorObjectSelection 2017-12-07 17:52:03 +01:00
EditorObjectSelectionSession.cpp Fix crash when opening object selection 2017-12-27 13:17:09 +01:00
EditorObjectSelectionSession.h Extract functions from EditorObjectSelection 2017-12-07 17:52:03 +01:00
FileClassifier.cpp log exceptionmessage instead of custom string. 2017-12-27 14:32:19 +00:00
FileClassifier.h Refactor game load functions, resolves #6011 2017-08-23 08:04:36 +02:00
Game.cpp Use nullptr instead of 0 2017-12-21 23:47:30 +01:00
Game.h Fix signed/unsigned comparisons 2017-12-05 09:10:28 +01:00
Imaging.cpp Allow for bit depth inspection when reading PNGs 2017-11-05 23:19:25 +01:00
Imaging.h Allow for bit depth inspection when reading PNGs 2017-11-05 23:19:25 +01:00
Input.cpp Move majority of input.c to UI 2017-12-16 15:47:38 +02:00
Input.h Move majority of input.c to UI 2017-12-16 15:47:38 +02:00
Intro.cpp Compile files in base dir as C++ 2017-12-13 08:03:48 +01:00
Intro.h Compile files in base dir as C++ 2017-12-13 08:03:48 +01:00
ObjectList.cpp Fix sign mismatch warning 2017-12-21 23:47:30 +01:00
ObjectList.h Compile files in paint folder as C++ 2017-12-17 17:24:36 +01:00
OpenRCT2.cpp Move extern "C" {} blocks to headers (#6282) 2017-09-18 17:05:28 +02:00
OpenRCT2.h Refactor MAX_PATH to be in common.h 2017-12-07 22:04:33 +00:00
ParkImporter.cpp Warn when loading incompatible RCTC saves 2017-11-01 20:23:06 +01:00
ParkImporter.h Apply some refactoring 2017-11-02 12:22:28 +01:00
PlatformEnvironment.cpp Fix GetFolderPath for Windows 2017-12-01 21:09:52 +00:00
PlatformEnvironment.h Add new base path for user data and config 2017-12-01 21:09:45 +00:00
Version.cpp Move extern "C" {} blocks to headers (#6282) 2017-09-18 17:05:28 +02:00
Version.h Remove use of problematic __DATE__ and __TIME__ 2017-12-27 14:50:42 +01:00
common.h Replace 1 and 0 constants with bool where applicable 2017-12-21 23:47:30 +01:00
libopenrct2.vcxproj Implement basic discord status report 2017-11-11 23:48:04 +00:00
object.h Fix #6294: Refactor Editor::SelectedObjects 2017-11-28 13:38:54 +01:00
rct1.h Fix #6447: Rename friction to mass 2017-12-17 20:11:55 +01:00
rct2.h Rename map_element to tile_element 2017-10-31 19:59:06 +01:00
rct12.h Clean up string IDs 2017-11-23 15:52:06 +01:00
readme.md Move contents of src into project sub directory 2017-01-04 17:44:12 +00:00
sprites.h Allow filtering guests by name (#6633) 2017-12-25 12:17:37 +01:00

readme.md

Source directory structure

  • audio

    Contains files for mixing and playing music and sound.

  • 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.

  • network

    Network and multiplayer logic, includes management of network games and downloading / uploading of content.

  • management

    Park management logic such as finance, marketing and research.

  • 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.

  • ride

    Data and logic for rides, vehicles and track.

  • 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.