diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-07-08 17:32:26 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-07-08 17:37:52 -0600 |
commit | 6c68287a7a66ba6933bc4dbfe43f6c4761e683c1 (patch) | |
tree | 203960dfdebe15cffff9abd7089441ecbf1965cf /src/localplayer.h | |
parent | 8963ef3e6d0ede6a3e22687642bbc39c24f21dad (diff) | |
download | mana-6c68287a7a66ba6933bc4dbfe43f6c4761e683c1.tar.gz mana-6c68287a7a66ba6933bc4dbfe43f6c4761e683c1.tar.bz2 mana-6c68287a7a66ba6933bc4dbfe43f6c4761e683c1.tar.xz mana-6c68287a7a66ba6933bc4dbfe43f6c4761e683c1.zip |
Have both builds use the same SkillDialog
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 50dfbc98..c1ceaf37 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -295,7 +295,6 @@ class LocalPlayer : public Player int ATK, MATK, DEF, MDEF, HIT, FLEE; int ATK_BONUS, MATK_BONUS, DEF_BONUS, MDEF_BONUS, FLEE_BONUS; - Uint16 mSkillPoint; #endif int getHp() const @@ -361,6 +360,11 @@ class LocalPlayer : public Player void setCorrectionPoints(int n) { mCorrectionPoints = n; } + int getSkillPoints() const + { return mSkillPoints; } + + void setSkillPoints(int points); + void setExperience(int skill, int current, int next); std::pair<int, int> getExperience(int skill); @@ -395,6 +399,7 @@ class LocalPlayer : public Player int mMaxWeight; int mHp; int mMaxHp; + int mSkillPoints; int mGMLevel; |