Another eq_dictionary pass

This commit is contained in:
Uleat
2016-05-30 06:52:25 -04:00
parent b155a603aa
commit 16895910e4
29 changed files with 630 additions and 521 deletions
+9 -9
View File
@@ -10,7 +10,7 @@
but WITHOUT ANY WARRANTY except by those people which sell it, which
are required to give you total support for your newly bought product;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
@@ -22,7 +22,7 @@
#include "../string_util.h"
size_t RoF::invtype::InvTypeSize(int inv_type)
size_t RoF::invtype::GetInvTypeSize(int inv_type)
{
switch (inv_type) {
case invtype::InvTypePossessions:
@@ -78,7 +78,7 @@ size_t RoF::invtype::InvTypeSize(int inv_type)
}
}
const char* RoF::invtype::InvTypeName(int inv_type)
const char* RoF::invtype::GetInvTypeName(int inv_type)
{
switch (inv_type) {
case invtype::InvTypeInvalid:
@@ -136,7 +136,7 @@ const char* RoF::invtype::InvTypeName(int inv_type)
}
}
const char* RoF::invslot::InvPossessionsSlotName(int inv_slot)
const char* RoF::invslot::GetInvPossessionsSlotName(int inv_slot)
{
switch (inv_slot) {
case invslot::InvSlotInvalid:
@@ -214,12 +214,12 @@ const char* RoF::invslot::InvPossessionsSlotName(int inv_slot)
}
}
const char* RoF::invslot::InvSlotName(int inv_type, int inv_slot)
const char* RoF::invslot::GetInvSlotName(int inv_type, int inv_slot)
{
if (inv_type == invtype::InvTypePossessions)
return invslot::InvPossessionsSlotName(inv_slot);
return invslot::GetInvPossessionsSlotName(inv_slot);
size_t type_size = invtype::InvTypeSize(inv_type);
size_t type_size = invtype::GetInvTypeSize(inv_type);
if (!type_size || inv_slot == invslot::InvSlotInvalid)
return "Invalid Slot";
@@ -233,7 +233,7 @@ const char* RoF::invslot::InvSlotName(int inv_type, int inv_slot)
return ret_str.c_str();
}
const char* RoF::invbag::InvBagIndexName(int bag_index)
const char* RoF::invbag::GetInvBagIndexName(int bag_index)
{
if (bag_index == invbag::InvBagInvalid)
return "Invalid Bag";
@@ -247,7 +247,7 @@ const char* RoF::invbag::InvBagIndexName(int bag_index)
return ret_str.c_str();
}
const char* RoF::invaug::InvAugIndexName(int aug_index)
const char* RoF::invaug::GetInvAugIndexName(int aug_index)
{
if (aug_index == invaug::InvAugInvalid)
return "Invalid Augment";