From 71e7eca56c2119b0b773cf78f3b4fde222ec1827 Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Sat, 22 May 2004 00:26:25 +0000 Subject: [PATCH] added -udp documentation from d1x --- ChangeLog | 4 ++++ main/inferno.c | 15 +++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index aa7ed1aa..91251434 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-05-21 Bradley Bell + + * main/inferno.c: added -udp documentation from d1x + 2004-05-20 Bradley Bell * VisualC/d2xgl/d2xgl.dsp: don't need texmappers for OpenGL diff --git a/main/inferno.c b/main/inferno.c index f489a544..f47c0fd9 100644 --- a/main/inferno.c +++ b/main/inferno.c @@ -1,4 +1,4 @@ -/* $Id: inferno.c,v 1.80 2004-05-21 01:54:39 btb Exp $ */ +/* $Id: inferno.c,v 1.81 2004-05-22 00:26:25 btb Exp $ */ /* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO @@ -1001,9 +1001,6 @@ void print_commandline_help() // printf( " -tsengdebug1 %s\n","FIXME: Undocumented"); // printf( " -tsengdebug2 %s\n","FIXME: Undocumented"); // printf( " -tsengdebug3 %s\n","FIXME: Undocumented"); -#ifdef NETWORK - printf( " -udp %s\n","Use TCP/UDP for networking"); -#endif // printf( " -vidram %s\n","FIXME: Undocumented"); printf( " -xcontrol %s\n","FIXME: Undocumented"); printf( " -xname %s\n","FIXME: Undocumented"); @@ -1062,6 +1059,16 @@ void print_commandline_help() printf( " -nosdlvidmodecheck %s\n", "Some X servers don't like checking vidmode first, so just switch"); printf( " -hwsurface %s\n","FIXME: Undocumented"); #endif +#ifdef NETWORK + printf(" -udp %s\n", "Use udp/ip on local network"); + printf(" @ %s\n", " shift udp port base offset"); + printf(" = %s\n", " broadcast both local and to HOST_LIST"); + printf(" + %s\n", " broadcast only to HOST_LIST"); + printf(" %s\n", " HOSTS can be any IP or hostname") + ; + printf(" %s\n", " HOSTS can also be in the form of
:"); + printf(" %s\n", " separate multiple HOSTS with a ,"); +#endif #ifdef __unix__ printf( " -serialdevice %s\n", "Set serial/modem device to "); printf( " -serialread %s\n", "Set serial/modem to read from "); -- 2.39.2