mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-04 05:15:51 -04:00
persister cleanup (still broke but logic is there for when it isn't); also replace all the SOE BS for forwarding stl port with native object classes because i thought that may be part of the problem...
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user