From 3fcd6a549fc825f4185a6dc248922e02988caed5 Mon Sep 17 00:00:00 2001 From: Fate Date: Sun, 7 Dec 2008 04:00:55 -0700 Subject: Added client-side status change handlers (text, icon, particle effect, audio). --- src/localplayer.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/localplayer.h') diff --git a/src/localplayer.h b/src/localplayer.h index 34f10a4a..5e0a4419 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -22,6 +22,8 @@ #ifndef _TMW_LOCALPLAYER_H #define _TMW_LOCALPLAYER_H +#include + #include "player.h" // TODO move into some sane place... @@ -199,6 +201,9 @@ class LocalPlayer : public Player float mLastAttackTime; /**< Used to synchronize the charge dialog */ protected: + virtual void + handleStatusEffect(StatusEffect *effect, int effectId); + void walk(unsigned char dir); int mXp; /**< Experience points. */ @@ -214,6 +219,8 @@ class LocalPlayer : public Player int mDestX; /**< X coordinate of destination. */ int mDestY; /**< Y coordinate of destination. */ + std::vector mStatusEffectIcons; + Inventory *mInventory; }; -- cgit v1.2.3-70-g09d2