mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-22 21:04:14 +00:00
lowmemory: reduce MAX_QPATH
This commit is contained in:
parent
b3a5283517
commit
cb8e0a50bc
@ -142,7 +142,11 @@ typedef void (*setpair_t)( const char *key, const void *value, void *buffer, voi
|
|||||||
// config strings are a general means of communication from
|
// config strings are a general means of communication from
|
||||||
// the server to all connected clients.
|
// the server to all connected clients.
|
||||||
// each config string can be at most CS_SIZE characters.
|
// each config string can be at most CS_SIZE characters.
|
||||||
|
|
||||||
#define MAX_QPATH 64 // max length of a game pathname
|
#define MAX_QPATH 64 // max length of a game pathname
|
||||||
|
#if XASH_LOW_MEMORY == 2
|
||||||
|
#define MAX_QPATH 32
|
||||||
|
#endif
|
||||||
#define MAX_OSPATH 260 // max length of a filesystem pathname
|
#define MAX_OSPATH 260 // max length of a filesystem pathname
|
||||||
#define CS_SIZE 64 // size of one config string
|
#define CS_SIZE 64 // size of one config string
|
||||||
#define CS_TIME 16 // size of time string
|
#define CS_TIME 16 // size of time string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user