mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 16:30:43 +00:00
- fixed net_packetlog to use Con_Printf when there's no logfile open,
rather than a stdout hack (which had problems with buffering) - actually parse net_deltapacketentities - print offset within net_{,delta}packetentities blocks for each entity - fix indenting in Log_Delta - fix off-by-one for packet offset printing - fix a miss-parsing of svc_deltapacketentities (MAX_PACKET_ENTITIES does NOT include U_REMOVE entities) - remove "full update" handling for CL_ParseDeltaPacketEntities, since that only happens with svc_packetentities
This commit is contained in:
parent
3ce8029f74
commit
36b8256b3a
4 changed files with 151 additions and 145 deletions
|
@ -185,15 +185,17 @@ typedef struct net_svc_delta_s
|
|||
|
||||
typedef struct net_svc_packetentities_s
|
||||
{
|
||||
int num;
|
||||
net_svc_delta_t vars[MAX_PACKET_ENTITIES + 1];
|
||||
int numwords, numdeltas;
|
||||
unsigned short words[MAX_EDICTS];
|
||||
entity_state_t deltas[MAX_PACKET_ENTITIES];
|
||||
} net_svc_packetentities_t;
|
||||
|
||||
typedef struct net_svc_deltapacketentities_s
|
||||
{
|
||||
int num;
|
||||
byte from;
|
||||
net_svc_delta_t vars[MAX_PACKET_ENTITIES + 1];
|
||||
int numwords, numdeltas;
|
||||
byte from;
|
||||
unsigned short words[MAX_EDICTS];
|
||||
entity_state_t deltas[MAX_PACKET_ENTITIES];
|
||||
} net_svc_deltapacketentities_t;
|
||||
|
||||
qboolean NET_SVC_Print_Parse (net_svc_print_t *block, msg_t *msg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue