mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Yeah, my coding sucks. I know, I know...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2382 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
95e0d2b545
commit
be82bffd84
4 changed files with 6 additions and 5 deletions
|
@ -266,7 +266,7 @@ void Net_SendConnectionMVD(sv_t *qtv, oproxy_t *prox)
|
|||
|
||||
prox->flushing = false;
|
||||
|
||||
BuildServerData(qtv, &msg, true, false, 0);
|
||||
BuildServerData(qtv, &msg, true, 0);
|
||||
Prox_SendMessage(qtv->cluster, prox, msg.data, msg.cursize, dem_read, (unsigned)-1);
|
||||
msg.cursize = 0;
|
||||
|
||||
|
|
|
@ -63,7 +63,6 @@ unsigned int BigLong(unsigned int val)
|
|||
unsigned int i;
|
||||
unsigned char c[4];
|
||||
} v;
|
||||
unsigned char s;
|
||||
|
||||
v.i = val;
|
||||
return (v.c[0]<<24) | (v.c[1] << 16) | (v.c[2] << 8) | (v.c[3] << 0);
|
||||
|
|
|
@ -576,6 +576,9 @@ unsigned int ReadLong(netmsg_t *b);
|
|||
float ReadFloat(netmsg_t *b);
|
||||
void ReadString(netmsg_t *b, char *string, int maxlen);
|
||||
|
||||
unsigned int SwapLong(unsigned int val);
|
||||
unsigned int BigLong(unsigned int val);
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -769,7 +772,7 @@ int Netchan_IsLocal (netadr_t adr);
|
|||
void NET_SendPacket(cluster_t *cluster, SOCKET sock, int length, char *data, netadr_t adr);
|
||||
qboolean Net_CompareAddress(netadr_t *s1, netadr_t *s2, int qp1, int qp2);
|
||||
qboolean Netchan_Process (netchan_t *chan, netmsg_t *msg);
|
||||
qboolean NQNetChan_Process(cluster_t *cluster, netchan_t *chan, netmsg_t *msg);
|
||||
qboolean NQNetchan_Process(cluster_t *cluster, netchan_t *chan, netmsg_t *msg);
|
||||
void Netchan_Transmit (cluster_t *cluster, netchan_t *chan, int length, const unsigned char *data);
|
||||
int SendList(sv_t *qtv, int first, const filename_t *list, int svc, netmsg_t *msg);
|
||||
int Prespawn(sv_t *qtv, int curmsgsize, netmsg_t *msg, int bufnum, int thisplayer);
|
||||
|
@ -788,6 +791,7 @@ void Netchan_OutOfBand (cluster_t *cluster, SOCKET sock, netadr_t adr, int lengt
|
|||
void WriteDeltaUsercmd (netmsg_t *m, const usercmd_t *from, usercmd_t *move);
|
||||
void SendClientCommand(sv_t *qtv, char *fmt, ...);
|
||||
void QTV_Run(sv_t *qtv);
|
||||
void QW_FreeViewer(cluster_t *cluster, viewer_t *viewer);
|
||||
|
||||
char *Rcon_Command(cluster_t *cluster, sv_t *qtv, char *command, char *buffer, int sizeofbuffer, qboolean localcommand);
|
||||
char *COM_ParseToken (char *data, char *out, int outsize, const char *punctuation);
|
||||
|
|
|
@ -1339,8 +1339,6 @@ void SendNQPlayerStates(cluster_t *cluster, sv_t *tv, viewer_t *v, netmsg_t *msg
|
|||
int e;
|
||||
int i;
|
||||
usercmd_t to;
|
||||
unsigned short flags;
|
||||
short interp;
|
||||
float lerp;
|
||||
int bits;
|
||||
unsigned short org[3];
|
||||
|
|
Loading…
Reference in a new issue