mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
lowmemory: remove datagram limit
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user