Merge branch 'large-server-list' into 'awful-mix'

Increase MAXNETNODES so the server list can be larger

See merge request SinnamonLat/Kart-Public!15
This commit is contained in:
wolfs 2020-05-06 02:57:28 -04:00
commit 29bc6489db
2 changed files with 3 additions and 2 deletions

View File

@ -14,6 +14,7 @@
#define __D_CLISRV__ #define __D_CLISRV__
#include "d_ticcmd.h" #include "d_ticcmd.h"
#include "d_net.h"
#include "d_netcmd.h" #include "d_netcmd.h"
#include "tables.h" #include "tables.h"
#include "d_player.h" #include "d_player.h"
@ -488,7 +489,7 @@ typedef struct
#pragma pack() #pragma pack()
#endif #endif
#define MAXSERVERLIST 64 // Depends only on the display #define MAXSERVERLIST (MAXNETNODES-1)
typedef struct typedef struct
{ {
SINT8 node; SINT8 node;

View File

@ -19,7 +19,7 @@
#define __D_NET__ #define __D_NET__
// Max computers in a game // Max computers in a game
#define MAXNETNODES (MAXPLAYERS+4) #define MAXNETNODES 64
#define BROADCASTADDR MAXNETNODES #define BROADCASTADDR MAXNETNODES
#define NETSPLITSCREEN // Kart's splitscreen netgame feature #define NETSPLITSCREEN // Kart's splitscreen netgame feature