summaryrefslogtreecommitdiff
path: root/src/simpleanimation.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-10 18:58:54 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-10 18:58:54 +0300
commit793a119a7a36f9680dad108e75075c8c4bd4a0d0 (patch)
treef995b989135dda75bcd45d8214571b4b4ed4e871 /src/simpleanimation.cpp
parentbad730dd0de24b2b17b91922c0c7f2b31b7b4d9b (diff)
downloadmv-793a119a7a36f9680dad108e75075c8c4bd4a0d0.tar.gz
mv-793a119a7a36f9680dad108e75075c8c4bd4a0d0.tar.bz2
mv-793a119a7a36f9680dad108e75075c8c4bd4a0d0.tar.xz
mv-793a119a7a36f9680dad108e75075c8c4bd4a0d0.zip
Replace all xmlNodePtr to XmlNodePtr.
Diffstat (limited to 'src/simpleanimation.cpp')
-rw-r--r--src/simpleanimation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/simpleanimation.cpp b/src/simpleanimation.cpp
index 5de9813fd..f0002b47e 100644
--- a/src/simpleanimation.cpp
+++ b/src/simpleanimation.cpp
@@ -44,7 +44,7 @@ SimpleAnimation::SimpleAnimation(Animation *animation):
{
}
-SimpleAnimation::SimpleAnimation(xmlNodePtr animationNode,
+SimpleAnimation::SimpleAnimation(XmlNodePtr animationNode,
const std::string& dyePalettes):
mAnimation(new Animation),
mAnimationTime(0),
@@ -136,7 +136,7 @@ Image *SimpleAnimation::getCurrentImage() const
return nullptr;
}
-void SimpleAnimation::initializeAnimation(xmlNodePtr animationNode,
+void SimpleAnimation::initializeAnimation(XmlNodePtr animationNode,
const std::string& dyePalettes)
{
mInitialized = false;
@@ -161,7 +161,7 @@ void SimpleAnimation::initializeAnimation(xmlNodePtr animationNode,
return;
// Get animation frames
- for (xmlNodePtr frameNode = animationNode->xmlChildrenNode;
+ for (XmlNodePtr frameNode = animationNode->xmlChildrenNode;
frameNode; frameNode = frameNode->next)
{
int delay = XML::getProperty(frameNode, "delay", 0);