X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=inline;f=src%2Fnetserv.c;h=4a60007b8b47f397177bd13f46883620e1663ade;hb=fb8e38bdcf517d25055b236a3bb2cc1ccbf5fccc;hp=ac142763b2eff1b465674018c7f85ee3fbca4759;hpb=52189f4b3b797e08699f67880198b585320cf8bf;p=rocksndiamonds.git diff --git a/src/netserv.c b/src/netserv.c index ac142763..4a60007b 100644 --- a/src/netserv.c +++ b/src/netserv.c @@ -1,31 +1,33 @@ /*********************************************************** -* 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 #include #include #include -#include #include #include #include #include +#include "libgame/libgame.h" + #include "netserv.h" -#include "misc.h" static int clients = 0; static int onceonly = 0; @@ -475,7 +477,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 +663,4 @@ void NetworkServer(int port, int serveronly) } } -#endif /* !MSDOS */ +#endif /* PLATFORM_UNIX */