Solution for stufftext problem

This commit is contained in:
Anton E. Gavrilov 2000-06-18 14:24:19 +00:00
parent 02e48af08f
commit 6024c0ce7f
2 changed files with 26 additions and 8 deletions

View file

@ -133,7 +133,8 @@ typedef struct
packet_entities_t entities;
} client_frame_t;
#define MAX_BACK_BUFFERS 4
#define MAX_BACK_BUFFERS 4
#define MAX_STUFFTEXT 256
typedef struct client_s
{
@ -175,6 +176,8 @@ typedef struct client_s
int backbuf_size[MAX_BACK_BUFFERS];
byte backbuf_data[MAX_BACK_BUFFERS][MAX_MSGLEN];
byte stufftext_buf[MAX_STUFFTEXT];
double connection_started; // or time of disconnect for zombies
qboolean send_message; // set on frames a datagram arived on