From 4dc7b33e17069c6559e9b1b7cc1ecd878162f629 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 17 Sep 2011 16:39:27 +0000 Subject: Add multiplayer query code to setup tool, and rework join game interface. Subversion-branch: /branches/v2-branch Subversion-revision: 2382 --- src/net_common.c | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'src/net_common.c') diff --git a/src/net_common.c b/src/net_common.c index 57699fd9..f25cc73d 100644 --- a/src/net_common.c +++ b/src/net_common.c @@ -22,7 +22,6 @@ // #include -#include #include #include "doomtype.h" @@ -32,6 +31,7 @@ #include "net_common.h" #include "net_io.h" #include "net_packet.h" +#include "net_structrw.h" // connections time out after 10 seconds @@ -513,26 +513,6 @@ unsigned int NET_ExpandTicNum(unsigned int relative, unsigned int b) return result; } -// "Safe" version of puts, for displaying messages received from the -// network. - -void NET_SafePuts(char *s) -{ - char *p; - - // Do not do a straight "puts" of the string, as this could be - // dangerous (sending control codes to terminals can do all - // kinds of things) - - for (p=s; *p; ++p) - { - if (isprint(*p)) - putchar(*p); - } - - putchar('\n'); -} - // Check that game settings are valid boolean NET_ValidGameSettings(GameMode_t mode, GameMission_t mission, -- cgit v1.2.3