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.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index 3aa6369dd..0490bdcb3 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -2,7 +2,7 @@
* The ManaPlus Client
* Copyright (C) 2004-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
- * Copyright (C) 2011 The ManaPlus Developers
+ * Copyright (C) 2011-2012 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
@@ -25,7 +25,7 @@
#include "resources/resource.h"
-#include <libxml/tree.h>
+#include "utils/xml.h"
#include <list>
#include <map>
@@ -145,30 +145,30 @@ class SpriteDef : public Resource
/**
* Loads a sprite element.
*/
- void loadSprite(xmlNodePtr spriteNode, int variant,
+ void loadSprite(XmlNodePtr spriteNode, int variant,
const std::string &palettes = "");
/**
* Loads an imageset element.
*/
- void loadImageSet(xmlNodePtr node, const std::string &palettes);
+ void loadImageSet(XmlNodePtr node, const std::string &palettes);
/**
* Loads an action element.
*/
- void loadAction(xmlNodePtr node, int variant_offset);
+ void loadAction(XmlNodePtr node, int variant_offset);
/**
* Loads an animation element.
*/
- void loadAnimation(xmlNodePtr animationNode,
+ void loadAnimation(XmlNodePtr animationNode,
Action *action, ImageSet *imageSet,
int variant_offset);
/**
* Include another sprite into this one.
*/
- void includeSprite(xmlNodePtr includeNode);
+ void includeSprite(XmlNodePtr includeNode);
/**
* Complete missing actions by copying existing ones.