mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-06-02 10:01:54 +00:00
Solution for stufftext problem
This commit is contained in:
parent
02e48af08f
commit
6024c0ce7f
2 changed files with 26 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue