From 210281b4f67c14e9860704940bc9a2871e2f2712 Mon Sep 17 00:00:00 2001 From: zicodxx <> Date: Sun, 21 Jan 2007 11:09:41 +0000 Subject: [PATCH] re-added missing command-line switches for SUPPORTS_NET_IP --- d1x.ini | 4 ++++ dxx-changelog.txt | 1 + main/inferno.c | 6 ++++++ 3 files changed, 11 insertions(+) diff --git a/d1x.ini b/d1x.ini index 7f1bb5175..c7af16749 100755 --- a/d1x.ini +++ b/d1x.ini @@ -55,3 +55,7 @@ ;-playermessages View only messages from other players in multi ;-handicap Start game with shields. Must be < 100 for multi ;-hudlog_multi Start hudlog upon entering multiplayer games +;-ip_nogetmyaddr Prevent autodetection of local ip address +;-ip_myaddr Use as local ip address +;-ip_bind_addr Bind to instead of INADDR_ANY +;-ip_baseport

Use

as offset from normal port (allows multiple instances of d1x to be run on a single computer) diff --git a/dxx-changelog.txt b/dxx-changelog.txt index 5b9556b7c..164b3e13f 100755 --- a/dxx-changelog.txt +++ b/dxx-changelog.txt @@ -3,6 +3,7 @@ D1X-Rebirth Changelog 20070121 -------- main/gamesave.c, ui/mouse.c, ui/popup.c, ui/window.c: fixed EDITOR build +d1x.ini, main/inferno.c: re-added missing command-line switches for SUPPORTS_NET_IP 20070120 -------- diff --git a/main/inferno.c b/main/inferno.c index b40220856..ca8c1ca1c 100755 --- a/main/inferno.c +++ b/main/inferno.c @@ -266,6 +266,12 @@ void show_commandline_help() printf( " -playermessages %s\n", "View only messages from other players in multi"); printf( " -handicap %s\n", "Start game with shields. Must be < 100 for multi"); printf( " -hudlog_multi %s\n", "Start hudlog upon entering multiplayer games"); +#ifdef SUPPORTS_NET_IP + printf( " -ip_nogetmyaddr %s\n", "Prevent autodetection of local ip address"); + printf( " -ip_myaddr %s\n", "Use as local ip address"); + printf( " -ip_bind_addr %s\n", "Bind to instead of INADDR_ANY"); + printf( " -ip_baseport

%s\n", "Use

as offset from normal port (allows multiple instances of d1x to be run on a single computer)"); +#endif // SUPPORTS_NET_IP #endif // NETWORK #ifndef NDEBUG