persister cleanup

This commit is contained in:
DarthArgus
2016-12-15 03:00:59 +00:00
parent 76d08c50da
commit 18cb7d0e95
452 changed files with 1344 additions and 1532 deletions
@@ -18,8 +18,8 @@ class DataTable;
class SkillManager
{
public:
typedef stdunordered_map<std::string, SkillObject *>::fwd SkillMap;
typedef stdunordered_map<std::string, uint32>::fwd XpLimitMap;
typedef std::unordered_map<std::string, SkillObject *> SkillMap;
typedef std::unordered_map<std::string, uint32> XpLimitMap;
virtual ~SkillManager ();
@@ -37,7 +37,7 @@ namespace
//----------------------------------------------------------------------
typedef stdvector<std::string>::fwd StringVector;
typedef std::vector<std::string> StringVector;
inline void tokenizeList (const std::string & str, StringVector & sv, int row, const std::string & columnName)
{
UNREF (row);
@@ -19,15 +19,15 @@ public:
virtual ~SkillObject();
bool load(DataTable & file, const std::string & skillName);
typedef stdvector<const SkillObject *>::fwd SkillVector;
typedef std::vector<const SkillObject *> SkillVector;
typedef std::pair<int, int> XpPair; // xp needed, xp limit
typedef std::pair<std::string, XpPair> ExperiencePair;
typedef stdvector<ExperiencePair>::fwd ExperienceVector;
typedef std::vector<ExperiencePair> ExperienceVector;
typedef std::pair<std::string, int> GenericMod;
typedef stdvector<GenericMod>::fwd GenericModVector;
typedef stdvector<std::string>::fwd StringVector;
typedef std::vector<GenericMod> GenericModVector;
typedef std::vector<std::string> StringVector;
typedef std::pair<std::string, bool> SpeciesFlag;
typedef stdvector<SpeciesFlag>::fwd SpeciesFlagVector;
typedef std::vector<SpeciesFlag> SpeciesFlagVector;
const SkillObject * findCategory () const;