summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-22 01:45:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-22 01:45:59 +0300
commitad56ac4bda60beddf33640df346801af1ece9ccf (patch)
tree80b27c32a9e954dd747e261d4f7617e4c959bb26 /src/being/actorsprite.h
parentc0b08d3f4f554c16e9a3599f1f1063c3a283bb93 (diff)
downloadmanaplus-ad56ac4bda60beddf33640df346801af1ece9ccf.tar.gz
manaplus-ad56ac4bda60beddf33640df346801af1ece9ccf.tar.bz2
manaplus-ad56ac4bda60beddf33640df346801af1ece9ccf.tar.xz
manaplus-ad56ac4bda60beddf33640df346801af1ece9ccf.zip
Add strong typed enum DisplayType.
Diffstat (limited to 'src/being/actorsprite.h')
-rw-r--r--src/being/actorsprite.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h
index ff413f040..db912e059 100644
--- a/src/being/actorsprite.h
+++ b/src/being/actorsprite.h
@@ -36,6 +36,8 @@
#include "enums/simpletypes/forcedisplay.h"
#include "enums/simpletypes/isstart.h"
+#include "enums/resources/displaytype.h"
+
#include "enums/resources/map/blocktype.h"
#include "particle/particlelist.h"
@@ -228,7 +230,7 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
void setupSpriteDisplay(const SpriteDisplay &display,
const ForceDisplay forceDisplay,
- const int imageType,
+ const DisplayTypeT displayType,
const std::string &color);
/** Load the target cursors into memory */