summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-16 01:47:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-16 01:47:17 +0300
commitb293d99a34d21d137374e46386b8669907cb3c1d (patch)
tree7e5e20e2b81e239878c13229c4d02139e8b85c2b /src/resources/spritedef.h
parent34f943198afd1f7f342d63bd70d30cdeacd3dbad (diff)
downloadmanaplus-b293d99a34d21d137374e46386b8669907cb3c1d.tar.gz
manaplus-b293d99a34d21d137374e46386b8669907cb3c1d.tar.bz2
manaplus-b293d99a34d21d137374e46386b8669907cb3c1d.tar.xz
manaplus-b293d99a34d21d137374e46386b8669907cb3c1d.zip
add missing const in xmlnode pointers.
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r--src/resources/spritedef.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index fe84096c3..ecedde507 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -185,18 +185,21 @@ class SpriteDef final : public Resource
/**
* Loads a sprite element.
*/
- void loadSprite(const XmlNodePtr spriteNode, const int variant,
+ void loadSprite(const XmlNodePtr spriteNode,
+ const int variant,
const std::string &palettes = "");
/**
* Loads an imageset element.
*/
- void loadImageSet(const XmlNodePtr node, const std::string &palettes);
+ void loadImageSet(const XmlNodePtr node,
+ const std::string &palettes);
/**
* Loads an action element.
*/
- void loadAction(const XmlNodePtr node, const int variant_offset);
+ void loadAction(const XmlNodePtr node,
+ const int variant_offset);
/**
* Loads an animation element.