diff options
author | Majin Sniper <majinsniper@gmx.de> | 2009-02-20 00:19:52 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-20 08:35:25 -0700 |
commit | b2eb8daa8c39bcfd5fbd3a76dbbc432b43c561a9 (patch) | |
tree | b7583428f7462c5a6711dfa7d92b43076ea8f29b /src/localplayer.h | |
parent | 00bbc2186302fe4365f08903a209e03bb8feb4c5 (diff) | |
download | mana-client-b2eb8daa8c39bcfd5fbd3a76dbbc432b43c561a9.tar.gz mana-client-b2eb8daa8c39bcfd5fbd3a76dbbc432b43c561a9.tar.bz2 mana-client-b2eb8daa8c39bcfd5fbd3a76dbbc432b43c561a9.tar.xz mana-client-b2eb8daa8c39bcfd5fbd3a76dbbc432b43c561a9.zip |
Added a pickup notification as particle effect. Also make a ui option to enable/disable this effect (default is off) and another option to disable the pickup notification in the chat log (default is on).
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index b368d7c1..0ae99bb0 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -203,6 +203,11 @@ class LocalPlayer : public Player void setXp(int xp); /** + * Shows item pickup effect if the player is on a map. + */ + void pickedUp(std::string item); + + /** * Returns the amount of experience points. */ int getXp() const { return mXp; } |