summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-04-28 17:30:00 +0000
committerDavid Athay <ko2fan@gmail.com>2008-04-28 17:30:00 +0000
commit38d84edf098551793b78b845156e7de240d0d8b0 (patch)
treeaf4d295e7c0c1c220ebf863d27694318d9081935 /src/localplayer.h
parent5bbb89e2dbcafb80f33030ba2ffef6d2515b9209 (diff)
downloadmana-38d84edf098551793b78b845156e7de240d0d8b0.tar.gz
mana-38d84edf098551793b78b845156e7de240d0d8b0.tar.bz2
mana-38d84edf098551793b78b845156e7de240d0d8b0.tar.xz
mana-38d84edf098551793b78b845156e7de240d0d8b0.zip
Skills patch by roderic, mantis id=209
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 099a5f81..be8c020c 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -337,7 +337,12 @@ class LocalPlayer : public Player
void setExperience(int skill, int current, int next);
- static const std::string& getSkillName(int skill);
+ struct skillInfo {
+ std::string name;
+ std::string icon;
+ };
+
+ static const struct skillInfo& getSkillInfo(int skill);
std::pair<int, int> getExperience(int skill);