summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-29 03:51:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-29 03:52:16 +0300
commit3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch)
tree80a4303b29aafa21683e90e45798283a482bf1d1 /src/resources/spritedef.h
parent7f607a0f58a9eba53237955c06bf445c71d57b6c (diff)
downloadManaVerse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz
ManaVerse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2
ManaVerse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz
ManaVerse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip
Replace vectors with strings to short names.
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r--src/resources/spritedef.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index 35b066296..e59e4bd1f 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -25,13 +25,12 @@
#include "resources/resource.h"
+#include "utils/stringvector.h"
#include "utils/xml.h"
#include <list>
#include <map>
#include <set>
-#include <string>
-#include <vector>
class Action;
class Animation;
@@ -60,7 +59,7 @@ struct SpriteDisplay
std::string image;
std::string floor;
std::vector<SpriteReference*> sprites;
- std::vector<std::string> particles;
+ StringVect particles;
};
typedef std::vector<SpriteReference*>::const_iterator SpriteRefs;