(svn r1154) -Add: [Network] Forked dedicated server (start openttd with -Df) (GeniusDex)

This commit is contained in:
truelight
2004-12-18 14:19:21 +00:00
parent 3f2d2d8f37
commit 17a613546c
5 changed files with 101 additions and 28 deletions

View File

@@ -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)