LCEMP commit: support more max players

This commit is contained in:
pieeebot committed 2026-08-14 11:46:19 +03:00
1 parent 6853eab85f
commit 67a8111974
11 files changed
+36 -22

No files matched your search

@@ -38,6 +38,7 @@
#define NETWORK_LAN_MAX_PACKET_SIZE (3 * 1024 * 1024)
#define NETWORK_LAN_DISCOVERY_PORT 25566
#define NETWORK_LAN_BROADCAST_MAGIC 0x4D434C4E
#define NETWORK_LAN_BROADCAST_PLAYERS 8
#ifdef __PS3__
typedef int SOCKET;
@@ -115,7 +116,7 @@ struct LANBroadcast
DWORD texturePackParentId;
BYTE subTexturePackId;
BYTE isJoinable;
char playerNames[8][NETWORK_LAN_PLAYER_NAME_SIZE];
char playerNames[NETWORK_LAN_BROADCAST_PLAYERS][NETWORK_LAN_PLAYER_NAME_SIZE];
};
#pragma pack(pop)
@@ -132,7 +133,7 @@ struct LANSession
unsigned char subTexturePackId;
bool isJoinable;
DWORD lastSeenTick;
char playerNames[8][NETWORK_LAN_PLAYER_NAME_SIZE];
char playerNames[NETWORK_LAN_BROADCAST_PLAYERS][NETWORK_LAN_PLAYER_NAME_SIZE];
};
struct RemoteConnection