summaryrefslogtreecommitdiff
path: root/src/actorsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-17 20:13:48 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-17 20:13:48 +0300
commitc2efedab22275302f0a10cc197424d345a021d18 (patch)
tree7488abbb3655451a3f6a1621e0708f72011af5f6 /src/actorsprite.h
parent79aba82be3de5b6b571e2f59f7a34ded4b03160f (diff)
downloadmanaplus-c2efedab22275302f0a10cc197424d345a021d18.tar.gz
manaplus-c2efedab22275302f0a10cc197424d345a021d18.tar.bz2
manaplus-c2efedab22275302f0a10cc197424d345a021d18.tar.xz
manaplus-c2efedab22275302f0a10cc197424d345a021d18.zip
Replace SDL int types to C++ types.
Diffstat (limited to 'src/actorsprite.h')
-rw-r--r--src/actorsprite.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/actorsprite.h b/src/actorsprite.h
index 29df6954c..21ed0ae12 100644
--- a/src/actorsprite.h
+++ b/src/actorsprite.h
@@ -139,7 +139,7 @@ public:
* Sets the actor's stun mode. If zero, the being is `normal', otherwise it
* is `stunned' in some fashion.
*/
- void setStunMode(Uint16 stunMode)
+ void setStunMode(uint16_t stunMode)
{
if (mStunMode != stunMode)
updateStunMode(mStunMode, stunMode);
@@ -154,7 +154,7 @@ public:
*
* These are NOT the same as the status effect indices.
*/
- void setStatusEffectBlock(int offset, Uint16 flags);
+ void setStatusEffectBlock(int offset, uint16_t flags);
virtual void setAlpha(float alpha)
{ CompoundSprite::setAlpha(alpha); }
@@ -217,7 +217,7 @@ protected:
std::string color = "");
int mId;
- Uint16 mStunMode; /**< Stun mode; zero if not stunned */
+ uint16_t mStunMode; /**< Stun mode; zero if not stunned */
std::set<int> mStatusEffects; /**< set of active status effects */
ParticleList mStunParticleEffects;