diff options
author | truelight <truelight@openttd.org> | 2004-12-18 14:19:21 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-18 14:19:21 +0000 |
commit | 17a613546cfce5f963d47575f6847830f40cd053 (patch) | |
tree | 7fd10ab952d0f9e0869058fc433740e68fe836fb /variables.h | |
parent | 3f2d2d8f3726801fd179bbb41ecd785befc320e8 (diff) | |
download | openttd-17a613546cfce5f963d47575f6847830f40cd053.tar.xz |
(svn r1154) -Add: [Network] Forked dedicated server (start openttd with -Df) (GeniusDex)
Diffstat (limited to 'variables.h')
-rw-r--r-- | variables.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/variables.h b/variables.h index e95b8bb35..cdefafe50 100644 --- a/variables.h +++ b/variables.h @@ -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) |