summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-12 10:52:26 -0600
committerIra Rice <irarice@gmail.com>2009-03-12 10:52:26 -0600
commit3ea4f74915184c08398bdf15e62d9667321ab15c (patch)
tree9b4d66a96d5b3e7787242fdcff3f7dadee1ca77b /src/being.h
parentf9a06a168a4c4354dcffdba7243b4eff783adb5b (diff)
downloadmana-3ea4f74915184c08398bdf15e62d9667321ab15c.tar.gz
mana-3ea4f74915184c08398bdf15e62d9667321ab15c.tar.bz2
mana-3ea4f74915184c08398bdf15e62d9667321ab15c.tar.xz
mana-3ea4f74915184c08398bdf15e62d9667321ab15c.zip
Removed some unneeded stub code.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h25
1 files changed, 3 insertions, 22 deletions
diff --git a/src/being.h b/src/being.h
index d7a7d1d5..4b30b6c5 100644
--- a/src/being.h
+++ b/src/being.h
@@ -210,14 +210,12 @@ class Being : public Sprite
/**
* Gets the hair color for this being.
*/
- int getHairColor() const
- { return mHairColor; }
+ int getHairColor() const { return mHairColor; }
/**
* Gets the hair style for this being.
*/
- int getHairStyle() const
- { return mHairStyle; }
+ int getHairStyle() const { return mHairStyle; }
/**
* Get the number of hairstyles implemented
@@ -393,12 +391,6 @@ class Being : public Sprite
mEmotionTime = emote_time;
}
- static int getHairColorsNr(void);
-
- static int getHairStylesNr(void);
-
- static std::string getHairColor(int index);
-
virtual AnimatedSprite* getSprite(int index) const
{ return mSprites[index]; }
@@ -415,15 +407,6 @@ class Being : public Sprite
*/
virtual void updateCoords() {}
- /**
- * Trigger visual effect, with components
- *
- * \param effectId ID of the effect to trigger
- * \param sfx Whether to trigger sound effects
- * \param gfx Whether to trigger graphical effects
- */
- void internalTriggerEffect(int effectId, bool sfx, bool gfx);
-
int mId; /**< Unique sprite id */
Uint16 mWalkSpeed; /**< Walking speed */
Uint8 mDirection; /**< Facing direction */
@@ -433,12 +416,10 @@ class Being : public Sprite
bool mIsGM;
bool mParticleEffects; /**< Whether to display particles or not */
- typedef std::bitset<STATUS_EFFECTS> StatusEffects;
-
/** Engine-related infos about weapon. */
const ItemInfo* mEquippedWeapon;
- static int mNumberOfHairstyles; /** Number of hair styles in use */
+ static int mNumberOfHairstyles; /** Number of hair styles in use */
Path mPath;
std::string mSpeech;