Merge branch 'more-nodes' into 'next'
Increase MAXNETNODES, show more servers in the server browser See merge request STJr/SRB2!1106
This commit is contained in:
commit
86252cbea7
|
@ -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 "d_net.h"
|
#include "d_net.h"
|
||||||
#include "tables.h"
|
#include "tables.h"
|
||||||
|
@ -484,7 +485,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;
|
||||||
|
|
|
@ -19,7 +19,9 @@
|
||||||
#define __D_NET__
|
#define __D_NET__
|
||||||
|
|
||||||
// Max computers in a game
|
// Max computers in a game
|
||||||
#define MAXNETNODES (MAXPLAYERS+4)
|
// 127 is probably as high as this can go, because
|
||||||
|
// SINT8 is used for nodes sometimes >:(
|
||||||
|
#define MAXNETNODES 127
|
||||||
#define BROADCASTADDR MAXNETNODES
|
#define BROADCASTADDR MAXNETNODES
|
||||||
#define MAXSPLITSCREENPLAYERS 2 // Max number of players on a single computer
|
#define MAXSPLITSCREENPLAYERS 2 // Max number of players on a single computer
|
||||||
//#define NETSPLITSCREEN // Kart's splitscreen netgame feature
|
//#define NETSPLITSCREEN // Kart's splitscreen netgame feature
|
||||||
|
|
Loading…
Reference in a new issue