diff options
| author | Eugene Sandulenko | 2010-10-19 21:03:33 +0000 | 
|---|---|---|
| committer | Eugene Sandulenko | 2010-10-19 21:03:33 +0000 | 
| commit | 6629efc676ca48e958dcfa0ee4e66e6aba1c6597 (patch) | |
| tree | 3e76022f90ca9590c1ec376fc436461eaeee11ef /engines/sword25/gfx/animationresource.cpp | |
| parent | ae78107e2a8732977313e208f1d08e65d50ec8e8 (diff) | |
| download | scummvm-rg350-6629efc676ca48e958dcfa0ee4e66e6aba1c6597.tar.gz scummvm-rg350-6629efc676ca48e958dcfa0ee4e66e6aba1c6597.tar.bz2 scummvm-rg350-6629efc676ca48e958dcfa0ee4e66e6aba1c6597.zip | |
SWORD25: Enforced code formatting rules in rest of the engine
svn-id: r53626
Diffstat (limited to 'engines/sword25/gfx/animationresource.cpp')
| -rw-r--r-- | engines/sword25/gfx/animationresource.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| 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<Frame>::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<Frame>::const_iterator iter = _frames.begin();  	for (; iter != _frames.end(); ++iter) {  		BitmapResource *pBitmap; -		if (!(pBitmap = static_cast<BitmapResource *>(Kernel::GetInstance()->GetResourceManager()->RequestResource((*iter).fileName)))) { +		if (!(pBitmap = static_cast<BitmapResource *>(Kernel::getInstance()->getResourceManager()->requestResource((*iter).fileName)))) {  			BS_LOG_ERRORLN("Could not request \"%s\".", (*iter).fileName.c_str());  			return false;  		} | 
