|
|
@ -183,6 +183,17 @@ 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 |
|
|
|
|
|
|
|
#undef MAX_VISIBLE_PACKET |
|
|
|
|
|
|
|
#undef MAX_VISIBLE_PACKET_VIS_BYTES |
|
|
|
|
|
|
|
#undef MAX_EVENTS |
|
|
|
|
|
|
|
#undef MAX_SUPPORTED_MODELS |
|
|
|
|
|
|
|
#undef MAX_MODELS |
|
|
|
|
|
|
|
#undef MAX_SOUNDS |
|
|
|
|
|
|
|
#undef MAX_CUSTOM |
|
|
|
|
|
|
|
#undef MAX_DLIGHTS |
|
|
|
|
|
|
|
#undef MAX_ELIGHTS |
|
|
|
|
|
|
|
#undef MAX_RENDER_DECALS |
|
|
|
|
|
|
|
#undef MAX_RESOURCES |
|
|
|
// memory reduced protocol, not for use in multiplayer (but still compatible)
|
|
|
|
// 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) |
|
|
@ -202,6 +213,14 @@ GNU General Public License for more details. |
|
|
|
#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 |
|
|
|
#define MAX_RESOURCES 1024 |
|
|
|
#elif XASH_LOW_MEMORY == 1 |
|
|
|
#elif XASH_LOW_MEMORY == 1 |
|
|
|
|
|
|
|
#undef MAX_VISIBLE_PACKET |
|
|
|
|
|
|
|
#undef MAX_VISIBLE_PACKET_VIS_BYTES |
|
|
|
|
|
|
|
#undef MAX_EVENTS |
|
|
|
|
|
|
|
#undef MAX_SUPPORTED_MODELS |
|
|
|
|
|
|
|
#undef MAX_MODELS |
|
|
|
|
|
|
|
#undef MAX_CUSTOM |
|
|
|
|
|
|
|
#undef MAX_RENDER_DECALS |
|
|
|
|
|
|
|
#undef MAX_RESOURCES |
|
|
|
#define MAX_VISIBLE_PACKET 256 |
|
|
|
#define MAX_VISIBLE_PACKET 256 |
|
|
|
#define MAX_VISIBLE_PACKET_VIS_BYTES ((MAX_VISIBLE_PACKET + 7) / 8) |
|
|
|
#define MAX_VISIBLE_PACKET_VIS_BYTES ((MAX_VISIBLE_PACKET + 7) / 8) |
|
|
|
|
|
|
|
|
|
|
@ -212,7 +231,7 @@ GNU General Public License for more details. |
|
|
|
#define MAX_MODELS 1024 |
|
|
|
#define MAX_MODELS 1024 |
|
|
|
|
|
|
|
|
|
|
|
#define MAX_CUSTOM 512 |
|
|
|
#define MAX_CUSTOM 512 |
|
|
|
|
|
|
|
#define MAX_RENDER_DECALS 128 |
|
|
|
#define MAX_RESOURCES 1024 |
|
|
|
#define MAX_RESOURCES 1024 |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|