From b8ecac8f776054fbc83faad7ecbfb444ff301f90 Mon Sep 17 00:00:00 2001 From: Per Inge Mathisen Date: Sun, 10 Feb 2008 21:03:00 +0000 Subject: [PATCH] Remove the final remains of the old ugly network code. git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3746 4a71c877-e1ca-e34f-864e-861f7616d084 --- lib/netplay/netplay.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/netplay/netplay.h b/lib/netplay/netplay.h index 1ccca79ba..7196471a5 100644 --- a/lib/netplay/netplay.h +++ b/lib/netplay/netplay.h @@ -153,15 +153,4 @@ extern void NETsetMasterserverName(const char* hostname); extern void NETsetMasterserverPort(unsigned int port); extern void NETsetGameserverPort(unsigned int port); -// Some shortcuts to help you along! -/* FIXME: This is _not_ portable! Bad, Pumpkin, bad! - Per */ -#define NetAdd(m,pos,thing) \ - memcpy(&(m.body[pos]),&(thing),sizeof(thing)) - -#define NetAddSt(m,pos,stri) \ - strcpy(&(m.body[pos]),stri) - -#define NetGet(m,pos,thing) \ - memcpy(&(thing),&(m->body[pos]),sizeof(thing)) - #endif