diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-19 12:42:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-19 12:42:17 +0300 |
commit | b0659d030bf850c68acb83c8b6e7807c1fcac975 (patch) | |
tree | 68d9643d3f066b035f10b952a8cc3207ff82cd85 /src/resources/spritedef.h | |
parent | 0d6ca48b79a596bec11fc7351fadbf3b1fc1f67b (diff) | |
download | manaplus-b0659d030bf850c68acb83c8b6e7807c1fcac975.tar.gz manaplus-b0659d030bf850c68acb83c8b6e7807c1fcac975.tar.bz2 manaplus-b0659d030bf850c68acb83c8b6e7807c1fcac975.tar.xz manaplus-b0659d030bf850c68acb83c8b6e7807c1fcac975.zip |
Move spritereference into separate file.
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r-- | src/resources/spritedef.h | 19 |
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 { |