2016-04-13 06:07:23 +00:00
|
|
|
#ifndef __URDE_CANIMTREETIMESCALE_HPP__
|
|
|
|
#define __URDE_CANIMTREETIMESCALE_HPP__
|
2016-04-10 21:22:59 +00:00
|
|
|
|
2016-09-14 05:45:46 +00:00
|
|
|
#include "CAnimTreeSingleChild.hpp"
|
|
|
|
#include "CConstantAnimationTimeScale.hpp"
|
|
|
|
|
2016-04-10 21:22:59 +00:00
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
2016-09-14 05:45:46 +00:00
|
|
|
class CAnimTreeTimeScale : public CAnimTreeSingleChild
|
2016-04-10 21:22:59 +00:00
|
|
|
{
|
2016-09-14 05:45:46 +00:00
|
|
|
std::unique_ptr<CConstantAnimationTimeScale> x18_timeScale;
|
|
|
|
CCharAnimTime x20_;
|
|
|
|
CCharAnimTime x28_;
|
|
|
|
public:
|
|
|
|
CAnimTreeTimeScale(const std::weak_ptr<CAnimTreeNode>&, float, const std::string&);
|
|
|
|
|
|
|
|
static std::string CreatePrimitiveName(const std::weak_ptr<CAnimTreeNode>&, float, const CCharAnimTime&, float);
|
|
|
|
|
|
|
|
CCharAnimTime GetRealLifeTime(const CCharAnimTime&) const;
|
|
|
|
void VSetPhase(float);
|
2017-03-01 06:02:54 +00:00
|
|
|
std::pair<std::unique_ptr<IAnimReader>, bool> VSimplified();
|
2016-04-10 21:22:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CANIMTREETIMESCALE_HPP__
|