summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-19 12:42:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-19 12:42:17 +0300
commitb0659d030bf850c68acb83c8b6e7807c1fcac975 (patch)
tree68d9643d3f066b035f10b952a8cc3207ff82cd85 /src/resources/spritedef.h
parent0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b (diff)
downloadmv-b0659d030bf850c68acb83c8b6e7807c1fcac975.tar.gz
mv-b0659d030bf850c68acb83c8b6e7807c1fcac975.tar.bz2
mv-b0659d030bf850c68acb83c8b6e7807c1fcac975.tar.xz
mv-b0659d030bf850c68acb83c8b6e7807c1fcac975.zip
Move spritereference into separate file.
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r--src/resources/spritedef.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index b9f5d2b19..a77ce8411 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -36,24 +36,7 @@ class Action;
class Animation;
class ImageSet;
-struct SpriteReference final
-{
- static SpriteReference *Empty;
-
- SpriteReference():
- sprite(""), variant(0)
- {}
-
- SpriteReference(const std::string &sprite0, const int variant0) :
- sprite(sprite0), variant(variant0)
- {
- }
-
- A_DELETE_COPY(SpriteReference)
-
- std::string sprite;
- int variant;
-};
+struct SpriteReference;
struct SpriteDisplay final
{