diff options
author | Max Horn | 2010-10-13 15:41:00 +0000 |
---|---|---|
committer | Max Horn | 2010-10-13 15:41:00 +0000 |
commit | 8f4f0d16fc4e5cd4803203f2aaeb0ddc99e57204 (patch) | |
tree | b39380c6702b11d88ba2b95d7d0db9fc9afd62d9 /engines/sword25/gfx/animationtemplate.cpp | |
parent | 17f9913a2419c558276a191be07a45ba8f8fc87f (diff) | |
download | scummvm-rg350-8f4f0d16fc4e5cd4803203f2aaeb0ddc99e57204.tar.gz scummvm-rg350-8f4f0d16fc4e5cd4803203f2aaeb0ddc99e57204.tar.bz2 scummvm-rg350-8f4f0d16fc4e5cd4803203f2aaeb0ddc99e57204.zip |
SWORD25: Renamed getInstance() -> instance()
svn-id: r53430
Diffstat (limited to 'engines/sword25/gfx/animationtemplate.cpp')
-rw-r--r-- | engines/sword25/gfx/animationtemplate.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/sword25/gfx/animationtemplate.cpp b/engines/sword25/gfx/animationtemplate.cpp index 2019d19565..c2dba550d7 100644 --- a/engines/sword25/gfx/animationtemplate.cpp +++ b/engines/sword25/gfx/animationtemplate.cpp @@ -49,7 +49,7 @@ uint AnimationTemplate::create(const Common::String &sourceAnimation) { AnimationTemplate *animationTemplatePtr = new AnimationTemplate(sourceAnimation); if (animationTemplatePtr->isValid()) { - return AnimationTemplateRegistry::getInstance().resolvePtr(animationTemplatePtr); + return AnimationTemplateRegistry::instance().resolvePtr(animationTemplatePtr); } else { delete animationTemplatePtr; return 0; @@ -60,7 +60,7 @@ uint AnimationTemplate::create(const AnimationTemplate &other) { AnimationTemplate *animationTemplatePtr = new AnimationTemplate(other); if (animationTemplatePtr->isValid()) { - return AnimationTemplateRegistry::getInstance().resolvePtr(animationTemplatePtr); + return AnimationTemplateRegistry::instance().resolvePtr(animationTemplatePtr); } else { delete animationTemplatePtr; return 0; @@ -71,7 +71,7 @@ uint AnimationTemplate::create(InputPersistenceBlock &reader, uint handle) { AnimationTemplate *animationTemplatePtr = new AnimationTemplate(reader, handle); if (animationTemplatePtr->isValid()) { - return AnimationTemplateRegistry::getInstance().resolvePtr(animationTemplatePtr); + return AnimationTemplateRegistry::instance().resolvePtr(animationTemplatePtr); } else { delete animationTemplatePtr; return 0; @@ -80,7 +80,7 @@ uint AnimationTemplate::create(InputPersistenceBlock &reader, uint handle) { AnimationTemplate::AnimationTemplate(const Common::String &sourceAnimation) { // Objekt registrieren. - AnimationTemplateRegistry::getInstance().registerObject(this); + AnimationTemplateRegistry::instance().registerObject(this); _valid = false; @@ -93,7 +93,7 @@ AnimationTemplate::AnimationTemplate(const Common::String &sourceAnimation) { AnimationTemplate::AnimationTemplate(const AnimationTemplate &other) : AnimationDescription() { // Objekt registrieren. - AnimationTemplateRegistry::getInstance().registerObject(this); + AnimationTemplateRegistry::instance().registerObject(this); _valid = false; @@ -118,7 +118,7 @@ AnimationTemplate::AnimationTemplate(const AnimationTemplate &other) : Animation AnimationTemplate::AnimationTemplate(InputPersistenceBlock &reader, uint handle) { // Objekt registrieren. - AnimationTemplateRegistry::getInstance().registerObject(this, handle); + AnimationTemplateRegistry::instance().registerObject(this, handle); // Objekt laden. _valid = unpersist(reader); @@ -141,7 +141,7 @@ AnimationTemplate::~AnimationTemplate() { } // Objekt deregistrieren - AnimationTemplateRegistry::getInstance().deregisterObject(this); + AnimationTemplateRegistry::instance().deregisterObject(this); } void AnimationTemplate::addFrame(int index) { |