mirror of
https://github.com/Q3Rally-Team/rallyunlimited-engine.git
synced 2024-11-24 05:01:07 +00:00
update engine
This commit is contained in:
parent
8c56f85692
commit
2c46bd4968
6 changed files with 19 additions and 19 deletions
|
@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
// needs to be larger than PACKET_BACKUP
|
// needs to be larger than PACKET_BACKUP
|
||||||
|
|
||||||
|
|
||||||
#define MAX_ENTITIES_IN_SNAPSHOT 8192
|
#define MAX_ENTITIES_IN_SNAPSHOT 4096
|
||||||
|
|
||||||
// snapshots are a view of the server at a given time
|
// snapshots are a view of the server at a given time
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ static cvar_t *cvar_cheats;
|
||||||
static cvar_t *cvar_developer;
|
static cvar_t *cvar_developer;
|
||||||
int cvar_modifiedFlags;
|
int cvar_modifiedFlags;
|
||||||
|
|
||||||
#define MAX_CVARS 65536
|
#define MAX_CVARS 16384
|
||||||
static cvar_t cvar_indexes[MAX_CVARS];
|
static cvar_t cvar_indexes[MAX_CVARS];
|
||||||
static int cvar_numIndexes;
|
static int cvar_numIndexes;
|
||||||
|
|
||||||
|
|
|
@ -1088,10 +1088,10 @@ typedef enum {
|
||||||
//
|
//
|
||||||
// per-level limits
|
// per-level limits
|
||||||
//
|
//
|
||||||
#define MAX_CLIENTS 400 // absolute limit
|
#define MAX_CLIENTS 256 // absolute limit
|
||||||
#define MAX_LOCATIONS 64
|
#define MAX_LOCATIONS 64
|
||||||
|
|
||||||
#define GENTITYNUM_BITS 13 // don't need to send any more
|
#define GENTITYNUM_BITS 12 // don't need to send any more
|
||||||
#define MAX_GENTITIES (1<<GENTITYNUM_BITS)
|
#define MAX_GENTITIES (1<<GENTITYNUM_BITS)
|
||||||
|
|
||||||
// entitynums are communicated with GENTITY_BITS, so any reserved
|
// entitynums are communicated with GENTITY_BITS, so any reserved
|
||||||
|
@ -1115,7 +1115,7 @@ typedef enum {
|
||||||
|
|
||||||
#define RESERVED_CONFIGSTRINGS 2 // game can't modify below this, only the system can
|
#define RESERVED_CONFIGSTRINGS 2 // game can't modify below this, only the system can
|
||||||
|
|
||||||
#define MAX_GAMESTATE_CHARS 16000*8
|
#define MAX_GAMESTATE_CHARS 16000*16
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int stringOffsets[MAX_CONFIGSTRINGS];
|
int stringOffsets[MAX_CONFIGSTRINGS];
|
||||||
char stringData[MAX_GAMESTATE_CHARS];
|
char stringData[MAX_GAMESTATE_CHARS];
|
||||||
|
|
|
@ -150,7 +150,7 @@ NET
|
||||||
|
|
||||||
#define MAX_PACKET_USERCMDS 32 // max number of usercmd_t in a packet
|
#define MAX_PACKET_USERCMDS 32 // max number of usercmd_t in a packet
|
||||||
|
|
||||||
#define MAX_SNAPSHOT_ENTITIES 8192
|
#define MAX_SNAPSHOT_ENTITIES 4096
|
||||||
|
|
||||||
#define PORT_ANY -1
|
#define PORT_ANY -1
|
||||||
|
|
||||||
|
@ -213,9 +213,9 @@ void NET_LeaveMulticast6( void );
|
||||||
#endif
|
#endif
|
||||||
qboolean NET_Sleep( int timeout );
|
qboolean NET_Sleep( int timeout );
|
||||||
|
|
||||||
#define MAX_PACKETLEN 65000 // max size of a network packet
|
#define MAX_PACKETLEN 22400 // max size of a network packet
|
||||||
|
|
||||||
#define MAX_MSGLEN 1000000 // max length of a message, which may
|
#define MAX_MSGLEN 262144 // max length of a message, which may
|
||||||
// be fragmented into multiple packets
|
// be fragmented into multiple packets
|
||||||
|
|
||||||
#define MAX_MSGLEN_BUF (MAX_MSGLEN+8) // real buffer size that we need to allocate
|
#define MAX_MSGLEN_BUF (MAX_MSGLEN+8) // real buffer size that we need to allocate
|
||||||
|
|
|
@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
//
|
//
|
||||||
|
|
||||||
// surface geometry should not exceed these limits
|
// surface geometry should not exceed these limits
|
||||||
#define SHADER_MAX_VERTEXES 65536
|
#define SHADER_MAX_VERTEXES 1000*16
|
||||||
#define SHADER_MAX_INDEXES (6*SHADER_MAX_VERTEXES)
|
#define SHADER_MAX_INDEXES (6*SHADER_MAX_VERTEXES)
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ typedef struct {
|
||||||
#define MD3_MAX_TRIANGLES 65535 // per surface
|
#define MD3_MAX_TRIANGLES 65535 // per surface
|
||||||
#define MD3_MAX_VERTS 32768 // per surface
|
#define MD3_MAX_VERTS 32768 // per surface
|
||||||
#define MD3_MAX_SHADERS 256 // per surface
|
#define MD3_MAX_SHADERS 256 // per surface
|
||||||
#define MD3_MAX_FRAMES 4096 // per model
|
#define MD3_MAX_FRAMES 1024 // per model
|
||||||
#define MD3_MAX_SURFACES 128 // per model
|
#define MD3_MAX_SURFACES 128 // per model
|
||||||
#define MD3_MAX_TAGS 64 // per frame
|
#define MD3_MAX_TAGS 64 // per frame
|
||||||
|
|
||||||
|
@ -330,9 +330,9 @@ typedef struct {
|
||||||
#define MAX_MAP_LIGHTGRID 0x800000
|
#define MAX_MAP_LIGHTGRID 0x800000
|
||||||
#define MAX_MAP_VISIBILITY 0x200000
|
#define MAX_MAP_VISIBILITY 0x200000
|
||||||
|
|
||||||
#define MAX_MAP_DRAW_SURFS 0x800000
|
#define MAX_MAP_DRAW_SURFS 0x20000*2
|
||||||
#define MAX_MAP_DRAW_VERTS 0x800000
|
#define MAX_MAP_DRAW_VERTS 0x80000*2
|
||||||
#define MAX_MAP_DRAW_INDEXES 0x800000
|
#define MAX_MAP_DRAW_INDEXES 0x80000*2
|
||||||
|
|
||||||
|
|
||||||
// key / value pair sizes in the entities lump
|
// key / value pair sizes in the entities lump
|
||||||
|
|
|
@ -135,7 +135,7 @@ typedef enum {
|
||||||
} shaderSort_t;
|
} shaderSort_t;
|
||||||
|
|
||||||
|
|
||||||
#define MAX_SHADER_STAGES 256
|
#define MAX_SHADER_STAGES 64
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
GF_NONE,
|
GF_NONE,
|
||||||
|
@ -287,8 +287,8 @@ typedef struct {
|
||||||
} texModInfo_t;
|
} texModInfo_t;
|
||||||
|
|
||||||
|
|
||||||
#define MAX_IMAGE_ANIMATIONS 256
|
#define MAX_IMAGE_ANIMATIONS 64
|
||||||
#define MAX_IMAGE_ANIMATIONS_VQ3 256
|
#define MAX_IMAGE_ANIMATIONS_VQ3 64
|
||||||
|
|
||||||
#define LIGHTMAP_INDEX_NONE 0
|
#define LIGHTMAP_INDEX_NONE 0
|
||||||
#define LIGHTMAP_INDEX_SHADER 1
|
#define LIGHTMAP_INDEX_SHADER 1
|
||||||
|
@ -913,7 +913,7 @@ void R_Modellist_f (void);
|
||||||
#define MAX_SKINS 1024
|
#define MAX_SKINS 1024
|
||||||
|
|
||||||
|
|
||||||
#define MAX_DRAWSURFS 0x1000000
|
#define MAX_DRAWSURFS 0x200000
|
||||||
#define DRAWSURF_MASK (MAX_DRAWSURFS-1)
|
#define DRAWSURF_MASK (MAX_DRAWSURFS-1)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1864,8 +1864,8 @@ typedef enum {
|
||||||
// these are sort of arbitrary limits.
|
// these are sort of arbitrary limits.
|
||||||
// the limits apply to the sum of all scenes in a frame --
|
// the limits apply to the sum of all scenes in a frame --
|
||||||
// the main view, all the 3D icons, etc
|
// the main view, all the 3D icons, etc
|
||||||
#define MAX_POLYS 327680
|
#define MAX_POLYS 65536
|
||||||
#define MAX_POLYVERTS 655360
|
#define MAX_POLYVERTS 65536*2
|
||||||
|
|
||||||
// all of the information needed by the back end must be
|
// all of the information needed by the back end must be
|
||||||
// contained in a backEndData_t
|
// contained in a backEndData_t
|
||||||
|
|
Loading…
Reference in a new issue