summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-24 21:43:37 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-24 21:43:37 +0300
commitb8e720a33502700b42569f152d63badd26d4a9b3 (patch)
treee96c79461e581f167f48e5c94f65457a1fe17acd /src/resources/spritedef.h
parent356807a4c1183304be11f0269cf6d61e2e5dba75 (diff)
downloadmanaplus-b8e720a33502700b42569f152d63badd26d4a9b3.tar.gz
manaplus-b8e720a33502700b42569f152d63badd26d4a9b3.tar.bz2
manaplus-b8e720a33502700b42569f152d63badd26d4a9b3.tar.xz
manaplus-b8e720a33502700b42569f152d63badd26d4a9b3.zip
Refactoring in spritedef after last commit.
Add missing checks.
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r--src/resources/spritedef.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index 9b60ae2ff..3aa6369dd 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -29,6 +29,7 @@
#include <list>
#include <map>
+#include <set>
#include <string>
#include <vector>
@@ -182,11 +183,12 @@ class SpriteDef : public Resource
typedef std::map<std::string, ImageSet*> ImageSets;
typedef ImageSets::iterator ImageSetIterator;
-
- typedef std::map<unsigned, std::map<std::string, Action*>*> Actions;
+ typedef std::map<std::string, Action*> ActionMap;
+ typedef std::map<unsigned, ActionMap*> Actions;
ImageSets mImageSets;
Actions mActions;
+ std::set<std::string> mProcessedFiles;
};
#endif // SPRITEDEF_H