|
|
@ -183,7 +183,7 @@ GNU General Public License for more details. |
|
|
|
#define FRAGMENT_LOCAL_SIZE FRAGMENT_MAX_SIZE // local connection
|
|
|
|
#define FRAGMENT_LOCAL_SIZE FRAGMENT_MAX_SIZE // local connection
|
|
|
|
|
|
|
|
|
|
|
|
#if XASH_LOW_MEMORY == 2 |
|
|
|
#if XASH_LOW_MEMORY == 2 |
|
|
|
// memory reduced protocol, not for use in multiplayer
|
|
|
|
// memory reduced protocol, not for use in multiplayer (but still compatible)
|
|
|
|
#define MAX_VISIBLE_PACKET 128 |
|
|
|
#define MAX_VISIBLE_PACKET 128 |
|
|
|
#define MAX_VISIBLE_PACKET_VIS_BYTES ((MAX_VISIBLE_PACKET + 7) / 8) |
|
|
|
#define MAX_VISIBLE_PACKET_VIS_BYTES ((MAX_VISIBLE_PACKET + 7) / 8) |
|
|
|
|
|
|
|
|
|
|
@ -194,16 +194,28 @@ GNU General Public License for more details. |
|
|
|
#define MAX_MODELS 512 |
|
|
|
#define MAX_MODELS 512 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_SOUNDS 512 // do not change MAX_SOUND_BITS
|
|
|
|
#define MAX_SOUNDS 512 |
|
|
|
#define MAX_SOUNDS_NONSENTENCE 2048 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_CUSTOM 32 |
|
|
|
#define MAX_CUSTOM 32 |
|
|
|
|
|
|
|
|
|
|
|
#define MAX_DLIGHTS 16 // dynamic lights (rendered per one frame)
|
|
|
|
#define MAX_DLIGHTS 16 // dynamic lights (rendered per one frame)
|
|
|
|
#define MAX_ELIGHTS 32 // entity only point lights
|
|
|
|
#define MAX_ELIGHTS 32 // entity only point lights
|
|
|
|
#define MAX_RENDER_DECALS 64 // max rendering decals per a level
|
|
|
|
#define MAX_RENDER_DECALS 64 // max rendering decals per a level
|
|
|
|
|
|
|
|
#define MAX_RESOURCES 1024 |
|
|
|
|
|
|
|
#elif XASH_LOW_MEMORY == 1 |
|
|
|
|
|
|
|
#define MAX_VISIBLE_PACKET 256 |
|
|
|
|
|
|
|
#define MAX_VISIBLE_PACKET_VIS_BYTES ((MAX_VISIBLE_PACKET + 7) / 8) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_EVENTS 128 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_SUPPORTED_MODELS 1024 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_MODELS 1024 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_CUSTOM 512 |
|
|
|
|
|
|
|
|
|
|
|
#define MAX_RESOURCES 1024 |
|
|
|
#define MAX_RESOURCES 1024 |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// Quake1 Protocol
|
|
|
|
// Quake1 Protocol
|
|
|
|
#define PROTOCOL_VERSION_QUAKE 15 |
|
|
|
#define PROTOCOL_VERSION_QUAKE 15 |
|
|
|
|
|
|
|
|
|
|
|