mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 03:07:41 +00:00
Various bug fixes and CAnimTree implementations
This commit is contained in:
@@ -10,24 +10,30 @@ namespace urde
|
||||
class CAnimTreeTransition : public CAnimTreeTweenBase
|
||||
{
|
||||
protected:
|
||||
CCharAnimTime x24_;
|
||||
CCharAnimTime x2c_;
|
||||
bool x34_;
|
||||
bool x35_;
|
||||
CCharAnimTime x24_transDur;
|
||||
CCharAnimTime x2c_timeInTrans;
|
||||
bool x34_runA;
|
||||
bool x35_loopA;
|
||||
bool x36_ = false;
|
||||
SAdvancementResults AdvanceViewForTransitionalPeriod(const CCharAnimTime& time);
|
||||
public:
|
||||
static std::string CreatePrimitiveName(const std::weak_ptr<CAnimTreeNode>&, const std::weak_ptr<CAnimTreeNode>&,
|
||||
float);
|
||||
|
||||
CAnimTreeTransition(bool, const std::weak_ptr<CAnimTreeNode>&, const std::weak_ptr<CAnimTreeNode>&,
|
||||
const CCharAnimTime&, const CCharAnimTime&, bool, bool, int, std::string_view, bool);
|
||||
CAnimTreeTransition(bool, const std::weak_ptr<CAnimTreeNode>&, const std::weak_ptr<CAnimTreeNode>&,
|
||||
const CCharAnimTime&, bool, int, std::string_view);
|
||||
CAnimTreeTransition(bool b1, const std::weak_ptr<CAnimTreeNode>& a,
|
||||
const std::weak_ptr<CAnimTreeNode>& b, const CCharAnimTime& transDur,
|
||||
const CCharAnimTime& timeInTrans, bool runA, bool loopA, int flags,
|
||||
std::string_view name, bool b4);
|
||||
CAnimTreeTransition(bool b1, const std::weak_ptr<CAnimTreeNode>& a,
|
||||
const std::weak_ptr<CAnimTreeNode>& b,
|
||||
const CCharAnimTime& transDur, bool runA,
|
||||
int flags, std::string_view name);
|
||||
std::shared_ptr<IAnimReader> VGetBestUnblendedChild() const;
|
||||
CCharAnimTime VGetTimeRemaining() const;
|
||||
CSteadyStateAnimInfo VGetSteadyStateAnimInfo() const;
|
||||
std::unique_ptr<IAnimReader> VClone() const;
|
||||
SAdvancementResults VAdvanceView(const CCharAnimTime& a) const;
|
||||
std::experimental::optional<std::unique_ptr<IAnimReader>> VSimplified();
|
||||
SAdvancementResults VAdvanceView(const CCharAnimTime& a);
|
||||
void SetBlendingWeight(float w);
|
||||
float VGetBlendingWeight() const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user