summaryrefslogtreecommitdiff
path: root/src/resources/spritereference.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-18 20:00:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-18 20:08:15 +0300
commitcf6a135902b647b565e782e9cb9626b7ac8b361b (patch)
treea6cebb27ca4f89ea5e559958dac2a4af9afa87d2 /src/resources/spritereference.h
parenta3ad4ab670c7fa776375f569e9fe9d7fbe227245 (diff)
downloadmv-cf6a135902b647b565e782e9cb9626b7ac8b361b.tar.gz
mv-cf6a135902b647b565e782e9cb9626b7ac8b361b.tar.bz2
mv-cf6a135902b647b565e782e9cb9626b7ac8b361b.tar.xz
mv-cf6a135902b647b565e782e9cb9626b7ac8b361b.zip
Add support for multiply sprites in each horse part.
Also fix horse sprites actions issue.
Diffstat (limited to 'src/resources/spritereference.h')
-rw-r--r--src/resources/spritereference.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/spritereference.h b/src/resources/spritereference.h
index b61f54a19..a68b0d792 100644
--- a/src/resources/spritereference.h
+++ b/src/resources/spritereference.h
@@ -23,7 +23,7 @@
#ifndef RESOURCES_SPRITEREFERENCE_H
#define RESOURCES_SPRITEREFERENCE_H
-#include <string>
+#include "utils/stringvector.h"
#include "localconsts.h"
@@ -48,4 +48,6 @@ struct SpriteReference final
int variant;
};
+typedef std::vector<SpriteReference*>::const_iterator SpriteRefs;
+
#endif // RESOURCES_SPRITEREFERENCE_H