metaforce/Runtime/Character/CAnimTreeTransition.hpp

37 lines
1.3 KiB
C++
Raw Normal View History

2016-04-13 06:07:23 +00:00
#ifndef __URDE_CANIMTREETRANSITION_HPP__
#define __URDE_CANIMTREETRANSITION_HPP__
2016-04-10 21:22:59 +00:00
2016-04-11 03:59:54 +00:00
#include "RetroTypes.hpp"
#include "CAnimTreeTweenBase.hpp"
2016-04-10 21:22:59 +00:00
namespace urde
{
2016-04-11 03:59:54 +00:00
class CAnimTreeTransition : public CAnimTreeTweenBase
2016-04-10 21:22:59 +00:00
{
2016-09-10 04:50:00 +00:00
protected:
CCharAnimTime x24_;
CCharAnimTime x2c_;
bool x34_;
bool x35_;
bool x36_ = false;
2016-04-11 03:59:54 +00:00
public:
2016-09-10 04:50:00 +00:00
static std::string CreatePrimitiveName(const std::weak_ptr<CAnimTreeNode>&, const std::weak_ptr<CAnimTreeNode>&,
float);
2016-04-10 21:22:59 +00:00
2016-09-10 04:50:00 +00:00
CAnimTreeTransition(bool, const std::weak_ptr<CAnimTreeNode>&, const std::weak_ptr<CAnimTreeNode>&,
const CCharAnimTime&, const CCharAnimTime&, bool, bool, int, const std::string&, bool);
CAnimTreeTransition(bool, const std::weak_ptr<CAnimTreeNode>&, const std::weak_ptr<CAnimTreeNode>&,
const CCharAnimTime&, bool, int, const std::string&);
2016-09-11 18:40:33 +00:00
std::shared_ptr<IAnimReader> VGetBestUnblendedChild() const;
2016-09-10 04:50:00 +00:00
CCharAnimTime VGetTimeRemaining() const;
CSteadyStateAnimInfo VGetSteadyStateAnimInfo() const;
std::shared_ptr<IAnimReader> VClone() const;
2016-09-11 18:40:33 +00:00
SAdvancementResults VAdvanceView(const CCharAnimTime& a) const;
2016-09-10 04:50:00 +00:00
void SetBlendingWeight(float w);
float VGetBlendingWeight() const;
};
2016-04-10 21:22:59 +00:00
}
2016-04-13 06:07:23 +00:00
#endif // __URDE_CANIMTREETRANSITION_HPP__