X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fnetserv.c;h=58c32a6e06d13391bb8d70d2dc8fcfffea75a48e;hb=3fb68b18f28034e492534fb3b5579fd1da888292;hp=ac142763b2eff1b465674018c7f85ee3fbca4759;hpb=52189f4b3b797e08699f67880198b585320cf8bf;p=rocksndiamonds.git diff --git a/src/netserv.c b/src/netserv.c index ac142763..58c32a6e 100644 --- a/src/netserv.c +++ b/src/netserv.c @@ -1,17 +1,19 @@ /*********************************************************** -* Rocks'n'Diamonds -- McDuffin Strikes Back! * +* Rocks'n'Diamonds -- McDuffin Strikes Back! * *----------------------------------------------------------* -* (c) 1995-98 Artsoft Entertainment * -* Holger Schemel * -* Oststrasse 11a * -* 33604 Bielefeld * -* phone: ++49 +521 290471 * -* email: aeglos@valinor.owl.de * +* (c) 1995-2002 Artsoft Entertainment * +* Holger Schemel * +* Detmolder Strasse 189 * +* 33604 Bielefeld * +* Germany * +* e-mail: info@artsoft.org * *----------------------------------------------------------* -* network.c * +* network.c * ***********************************************************/ -#ifndef MSDOS +#include "libgame/platform.h" + +#if defined(PLATFORM_UNIX) #include #include @@ -24,8 +26,9 @@ #include #include +#include "libgame/libgame.h" + #include "netserv.h" -#include "misc.h" static int clients = 0; static int onceonly = 0; @@ -475,7 +478,7 @@ void NetworkServer(int port, int serveronly) if (is_daemon) { /* become a daemon, breaking all ties with the controlling terminal */ - options.verbose = 0; + options.verbose = FALSE; for (i=0; i<255; i++) { if (i != lfd) @@ -661,4 +664,4 @@ void NetworkServer(int port, int serveronly) } } -#endif /* !MSDOS */ +#endif /* PLATFORM_UNIX */