bothdefs.h:#define MAX_SCOREBOARD          16              // max numbers of players
bothdefs.h:#define MAX_QPATH               64                      // max length of a quake game pathname
bothdefs.h:#define MAX_OSPATH              128                     // max length of a filesystem pathname
bothdefs.h:#define MAX_MSGLEN              1450            // max length of a reliable message
bothdefs.h:#define MAX_DATAGRAM    1450            // max length of unreliable message
bothdefs.h:#define MAX_EDICTS              768                     // FIXME: ouch! ouch! ouch!
bothdefs.h:#define MAX_LIGHTSTYLES 64
bothdefs.h:#define MAX_MODELS              256                      // these are sent over the net as bytes
bothdefs.h:#define MAX_SOUNDS              256                      // so they cannot be blindly increased
bothdefs.h:#define MAX_STYLESTRING 64
bothdefs.h:#define MAX_CL_STATS            32
bspfile.h:#define	MAX_MAP_HULLS		4
bspfile.h:#define	MAX_MAP_MODELS		1024 // FS: Was 256
bspfile.h:#define	MAX_MAP_BRUSHES		4096
bspfile.h:#define	MAX_MAP_ENTITIES	1024
bspfile.h:#define	MAX_MAP_ENTSTRING	65536
bspfile.h:#define	MAX_MAP_PLANES		8192
bspfile.h:#define	MAX_MAP_NODES		32767		// because negative shorts are contents
bspfile.h:#define	MAX_MAP_CLIPNODES	32767		//
bspfile.h:#define	MAX_MAP_LEAFS		32767		// 
bspfile.h:#define	MAX_MAP_VERTS		65535
bspfile.h:#define	MAX_MAP_FACES		65535
bspfile.h:#define	MAX_MAP_MARKSURFACES 65535
bspfile.h:#define	MAX_MAP_TEXINFO		4096
bspfile.h:#define	MAX_MAP_EDGES		256000
bspfile.h:#define	MAX_MAP_SURFEDGES	512000
bspfile.h:#define	MAX_MAP_MIPTEX		0x200000
bspfile.h:#define	MAX_MAP_LIGHTING	0x100000
bspfile.h:#define	MAX_MAP_VISIBILITY	0x100000
bspfile.h:#define	MAX_KEY		32
bspfile.h:#define	MAX_VALUE	1024
bspfile.h:	int			headnode[MAX_MAP_HULLS];
bspfile.h:extern	dmodel_t	dmodels[MAX_MAP_MODELS];
bspfile.h:extern	byte		dvisdata[MAX_MAP_VISIBILITY];
bspfile.h:extern	byte		dlightdata[MAX_MAP_LIGHTING];
bspfile.h:extern	byte		dtexdata[MAX_MAP_MIPTEX]; // (dmiptexlump_t)
bspfile.h:extern	char		dentdata[MAX_MAP_ENTSTRING];
bspfile.h:extern	dleaf_t		dleafs[MAX_MAP_LEAFS];
bspfile.h:extern	dplane_t	dplanes[MAX_MAP_PLANES];
bspfile.h:extern	dvertex_t	dvertexes[MAX_MAP_VERTS];
bspfile.h:extern	dnode_t		dnodes[MAX_MAP_NODES];
bspfile.h:extern	texinfo_t	texinfo[MAX_MAP_TEXINFO];
bspfile.h:extern	dface_t		dfaces[MAX_MAP_FACES];
bspfile.h:extern	dclipnode_t	dclipnodes[MAX_MAP_CLIPNODES];
bspfile.h:extern	dedge_t		dedges[MAX_MAP_EDGES];
bspfile.h:extern	unsigned short	dmarksurfaces[MAX_MAP_MARKSURFACES];
bspfile.h:extern	int			dsurfedges[MAX_MAP_SURFEDGES];
client.h:#define	MAX_SCOREBOARDNAME	16
client.h:	char	userinfo[MAX_INFO_STRING];
client.h:	char	name[MAX_SCOREBOARDNAME];
client.h:	player_state_t	playerstate[MAX_CLIENTS];	// message received that reflects performing
client.h:#define	MAX_DLIGHTS		32
client.h:	char	map[MAX_STYLESTRING];
client.h:#define MAX_EFRAGS              2048 // FS: 512
client.h:#define	MAX_DEMOS		8
client.h:#define	MAX_DEMONAME	16
client.h:	char		userinfo[MAX_INFO_STRING];
client.h://        char            servername[MAX_OSPATH]; // name of server from original connect
client.h:        //char            downloadtempname[MAX_OSPATH];
client.h:        //char            downloadname[MAX_OSPATH];
client.h:	char		demos[MAX_DEMOS][MAX_DEMONAME];		// when not playing
client.h:	char		serverinfo[MAX_SERVERINFO_STRING];
client.h:	int			stats[MAX_CL_STATS];	// health, etc
client.h:	char		model_name[MAX_MODELS][MAX_QPATH];
client.h:	char		sound_name[MAX_SOUNDS][MAX_QPATH];
client.h:	struct model_s		*model_precache[MAX_MODELS];
client.h:	struct sfx_s		*sound_precache[MAX_SOUNDS];
client.h:	player_info_t	players[MAX_CLIENTS];
client.h:#define	MAX_STATIC_ENTITIES	128			// torches, etc
client.h:extern	entity_state_t	cl_baselines[MAX_EDICTS];
client.h:extern	efrag_t			cl_efrags[MAX_EFRAGS];
client.h:extern	entity_t		cl_static_entities[MAX_STATIC_ENTITIES];
client.h:extern	lightstyle_t	cl_lightstyle[MAX_LIGHTSTYLES];
client.h:extern	dlight_t		cl_dlights[MAX_DLIGHTS];
client.h:#define			MAX_VISEDICTS	256
client.h:extern	entity_t		cl_visedicts_list[2][MAX_VISEDICTS];
common.h:#define MAX_INFO_STRING 512 // FS: 196
common.h:#define MAX_SERVERINFO_STRING 2048  // FS: 1024
common.h:#define MAX_LOCALINFO_STRING    32768
common.h:extern  char    com_gamedir[MAX_OSPATH];
d_iface.h:#define MAX_LBM_HEIGHT  480
model.h:	char		name[MAX_QPATH];
model.h:	hull_t		hulls[MAX_MAP_HULLS];
net.h:#define	MAX_LATENT	32
net.h:	byte		message_buf[MAX_MSGLEN];
net.h:	byte		reliable_buf[MAX_MSGLEN];	// unacked reliable message
net.h:	int			outgoing_size[MAX_LATENT];
net.h:	double		outgoing_time[MAX_LATENT];
pmove.h:#define	MAX_PHYSENTS	32
pmove.h:	physent_t	physents[MAX_PHYSENTS];	// 0 should be the world
pmove.h:	int		touchindex[MAX_PHYSENTS];
protocol.h:#define	MAX_CLIENTS		32
protocol.h:#define MAX_PACKET_ENTITIES     64      // doesn't count nails
protocol.h:	entity_state_t	entities[MAX_PACKET_ENTITIES];
quakedef.h:#define MAX_NUM_ARGVS	50
r_local.h:#define MAX_BTOFPOLYS	5000	// FIXME: tune this
sound.h:	char 	name[MAX_QPATH];
sound.h:#define	MAX_CHANNELS			128
sound.h:#define	MAX_DYNAMIC_CHANNELS	8
sound.h:extern	channel_t   channels[MAX_CHANNELS];
sound.h:// 0 to MAX_DYNAMIC_CHANNELS-1	= normal entity sounds
sound.h:// MAX_DYNAMIC_CHANNELS to MAX_DYNAMIC_CHANNELS + NUM_AMBIENTS -1 = water, etc
sound.h:// MAX_DYNAMIC_CHANNELS + NUM_AMBIENTS to total_channels = static sounds
vgamodes.h:	VRS_BYTE_OUT, CRTC_INDEX, MAX_SCAN_LINE,
vgamodes.h:	VRS_BYTE_OUT, CRTC_INDEX, MAX_SCAN_LINE,
vgamodes.h:	VRS_BYTE_OUT, CRTC_INDEX, MAX_SCAN_LINE,
vgamodes.h:	VRS_BYTE_OUT, CRTC_INDEX, MAX_SCAN_LINE,
vgamodes.h:	VRS_BYTE_OUT, CRTC_INDEX, MAX_SCAN_LINE,
vregset.h:#define MAX_SCAN_LINE	9
