summaryrefslogtreecommitdiff
path: root/src/resources/db/statdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-29 21:06:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-30 00:03:20 +0300
commite2c1b87e38e5c921912b334ca971e92b7989f8a8 (patch)
treeeb95d5d620c5318403bafd014738906c3d602adf /src/resources/db/statdb.cpp
parent370a8245ae3fbbfe449000b6bdaab366d08d925e (diff)
downloadmanaverse-e2c1b87e38e5c921912b334ca971e92b7989f8a8.tar.gz
manaverse-e2c1b87e38e5c921912b334ca971e92b7989f8a8.tar.bz2
manaverse-e2c1b87e38e5c921912b334ca971e92b7989f8a8.tar.xz
manaverse-e2c1b87e38e5c921912b334ca971e92b7989f8a8.zip
Rename ItemDb::Stat into BasicStat.
Diffstat (limited to 'src/resources/db/statdb.cpp')
-rw-r--r--src/resources/db/statdb.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/resources/db/statdb.cpp b/src/resources/db/statdb.cpp
index 41c4b6c44..0d25b07dd 100644
--- a/src/resources/db/statdb.cpp
+++ b/src/resources/db/statdb.cpp
@@ -36,26 +36,26 @@
namespace
{
bool mLoaded = false;
- static std::vector<ItemDB::Stat> mBasicStats;
+ static std::vector<BasicStat> mBasicStats;
} // namespace
void StatDb::addBasicStats()
{
// TRANSLATORS: player stat
- mBasicStats.push_back(ItemDB::Stat("str", _("Strength %s")));
+ mBasicStats.push_back(BasicStat("str", _("Strength %s")));
// TRANSLATORS: player stat
- mBasicStats.push_back(ItemDB::Stat("agi", _("Agility %s")));
+ mBasicStats.push_back(BasicStat("agi", _("Agility %s")));
// TRANSLATORS: player stat
- mBasicStats.push_back(ItemDB::Stat("vit", _("Vitality %s")));
+ mBasicStats.push_back(BasicStat("vit", _("Vitality %s")));
// TRANSLATORS: player stat
- mBasicStats.push_back(ItemDB::Stat("int", _("Intelligence %s")));
+ mBasicStats.push_back(BasicStat("int", _("Intelligence %s")));
// TRANSLATORS: player stat
- mBasicStats.push_back(ItemDB::Stat("dex", _("Dexterity %s")));
+ mBasicStats.push_back(BasicStat("dex", _("Dexterity %s")));
// TRANSLATORS: player stat
- mBasicStats.push_back(ItemDB::Stat("luck", _("Luck %s")));
+ mBasicStats.push_back(BasicStat("luck", _("Luck %s")));
}
-const std::vector<ItemDB::Stat> &StatDb::getExtraStats()
+const std::vector<BasicStat> &StatDb::getExtraStats()
{
return mBasicStats;
}