summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/being.h b/src/being.h
index cceebc3c..1eeeb9db 100644
--- a/src/being.h
+++ b/src/being.h
@@ -30,9 +30,9 @@
#include <SDL_types.h>
#include <vector>
-#include "sprite.h"
-#include "map.h"
#include "animatedsprite.h"
+#include "map.h"
+#include "sprite.h"
#include "gui/speechbubble.h"
@@ -48,7 +48,6 @@ class ItemInfo;
class Item;
class Map;
class Graphics;
-class ImageSet;
class Particle;
class SpeechBubble;
class Text;
@@ -362,8 +361,10 @@ class Being : public Sprite
*/
virtual void triggerEffect(int effectId) { internalTriggerEffect(effectId, false, true); }
- const std::auto_ptr<Equipment> mEquipment;
+ // Target cursor being used by the being
+ Image *mTargetCursor;
+ const std::auto_ptr<Equipment> mEquipment;
protected:
/**
@@ -392,6 +393,7 @@ class Being : public Sprite
std::string mName; /**< Name of character */
SpriteIterator mSpriteIterator;
bool mIsGM;
+ bool mTargeted;
bool mParticleEffects; /**< Whether to display particles or not */
/** Engine-related infos about weapon. */