Browse Source

lowmemory: reduce MAX_QPATH

pull/2/head
mittorn 5 years ago
parent
commit
cb8e0a50bc
  1. 4
      common/xash3d_types.h

4
common/xash3d_types.h

@ -142,7 +142,11 @@ typedef void (*setpair_t)( const char *key, const void *value, void *buffer, voi @@ -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
// the server to all connected clients.
// each config string can be at most CS_SIZE characters.
#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 CS_SIZE 64 // size of one config string
#define CS_TIME 16 // size of time string

Loading…
Cancel
Save