mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-30 05:47:57 +03:00
Imported Upstream version 0.26.0
This commit is contained in:
commit
9a2b6c69b6
1398 changed files with 212217 additions and 0 deletions
58
components/esm/attr.cpp
Normal file
58
components/esm/attr.cpp
Normal file
|
@ -0,0 +1,58 @@
|
|||
#include "attr.hpp"
|
||||
|
||||
using namespace ESM;
|
||||
|
||||
const Attribute::AttributeID Attribute::sAttributeIds[Attribute::Length] = {
|
||||
Attribute::Strength,
|
||||
Attribute::Intelligence,
|
||||
Attribute::Willpower,
|
||||
Attribute::Agility,
|
||||
Attribute::Speed,
|
||||
Attribute::Endurance,
|
||||
Attribute::Personality,
|
||||
Attribute::Luck
|
||||
};
|
||||
|
||||
const std::string Attribute::sAttributeNames[Attribute::Length] = {
|
||||
"Strength",
|
||||
"Intelligence",
|
||||
"Willpower",
|
||||
"Agility",
|
||||
"Speed",
|
||||
"Endurance",
|
||||
"Personality",
|
||||
"Luck"
|
||||
};
|
||||
|
||||
const std::string Attribute::sGmstAttributeIds[Attribute::Length] = {
|
||||
"sAttributeStrength",
|
||||
"sAttributeIntelligence",
|
||||
"sAttributeWillpower",
|
||||
"sAttributeAgility",
|
||||
"sAttributeSpeed",
|
||||
"sAttributeEndurance",
|
||||
"sAttributePersonality",
|
||||
"sAttributeLuck"
|
||||
};
|
||||
|
||||
const std::string Attribute::sGmstAttributeDescIds[Attribute::Length] = {
|
||||
"sStrDesc",
|
||||
"sIntDesc",
|
||||
"sWilDesc",
|
||||
"sAgiDesc",
|
||||
"sSpdDesc",
|
||||
"sEndDesc",
|
||||
"sPerDesc",
|
||||
"sLucDesc"
|
||||
};
|
||||
|
||||
const std::string Attribute::sAttributeIcons[Attribute::Length] = {
|
||||
"icons\\k\\attribute_strength.dds",
|
||||
"icons\\k\\attribute_int.dds",
|
||||
"icons\\k\\attribute_wilpower.dds",
|
||||
"icons\\k\\attribute_agility.dds",
|
||||
"icons\\k\\attribute_speed.dds",
|
||||
"icons\\k\\attribute_endurance.dds",
|
||||
"icons\\k\\attribute_personality.dds",
|
||||
"icons\\k\\attribute_luck.dds"
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue