summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-21 19:37:01 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-21 19:37:01 +0300
commit8800940bb4b94f6dab7dcf80bf0abc3e3b09e35f (patch)
treecac057743c1b48db050dbfdad37809afa728b054 /src/being/actorsprite.h
parent542d2ba78d84e0fa051e0620ccab5fb3a0c711e3 (diff)
downloadmv-8800940bb4b94f6dab7dcf80bf0abc3e3b09e35f.tar.gz
mv-8800940bb4b94f6dab7dcf80bf0abc3e3b09e35f.tar.bz2
mv-8800940bb4b94f6dab7dcf80bf0abc3e3b09e35f.tar.xz
mv-8800940bb4b94f6dab7dcf80bf0abc3e3b09e35f.zip
Add support for using fields from status effects: option, opt1, opt2, opt3.
Diffstat (limited to 'src/being/actorsprite.h')
-rw-r--r--src/being/actorsprite.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h
index 5c5f5a80d..0bc6eff00 100644
--- a/src/being/actorsprite.h
+++ b/src/being/actorsprite.h
@@ -131,14 +131,6 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
void setStatusEffectOpiton0(const uint32_t option);
- /**
- * A status effect block is a 16 bit mask of status effects. We assign
- * each such flag a block ID of offset + bitnr.
- *
- * These are NOT the same as the status effect indices.
- */
- void setStatusEffectBlock(const int offset, const uint16_t flags);
-
void setAlpha(const float alpha) override final
{ CompoundSprite::setAlpha(alpha); }
@@ -200,6 +192,14 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
protected:
/**
+ * A status effect block is a 16 bit mask of status effects. We assign
+ * each such flag a block ID of offset + bitnr.
+ *
+ * These are NOT the same as the status effect indices.
+ */
+ void setStatusEffectBlock(const int offset, const uint16_t flags);
+
+ /**
* Notify self that the stun mode has been updated. Invoked by
* setStunMode if something changed.
*/