diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-10-04 03:33:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-10-04 03:33:13 +0300 |
commit | 29549cf31a03e2ac7290afaa7442b3b9519d4e7c (patch) | |
tree | cb01d06c5d2349ca5c6e843f07e251f3a85ae50b /src/resources/frame.h | |
parent | 2ec30fd9bac60bb7e4752e3bba0036c078019d0a (diff) | |
download | manaplus-29549cf31a03e2ac7290afaa7442b3b9519d4e7c.tar.gz manaplus-29549cf31a03e2ac7290afaa7442b3b9519d4e7c.tar.bz2 manaplus-29549cf31a03e2ac7290afaa7442b3b9519d4e7c.tar.xz manaplus-29549cf31a03e2ac7290afaa7442b3b9519d4e7c.zip |
Move FrameType enum into enums directory.
Diffstat (limited to 'src/resources/frame.h')
-rw-r--r-- | src/resources/frame.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/resources/frame.h b/src/resources/frame.h index 9359dba05..327a602a7 100644 --- a/src/resources/frame.h +++ b/src/resources/frame.h @@ -23,6 +23,8 @@ #ifndef RESOURCES_FRAME_H #define RESOURCES_FRAME_H +#include "enums/resources/frametype.h" + #include <string> #include "localconsts.h" @@ -34,21 +36,12 @@ class Image; */ struct Frame final { - enum FrameType - { - ANIMATION = 0, - JUMP, - GOTO, - LABEL, - PAUSE - }; - Image *image; int delay; int offsetX; int offsetY; int rand; - FrameType type; + FrameTypeT type; std::string nextAction; }; |