mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-03 15:15:34 +00:00
Remove a no longer required method
This commit is contained in:
parent
00af6b5617
commit
f7befa3e54
5 changed files with 0 additions and 27 deletions
|
@ -414,8 +414,6 @@ namespace MWBase
|
|||
|
||||
virtual void castSpell (const MWWorld::Ptr& actor) = 0;
|
||||
|
||||
virtual void updateAnimParts(const MWWorld::Ptr& ptr) = 0;
|
||||
|
||||
virtual void launchProjectile (const std::string& id, const ESM::EffectList& effects,
|
||||
const MWWorld::Ptr& actor, const std::string& sourceName) = 0;
|
||||
};
|
||||
|
|
|
@ -327,20 +327,6 @@ void RenderingManager::rebuildPtr(const MWWorld::Ptr &ptr)
|
|||
}
|
||||
}
|
||||
|
||||
void RenderingManager::updateAnimParts(const MWWorld::Ptr& ptr)
|
||||
{
|
||||
NpcAnimation *anim = NULL;
|
||||
|
||||
if(ptr.getRefData().getHandle() == "player")
|
||||
anim = mPlayerAnimation;
|
||||
else if(MWWorld::Class::get(ptr).isActor())
|
||||
anim = dynamic_cast<NpcAnimation*>(mActors.getAnimation(ptr));
|
||||
|
||||
assert(anim);
|
||||
if(anim)
|
||||
anim->updateParts();
|
||||
}
|
||||
|
||||
void RenderingManager::update (float duration, bool paused)
|
||||
{
|
||||
MWBase::World *world = MWBase::Environment::get().getWorld();
|
||||
|
|
|
@ -141,9 +141,6 @@ public:
|
|||
/// and equipment.
|
||||
void rebuildPtr(const MWWorld::Ptr &ptr);
|
||||
|
||||
/// Update actor model parts.
|
||||
void updateAnimParts(const MWWorld::Ptr &ptr);
|
||||
|
||||
void update (float duration, bool paused);
|
||||
|
||||
void setAmbientColour(const Ogre::ColourValue& colour);
|
||||
|
|
|
@ -2246,10 +2246,4 @@ namespace MWWorld
|
|||
++it;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void World::updateAnimParts(const Ptr& actor)
|
||||
{
|
||||
mRendering->updateAnimParts(actor);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -490,8 +490,6 @@ namespace MWWorld
|
|||
|
||||
virtual void castSpell (const MWWorld::Ptr& actor);
|
||||
|
||||
virtual void updateAnimParts(const MWWorld::Ptr& ptr);
|
||||
|
||||
virtual void launchProjectile (const std::string& id, const ESM::EffectList& effects,
|
||||
const MWWorld::Ptr& actor, const std::string& sourceName);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue