mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 00:10:40 +00:00
looks like utils is more or less complete for now, except for some fixes in
nq for abyss etc (ie, the magical -<mod> args). The interface to the message subsystem got a revamp and all the mods to the .c files reflect this. currently a little ugly, but I plan on abstracting msg further to clean it up and make it more oo.
This commit is contained in:
parent
b4cbb49ca0
commit
2bfeed6820
46 changed files with 1066 additions and 1557 deletions
|
@ -350,13 +350,13 @@ Netchan_Process (netchan_t *chan)
|
|||
}
|
||||
|
||||
// get sequence numbers
|
||||
MSG_BeginReading ();
|
||||
sequence = MSG_ReadLong ();
|
||||
sequence_ack = MSG_ReadLong ();
|
||||
MSG_BeginReading (net_message);
|
||||
sequence = MSG_ReadLong (net_message);
|
||||
sequence_ack = MSG_ReadLong (net_message);
|
||||
|
||||
// read the qport if we are a server
|
||||
if (is_server)
|
||||
qport = MSG_ReadShort ();
|
||||
qport = MSG_ReadShort (net_message);
|
||||
|
||||
reliable_message = sequence >> 31;
|
||||
reliable_ack = sequence_ack >> 31;
|
||||
|
@ -366,7 +366,7 @@ Netchan_Process (netchan_t *chan)
|
|||
|
||||
if (showpackets->int_val)
|
||||
Con_Printf ("<-- s=%i(%i) a=%i(%i) %i\n", sequence, reliable_message,
|
||||
sequence_ack, reliable_ack, net_message.cursize);
|
||||
sequence_ack, reliable_ack, net_message->message->cursize);
|
||||
|
||||
// get a rate estimation
|
||||
#if 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue