diff options
Diffstat (limited to 'src/shared')
| -rw-r--r-- | src/shared/Database/DBCEnums.h | 8 | ||||
| -rw-r--r-- | src/shared/Database/DBCStructure.h | 9 |
2 files changed, 13 insertions, 4 deletions
diff --git a/src/shared/Database/DBCEnums.h b/src/shared/Database/DBCEnums.h index 6ad7fdb127a..1d54616a2b5 100644 --- a/src/shared/Database/DBCEnums.h +++ b/src/shared/Database/DBCEnums.h @@ -19,6 +19,14 @@ #ifndef DBCENUMS_H #define DBCENUMS_H +// client supported max level for player/pets/etc. Avoid overflow or client stability affected. +// also see GT_MAX_LEVEL define +#define MAX_LEVEL 100 + +// Server side limitation. Base at used code requirements. +// also see MAX_LEVEL and GT_MAX_LEVEL define +#define STRONG_MAX_LEVEL 255 + enum AreaTeams { AREATEAM_NONE = 0, diff --git a/src/shared/Database/DBCStructure.h b/src/shared/Database/DBCStructure.h index 94c6589e5e3..99d789f133f 100644 --- a/src/shared/Database/DBCStructure.h +++ b/src/shared/Database/DBCStructure.h @@ -131,9 +131,9 @@ struct ChrClassesEntry //char* name[16]; // 5-20 unused char* name[16]; // 5-20 unused // 21 string flag, unused - //char* string1[16]; // 21-36 unused + //char* nameFemale[16]; // 21-36 unused, if different from base (male) case // 37 string flag, unused - //char* string2[16]; // 38-53 unused + //char* nameNeutralGender[16]; // 38-53 unused, if different from base (male) case // 54 string flag, unused // 55, unused uint32 spellfamily; // 56 @@ -154,9 +154,9 @@ struct ChrRacesEntry uint32 startmovie; // 13 id from CinematicCamera.dbc char* name[16]; // 14-29 used for DBC language detection/selection // 30 string flags, unused - //char* string1[16]; // 31-46 used for DBC language detection/selection + //char* nameFemale[16]; // 31-46, if different from base (male) case // 47 string flags, unused - //char* string2[16]; // 48-63 used for DBC language detection/selection + //char* nameNeutralGender[16]; // 48-63, if different from base (male) case // 64 string flags, unused // 65-67 unused uint32 addon; // 68 (0 - original race, 1 - tbc addon, ...) @@ -274,6 +274,7 @@ struct GemPropertiesEntry uint32 color; }; +// All Gt* DBC store data for 100 levels, some by 100 per class/race #define GT_MAX_LEVEL 100 struct GtCombatRatingsEntry |
