summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2006-02-05 21:28:38 +0000
committerYohann Ferreira <bertram@cegetel.net>2006-02-05 21:28:38 +0000
commit5e1658aade25018073cc432fbc55c7857441039b (patch)
tree855ab86c0c1a02dd3750751f4b8f0db3dbe71010 /src/being.h
parentbb16416fdc756e1952bc975be4a2fee6c584c38f (diff)
downloadmana-5e1658aade25018073cc432fbc55c7857441039b.tar.gz
mana-5e1658aade25018073cc432fbc55c7857441039b.tar.bz2
mana-5e1658aade25018073cc432fbc55c7857441039b.tar.xz
mana-5e1658aade25018073cc432fbc55c7857441039b.zip
Made the nickname and emotions displayed above every layers. Made the delete and ok buttons be disabled once the character is selected at login.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/being.h b/src/being.h
index 446cb906..d87f06ab 100644
--- a/src/being.h
+++ b/src/being.h
@@ -189,6 +189,18 @@ class Being : public Sprite
drawSpeech(Graphics *graphics, Sint32 offsetX, Sint32 offsetY);
/**
+ * Draws the emotion picture above the being.
+ */
+ void
+ drawEmotion(Graphics *graphics, Sint32 offsetX, Sint32 offsetY);
+
+ /**
+ * Draws the name text below the being.
+ */
+ void
+ drawName(Graphics *graphics, Sint32 offsetX, Sint32 offsetY);
+
+ /**
* Returns the type of the being.
*/
virtual Type getType() const;
@@ -249,7 +261,7 @@ class Being : public Sprite
* @see Sprite::draw(Graphics, int, int)
*/
void
- draw(Graphics *graphics, Sint32 offsetX, Sint32 offsetY);
+ draw(Graphics *graphics, Sint32 offsetX, Sint32 offsetY) {};
/**
* Returns the pixel X coordinate.