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