summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorLloyd Bryant <lloyd_bryant@netzero.net>2008-08-13 15:02:59 +0000
committerLloyd Bryant <lloyd_bryant@netzero.net>2008-08-13 15:02:59 +0000
commit94024e2b57b31ee92bb81fc48ce236283330b60c (patch)
treea526015cfcdd33c3482b710dc4fa22bbec4e0090 /src/being.h
parentc9175a4d140f4c852aa5195b72ad9bd1ae8d5cee (diff)
downloadmana-client-94024e2b57b31ee92bb81fc48ce236283330b60c.tar.gz
mana-client-94024e2b57b31ee92bb81fc48ce236283330b60c.tar.bz2
mana-client-94024e2b57b31ee92bb81fc48ce236283330b60c.tar.xz
mana-client-94024e2b57b31ee92bb81fc48ce236283330b60c.zip
Added support for different colored fonts for different being types
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index 90bab9ac..7f68c8c3 100644
--- a/src/being.h
+++ b/src/being.h
@@ -233,6 +233,9 @@ class Being : public Sprite
virtual void
nextStep();
+ virtual void
+ setGM() { mIsGM = true; }
+
/**
* Performs being logic.
*/
@@ -382,6 +385,7 @@ class Being : public Sprite
Map *mMap; /**< Map on which this being resides */
std::string mName; /**< Name of character */
SpriteIterator mSpriteIterator;
+ bool mIsGM;
/** Engine-related infos about weapon. */
const ItemInfo* mEquippedWeapon;