summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r--src/resources/beinginfo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h
index e2d11c93..a4736439 100644
--- a/src/resources/beinginfo.h
+++ b/src/resources/beinginfo.h
@@ -24,6 +24,7 @@
#include "actorsprite.h"
+#include "gui/gui.h"
#include "resources/spritedef.h"
#include <map>
@@ -81,6 +82,14 @@ class BeingInfo
ActorSprite::TargetCursorSize getTargetCursorSize() const
{ return mTargetCursorSize; }
+ void setHoverCursor(const std::string &cursorName);
+
+ void setHoverCursor(Cursor cursor)
+ { mHoverCursor = cursor; }
+
+ Cursor getHoverCursor() const
+ { return mHoverCursor; }
+
void addSound(SoundEvent event, const std::string &filename);
const std::string &getSound(SoundEvent event) const;
@@ -108,6 +117,7 @@ class BeingInfo
SpriteDisplay mDisplay;
std::string mName;
ActorSprite::TargetCursorSize mTargetCursorSize = ActorSprite::TC_MEDIUM;
+ Cursor mHoverCursor = Cursor::POINTER;
std::map<SoundEvent, std::vector<std::string>> mSounds;
std::map<int, Attack> mAttacks;
unsigned char mWalkMask;