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-861f7616d084master
parent
8a38943349
commit
b8ecac8f77
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue