diff options
| author | John Schoenick <[email protected]> | 2015-09-09 18:35:41 -0700 |
|---|---|---|
| committer | John Schoenick <[email protected]> | 2015-09-09 18:35:41 -0700 |
| commit | 0d8dceea4310fde5706b3ce1c70609d72a38efdf (patch) | |
| tree | c831ef32c2c801a5c5a80401736b52c7b5a528ec /mp/src/public/const.h | |
| parent | Updated the SDK with the latest code from the TF and HL2 branches. (diff) | |
| download | source-sdk-2013-master.tar.xz source-sdk-2013-master.zip | |
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! |