summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-03 18:26:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-03 18:26:17 +0300
commit975f12cdaa4bba66c0e1e18aa3d638f3ae8cad76 (patch)
tree2a0fa752d8bb9c044142fdabd00386fd09b14a75 /src/being/actorsprite.h
parent7f299fa18a883f5e7392b00764aa1c4d2c41b212 (diff)
downloadmv-975f12cdaa4bba66c0e1e18aa3d638f3ae8cad76.tar.gz
mv-975f12cdaa4bba66c0e1e18aa3d638f3ae8cad76.tar.bz2
mv-975f12cdaa4bba66c0e1e18aa3d638f3ae8cad76.tar.xz
mv-975f12cdaa4bba66c0e1e18aa3d638f3ae8cad76.zip
Use riding sprite actions in being.
Diffstat (limited to 'src/being/actorsprite.h')
-rw-r--r--src/being/actorsprite.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h
index 12624aa30..e0c64b017 100644
--- a/src/being/actorsprite.h
+++ b/src/being/actorsprite.h
@@ -177,7 +177,7 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
bool getHaveCart() const A_WARN_UNUSED
{ return mHaveCart; }
- virtual void setRiding(const bool b)
+ void setRiding(const bool b)
{ mRiding = b; }
protected:
@@ -207,15 +207,6 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
const int imageType = 0,
const std::string &color = "");
- std::set<int> mStatusEffects; /**< set of active status effects */
-
- ParticleList mStunParticleEffects;
- ParticleVector mStatusParticleEffects;
- ParticleList mChildParticleEffects;
- int mId;
- uint16_t mStunMode; /**< Stun mode; zero if not stunned */
-
- private:
/** Load the target cursors into memory */
static void initTargetCursor();
@@ -228,6 +219,14 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
static bool loaded;
+ std::set<int> mStatusEffects; /**< set of active status effects */
+
+ ParticleList mStunParticleEffects;
+ ParticleVector mStatusParticleEffects;
+ ParticleList mChildParticleEffects;
+ int mId;
+ uint16_t mStunMode; /**< Stun mode; zero if not stunned */
+
/** Target cursor being used */
AnimatedSprite *mUsedTargetCursor;