37 static std::map<int, RaceInfos>
RACES;
Stores per-race/sex metadata loaded from ChrRaces / ChrModel database tables.
std::vector< int > ChrModelID
ChrModel IDs for this race/sex.
bool isHD
Whether this is an HD model.
int sexID
0 = male, 1 = female.
static std::map< int, RaceInfos > RACES
static int getHDModelForFileID(int)
Get the HD model file ID for a given file ID.
static int getFileIDForRaceSex(const int &race, const int &sex)
Get the model file ID for a specific race and sex.
static const std::map< int, RaceInfos > & getAllRaces()
Return all loaded race info entries.
static void init()
Initialise the global race info table from the database.
bool barefeet
Whether the race shows bare feet by default.
int textureLayoutID
Texture layout ID for compositing.
int modelFallbackSexID
Fallback sex for the model.
int textureFallbackSexID
Fallback sex for textures.
static bool getRaceInfosForFileID(int, RaceInfos &)
Populate a RaceInfos struct from a model file ID.
std::string prefix
Race name prefix used for file lookups.
int raceID
Race ID (-1 = invalid).
int textureFallbackRaceID
Fallback race for textures.
int modelFallbackRaceID
Fallback race for the model.
Core WoW .m2 model: geometry, animation, textures, and character data.