diff options
author | Eugene Sandulenko | 2010-08-18 12:58:22 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-12 22:59:01 +0000 |
commit | b01994a53bbc96da907a4c28934e644184291017 (patch) | |
tree | 7454011b38391985e9f7ce6bca101f1394d127be /engines/sword25/gfx/animationresource.cpp | |
parent | 4c4e821326a3772ad59fee836eabd5175bbb84ca (diff) | |
download | scummvm-rg350-b01994a53bbc96da907a4c28934e644184291017.tar.gz scummvm-rg350-b01994a53bbc96da907a4c28934e644184291017.tar.bz2 scummvm-rg350-b01994a53bbc96da907a4c28934e644184291017.zip |
SWORD25: removed BS_ prefix from rest of the classes.
The things which are intentionally left with the prefix:
BS_LOG, BS_ASSERT, BS_Rect, BS_String.
svn-id: r53261
Diffstat (limited to 'engines/sword25/gfx/animationresource.cpp')
-rw-r--r-- | engines/sword25/gfx/animationresource.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sword25/gfx/animationresource.cpp b/engines/sword25/gfx/animationresource.cpp index 770c60f7ce..1803171304 100644 --- a/engines/sword25/gfx/animationresource.cpp +++ b/engines/sword25/gfx/animationresource.cpp @@ -65,10 +65,10 @@ const int MAX_FPS = 200; // ----------------------------------------------------------------------------- AnimationResource::AnimationResource(const Common::String &FileName) : - BS_Resource(FileName, BS_Resource::TYPE_ANIMATION), + Resource(FileName, Resource::TYPE_ANIMATION), m_Valid(false) { // Pointer auf den Package-Manager bekommen - PackageManager *PackagePtr = BS_Kernel::GetInstance()->GetPackage(); + PackageManager *PackagePtr = Kernel::GetInstance()->GetPackage(); BS_ASSERT(PackagePtr); // Animations-XML laden @@ -266,7 +266,7 @@ AnimationResource::~AnimationResource() { bool AnimationResource::PrecacheAllFrames() const { Common::Array<Frame>::const_iterator Iter = m_Frames.begin(); for (; Iter != m_Frames.end(); ++Iter) { - if (!BS_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; } @@ -289,7 +289,7 @@ bool AnimationResource::ComputeFeatures() { Common::Array<Frame>::const_iterator Iter = m_Frames.begin(); for (; Iter != m_Frames.end(); ++Iter) { BitmapResource *pBitmap; - if (!(pBitmap = static_cast<BitmapResource *>(BS_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; } |