From 6629efc676ca48e958dcfa0ee4e66e6aba1c6597 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 19 Oct 2010 21:03:33 +0000 Subject: SWORD25: Enforced code formatting rules in rest of the engine svn-id: r53626 --- engines/sword25/gfx/animationresource.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/sword25/gfx/animationresource.cpp') diff --git a/engines/sword25/gfx/animationresource.cpp b/engines/sword25/gfx/animationresource.cpp index 6609725c1b..8268ba9c46 100644 --- a/engines/sword25/gfx/animationresource.cpp +++ b/engines/sword25/gfx/animationresource.cpp @@ -54,7 +54,7 @@ AnimationResource::AnimationResource(const Common::String &filename) : Common::XMLParser(), _valid(false) { // Get a pointer to the package manager - _pPackage = Kernel::GetInstance()->GetPackage(); + _pPackage = Kernel::getInstance()->getPackage(); BS_ASSERT(_pPackage); // Switch to the folder the specified Xml fiile is in @@ -211,7 +211,7 @@ AnimationResource::~AnimationResource() { bool AnimationResource::precacheAllFrames() const { Common::Array::const_iterator iter = _frames.begin(); for (; iter != _frames.end(); ++iter) { - if (!Kernel::GetInstance()->GetResourceManager()->PrecacheResource((*iter).fileName)) { + if (!Kernel::getInstance()->getResourceManager()->precacheResource((*iter).fileName)) { BS_LOG_ERRORLN("Could not precache \"%s\".", (*iter).fileName.c_str()); return false; } @@ -232,7 +232,7 @@ bool AnimationResource::computeFeatures() { Common::Array::const_iterator iter = _frames.begin(); for (; iter != _frames.end(); ++iter) { BitmapResource *pBitmap; - if (!(pBitmap = static_cast(Kernel::GetInstance()->GetResourceManager()->RequestResource((*iter).fileName)))) { + if (!(pBitmap = static_cast(Kernel::getInstance()->getResourceManager()->requestResource((*iter).fileName)))) { BS_LOG_ERRORLN("Could not request \"%s\".", (*iter).fileName.c_str()); return false; } -- cgit v1.2.3