forked from mirror/OpenTTD
(svn r1154) -Add: [Network] Forked dedicated server (start openttd with -Df) (GeniusDex)
This commit is contained in:
@@ -322,6 +322,8 @@ VARDEF int _num_screenshot_formats, _cur_screenshot_format;
|
||||
VARDEF char _savegame_format[8];
|
||||
|
||||
VARDEF char *_config_file;
|
||||
VARDEF char *_log_file;
|
||||
VARDEF FILE *_log_file_fd;
|
||||
|
||||
// NOSAVE: These can be recalculated from InitializeLandscapeVariables
|
||||
typedef struct {
|
||||
@@ -419,6 +421,11 @@ VARDEF int _debug_grf_level;
|
||||
VARDEF int _debug_ai_level;
|
||||
VARDEF int _debug_net_level;
|
||||
|
||||
/* Forking stuff */
|
||||
VARDEF bool _dedicated_forks;
|
||||
VARDEF bool _dedicated_enabled;
|
||||
VARDEF pid_t _dedicated_pid;
|
||||
|
||||
void CDECL debug(const char *s, ...);
|
||||
#ifdef NO_DEBUG_MESSAGES
|
||||
#define DEBUG(name, level)
|
||||
|
Reference in New Issue
Block a user