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
master
Per Inge Mathisen 2008-02-10 21:03:00 +00:00
parent 8a38943349
commit b8ecac8f77
1 changed files with 0 additions and 11 deletions

View File

@ -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