forked from teamnwah/openmw-tes3coop
Remove unused stopLooping()
This commit is contained in:
parent
b0dc625b18
commit
0fd810707e
2 changed files with 0 additions and 14 deletions
|
|
@ -873,16 +873,6 @@ namespace MWRender
|
||||||
addControllers();
|
addControllers();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Animation::stopLooping(const std::string& groupname)
|
|
||||||
{
|
|
||||||
AnimStateMap::iterator stateiter = mStates.find(groupname);
|
|
||||||
if(stateiter != mStates.end())
|
|
||||||
{
|
|
||||||
stateiter->second.mLoopCount = 0;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void Animation::adjustSpeedMult(const std::string &groupname, float speedmult)
|
void Animation::adjustSpeedMult(const std::string &groupname, float speedmult)
|
||||||
{
|
{
|
||||||
AnimStateMap::iterator state(mStates.find(groupname));
|
AnimStateMap::iterator state(mStates.find(groupname));
|
||||||
|
|
|
||||||
|
|
@ -395,10 +395,6 @@ public:
|
||||||
float speedmult, const std::string &start, const std::string &stop,
|
float speedmult, const std::string &start, const std::string &stop,
|
||||||
float startpoint, size_t loops, bool loopfallback=false);
|
float startpoint, size_t loops, bool loopfallback=false);
|
||||||
|
|
||||||
/** If the given animation group is currently playing, set its remaining loop count to '0'.
|
|
||||||
*/
|
|
||||||
void stopLooping(const std::string& groupName);
|
|
||||||
|
|
||||||
/** Adjust the speed multiplier of an already playing animation.
|
/** Adjust the speed multiplier of an already playing animation.
|
||||||
*/
|
*/
|
||||||
void adjustSpeedMult (const std::string& groupname, float speedmult);
|
void adjustSpeedMult (const std::string& groupname, float speedmult);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue