summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-30 23:14:59 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-01 02:08:53 +0300
commit32014de9008efe051a1a8b05e5e976a4629b34d2 (patch)
tree694b93739685b8b8462c7f602b8ae693be5e65bf /src/resources/spritedef.h
parent5c260f683e26529d7cf02c12c1fff70a7a7e5eb8 (diff)
downloadmanaverse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.gz
manaverse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.bz2
manaverse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.xz
manaverse-32014de9008efe051a1a8b05e5e976a4629b34d2.zip
Replace some lists to vectors.
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r--src/resources/spritedef.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index 424d88869..475ab2e25 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -30,6 +30,7 @@
#include <list>
#include <map>
#include <string>
+#include <vector>
class Action;
class ImageSet;
@@ -56,11 +57,11 @@ struct SpriteDisplay
{
std::string image;
std::string floor;
- std::list<SpriteReference*> sprites;
- std::list<std::string> particles;
+ std::vector<SpriteReference*> sprites;
+ std::vector<std::string> particles;
};
-typedef std::list<SpriteReference*>::const_iterator SpriteRefs;
+typedef std::vector<SpriteReference*>::const_iterator SpriteRefs;
/*
* Remember those are the main action.