diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-07 09:02:38 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-07 09:02:38 +0000 |
commit | f25d5640eba5b1a0bbbc050a858aa4cdbdffdc7f (patch) | |
tree | b4e375546f62098054c9ecc162951ccad185017d /src/resources/spritedef.h | |
parent | 64d58b9a7e057e6d829107678b1570082be1093f (diff) | |
download | mana-f25d5640eba5b1a0bbbc050a858aa4cdbdffdc7f.tar.gz mana-f25d5640eba5b1a0bbbc050a858aa4cdbdffdc7f.tar.bz2 mana-f25d5640eba5b1a0bbbc050a858aa4cdbdffdc7f.tar.xz mana-f25d5640eba5b1a0bbbc050a858aa4cdbdffdc7f.zip |
Added support for basing one sprite definition on another by including it.
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r-- | src/resources/spritedef.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h index c94e38f6..e9946a7a 100644 --- a/src/resources/spritedef.h +++ b/src/resources/spritedef.h @@ -108,6 +108,12 @@ class SpriteDef : public Resource ~SpriteDef(); /** + * Loads a sprite element. + */ + void loadSprite(xmlNodePtr spriteNode, int variant, + const std::string &palettes = ""); + + /** * Loads an imageset element. */ void loadImageSet(xmlNodePtr node, std::string const &palettes); |