OpenTTD Source 20241224-master-gee860a5c8e
dedicated.cpp File Reference

Forking support for dedicated servers. More...

#include "stdafx.h"
#include "fileio_func.h"
#include "debug.h"

Go to the source code of this file.

Variables

std::string _log_file
 Filename to reroute output of a forked OpenTTD to.
 
std::optional< FileHandle_log_fd
 File to reroute output of a forked OpenTTD to.
 

Detailed Description

Forking support for dedicated servers.

Definition in file dedicated.cpp.

Variable Documentation

◆ _log_fd

std::optional<FileHandle> _log_fd

File to reroute output of a forked OpenTTD to.

Definition at line 15 of file dedicated.cpp.

◆ _log_file

std::string _log_file

Filename to reroute output of a forked OpenTTD to.

Definition at line 14 of file dedicated.cpp.

Referenced by DeterminePaths().