diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-05-20 20:27:32 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-05-20 20:27:32 +0000 |
commit | e7c3c0ae918caf70f67b378743f0ede929285e42 (patch) | |
tree | 953cb01a89665e500e9a5ec0f711d31df0e27c7d /src/being.h | |
parent | c2b7b192b50a4696888ee92a8aa9abfa21eb057e (diff) | |
download | mana-e7c3c0ae918caf70f67b378743f0ede929285e42.tar.gz mana-e7c3c0ae918caf70f67b378743f0ede929285e42.tar.bz2 mana-e7c3c0ae918caf70f67b378743f0ede929285e42.tar.xz mana-e7c3c0ae918caf70f67b378743f0ede929285e42.zip |
Added different target cursor sizes for monsters. Graphics for small and large cursor are provisional until better versions based on the original SVG of the medium sized one are available.
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h index a1f59c91..cdae05dc 100644 --- a/src/being.h +++ b/src/being.h @@ -93,6 +93,13 @@ class Being : public Sprite VECTOREND_SPRITE }; + enum TargetCursorSize { + TC_SMALL = 0, + TC_MEDIUM, + TC_LARGE, + NUM_TC + }; + /** * Directions, to be used as bitmask values @@ -362,6 +369,13 @@ class Being : public Sprite virtual int getHeight() const; + /** + * Returns the required size of a target cursor for this being + */ + virtual Being::TargetCursorSize + getTargetCursorSize() const + { return TC_MEDIUM; } + std::auto_ptr<Equipment> mEquipment; /** |