From 8582c1ad5770b6385381f524a4610934d115cd88 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 25 Sep 2010 19:48:26 +0000 Subject: SWORD25: Enforse code naming conventions in PackageManager and Sword25Engine svn-id: r53380 --- engines/sword25/gfx/animationresource.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/sword25/gfx/animationresource.cpp') diff --git a/engines/sword25/gfx/animationresource.cpp b/engines/sword25/gfx/animationresource.cpp index 6a1e3d4f2c..4a6bfc34db 100644 --- a/engines/sword25/gfx/animationresource.cpp +++ b/engines/sword25/gfx/animationresource.cpp @@ -73,15 +73,15 @@ AnimationResource::AnimationResource(const Common::String &filename) : BS_ASSERT(_pPackage); // Switch to the folder the specified Xml fiile is in - Common::String oldDirectory = _pPackage->GetCurrentDirectory(); + Common::String oldDirectory = _pPackage->getCurrentDirectory(); if (getFileName().contains('/')) { Common::String dir = Common::String(getFileName().c_str(), strrchr(getFileName().c_str(), '/')); - _pPackage->ChangeDirectory(dir); + _pPackage->changeDirectory(dir); } // Load the contents of the file uint fileSize; - char *xmlData = _pPackage->GetXmlFile(getFileName(), &fileSize); + char *xmlData = _pPackage->getXmlFile(getFileName(), &fileSize); if (!xmlData) { BS_LOG_ERRORLN("Could not read \"%s\".", getFileName().c_str()); return; @@ -96,7 +96,7 @@ AnimationResource::AnimationResource(const Common::String &filename) : free(xmlData); // Switch back to the previous folder - _pPackage->ChangeDirectory(oldDirectory); + _pPackage->changeDirectory(oldDirectory); // Give an error message if there weren't any frames specified if (_frames.empty()) { @@ -172,7 +172,7 @@ bool AnimationResource::parserCallback_frame(ParserNode *node) { BS_LOG_ERRORLN(" tag without file attribute occurred in \"%s\".", getFileName().c_str()); return false; } - frame.FileName = _pPackage->GetAbsolutePath(fileString); + frame.FileName = _pPackage->getAbsolutePath(fileString); if (frame.FileName.empty()) { BS_LOG_ERRORLN("Could not create absolute path for file specified in tag in \"%s\": \"%s\".", getFileName().c_str(), fileString); -- cgit v1.2.3