summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-21 22:20:17 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-21 22:33:12 +0300
commitc1352727417accc5a953749d4f089e9a1fb474d4 (patch)
treecd84b0be463b1c9bf202ffb0889d8ce76ebf5ab2 /src/being/actorsprite.h
parent3b71334296de5b53d2a6fa64c33b283ca3fa2a71 (diff)
downloadplus-c1352727417accc5a953749d4f089e9a1fb474d4.tar.gz
plus-c1352727417accc5a953749d4f089e9a1fb474d4.tar.bz2
plus-c1352727417accc5a953749d4f089e9a1fb474d4.tar.xz
plus-c1352727417accc5a953749d4f089e9a1fb474d4.zip
Remove stun related functions from actorsprite.
Diffstat (limited to 'src/being/actorsprite.h')
-rw-r--r--src/being/actorsprite.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h
index 06433628f..25e7c446a 100644
--- a/src/being/actorsprite.h
+++ b/src/being/actorsprite.h
@@ -107,17 +107,6 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
void untarget()
{ mUsedTargetCursor = nullptr; }
- /**
- * Sets the actor's stun mode. If zero, the being is `normal',
- * otherwise it is `stunned' in some fashion.
- */
- void setStunMode(const uint16_t stunMode)
- {
- if (mStunMode != stunMode)
- updateStunMode(mStunMode, stunMode);
- mStunMode = stunMode;
- }
-
void setStatusEffect(const int index, const Enable active);
void setStatusEffectOpitons(const uint32_t option,
@@ -202,12 +191,6 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
void setStatusEffectBlock(const int offset, const uint16_t flags);
/**
- * Notify self that the stun mode has been updated. Invoked by
- * setStunMode if something changed.
- */
- virtual void updateStunMode(const int oldMode, const int newMode);
-
- /**
* Notify self that a status effect has flipped.
* The new flag is passed.
*/
@@ -244,12 +227,10 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
std::set<int> mStatusEffects; /**< set of active status effects */
- ParticleList mStunParticleEffects;
ParticleVector mStatusParticleEffects;
ParticleList mChildParticleEffects;
int mHorseId;
BeingId mId;
- uint16_t mStunMode; /**< Stun mode; zero if not stunned */
/** Target cursor being used */
AnimatedSprite *mUsedTargetCursor;