summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r--src/resources/spritedef.h6
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);