lowmemory: remove datagram limit

This commit is contained in:
mittorn 2019-11-01 13:49:53 +07:00
parent 271d15f989
commit a1db6c6a9b
2 changed files with 3 additions and 5 deletions

View File

@ -32,8 +32,6 @@ typedef enum
#define MAX_INIT_MSG 0x20000 // max length of possible message
#if XASH_LOW_MEMORY == 2
#define MAX_INIT_MSG 0x8000
#define MAX_DATAGRAM 1024
#define MAX_MULTICAST 1024
#endif
// net packets type
#define NET_HEADER_OUTOFBANDPACKET -1

View File

@ -89,9 +89,9 @@ GNU General Public License for more details.
#define NETSPLIT_HEADER_SIZE 18
#if XASH_LOW_MEMORY == 2
#define MULTIPLAYER_BACKUP 4 // how many data slots to use when in multiplayer (must be power of 2)
#define SINGLEPLAYER_BACKUP 4 // same for single player
#define NUM_PACKET_ENTITIES 32 // 170 Mb for multiplayer with 32 players
#define MULTIPLAYER_BACKUP 4 // breaks protocol in legacy mode, new protocol status unknown
#define SINGLEPLAYER_BACKUP 4
#define NUM_PACKET_ENTITIES 32
#define MAX_CUSTOM_BASELINES 8
#define NET_MAX_FRAGMENT 32768
#endif