metaforce/Runtime/Character/CAnimTreeTimeScale.hpp

28 lines
769 B
C++
Raw Normal View History

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 "CTimeScaleFunctions.hpp"
2016-09-14 05:45:46 +00:00
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
{
std::shared_ptr<CConstantAnimationTimeScale> x18_timeScale;
2016-09-14 05:45:46 +00:00
CCharAnimTime x20_;
CCharAnimTime x28_;
public:
2017-11-13 06:19:18 +00:00
CAnimTreeTimeScale(const std::weak_ptr<CAnimTreeNode>&, float, std::string_view);
2016-09-14 05:45:46 +00:00
static std::string CreatePrimitiveName(const std::weak_ptr<CAnimTreeNode>&, float, const CCharAnimTime&, float);
CCharAnimTime GetRealLifeTime(const CCharAnimTime&) const;
void VSetPhase(float);
std::experimental::optional<std::unique_ptr<IAnimReader>> VSimplified();
2016-04-10 21:22:59 +00:00
};
}
2016-04-13 06:07:23 +00:00
#endif // __URDE_CANIMTREETIMESCALE_HPP__