- 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:
Adam Olsen 2001-10-29 00:32:16 +00:00
parent 3ce8029f74
commit 36b8256b3a
4 changed files with 151 additions and 145 deletions

View file

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