MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / dump

Method dump

CryAnimation/CryModEffAnimation.cpp:561–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559}
560
561string CCryModEffAnimation::dump()
562{
563 CryModelAnimationContainer* pAnimations = m_pParent->getAnimationSet();
564 const AnimData& rAnim = pAnimations->getAnimation(m_nAnimId);
565 string strResult;
566 char szBuf[0x100];
567 strResult += "main \"" + rAnim.strName + "\"";
568 sprintf (szBuf, " t=%.2f", m_fAnimTime);
569 strResult += szBuf;
570 if (!m_arrFadeAnims.empty())
571 {
572 strResult += ", fade";
573 for (FadingAnimArray::iterator it = m_arrFadeAnims.begin(); it != m_arrFadeAnims.end(); ++it)
574 {
575 const AnimData& fadeAnim = pAnimations->getAnimation(it->nAnimId);
576 sprintf (szBuf, " \"%s\" (t=%.2f b=%.2f)", fadeAnim.strName.c_str(), it->fTime, it->fBlending);
577 strResult += szBuf;
578 }
579 }
580 return strResult;
581}
582
583void CCryModEffAnimation::deinitClass()
584{

Callers 2

ProcessAnimationsMethod · 0.45
DumpStateMethod · 0.45

Calls 4

emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected