From 68926c15e6d31c4af90bce9ec57aa39f839d7d6b Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Wed, 3 Dec 2008 12:30:11 -0700 Subject: Add an effects manager (patch by Kage Jittai) NOTE: This patch demonstrates the need to fix pixel coordinates in the eAthena client. Bjorn did the movement patch in the TMWClient, however, I still haven't got that fully working with the merges. It's likely that a clone will be developed to tackle this problem. Signed-off-by: Ira Rice --- src/being.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/being.h') diff --git a/src/being.h b/src/being.h index 325ec51a..958e8f60 100644 --- a/src/being.h +++ b/src/being.h @@ -29,6 +29,7 @@ #include #include "animatedsprite.h" +#include "effectmanager.h" #include "map.h" #include "sprite.h" @@ -358,15 +359,6 @@ class Being : public Sprite mEmotionTime = emote_time; } - /** - * Triggers a visual effect, such as `level up' - * - * Only draws the visual effect, does not play sound effects - * - * \param effectId ID of the effect to trigger - */ - virtual void triggerEffect(int effectId) { internalTriggerEffect(effectId, false, true); } - // Target cursor being used by the being Image *mTargetCursor; -- cgit v1.2.3-70-g09d2