From 5e1658aade25018073cc432fbc55c7857441039b Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Sun, 5 Feb 2006 21:28:38 +0000 Subject: Made the nickname and emotions displayed above every layers. Made the delete and ok buttons be disabled once the character is selected at login. --- src/being.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/being.h') diff --git a/src/being.h b/src/being.h index 446cb906..d87f06ab 100644 --- a/src/being.h +++ b/src/being.h @@ -188,6 +188,18 @@ class Being : public Sprite void 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. */ @@ -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. -- cgit v1.2.3-70-g09d2