diff options
Diffstat (limited to 'mp/src/public/const.h')
| -rw-r--r-- | mp/src/public/const.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mp/src/public/const.h b/mp/src/public/const.h index 98293c08..0ed97e9e 100644 --- a/mp/src/public/const.h +++ b/mp/src/public/const.h @@ -46,7 +46,15 @@ #define MAX_PLAYERS_PER_CLIENT 1 // One player per PC #endif -#define MAX_MAP_NAME 32 +// Max decorated map name, with things like workshop/cp_foo.ugc123456 +#define MAX_MAP_NAME 96 + +// Max name used in save files. Needs to be left at 32 for SourceSDK compatibility. +#define MAX_MAP_NAME_SAVE 32 + +// Max non-decorated map name for e.g. server browser (just cp_foo) +#define MAX_DISPLAY_MAP_NAME 32 + #define MAX_NETWORKID_LENGTH 64 // num chars for a network (i.e steam) ID // BUGBUG: Reconcile with or derive this from the engine's internal definition! |