From e7c3c0ae918caf70f67b378743f0ede929285e42 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Sun, 20 May 2007 20:27:32 +0000 Subject: 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. --- src/being.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/being.h') 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 mEquipment; /** -- cgit v1.2.3-60-g2f50