mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
Several CAnimData integrations
This commit is contained in:
@@ -8,6 +8,31 @@ namespace urde
|
||||
|
||||
class CAnimTreeTweenBase : public CAnimTreeDoubleChild
|
||||
{
|
||||
int x1c_flags;
|
||||
bool x20_31_b1;
|
||||
bool x20_30_b2 = false;
|
||||
public:
|
||||
CAnimTreeTweenBase(bool,
|
||||
const std::shared_ptr<CAnimTreeNode>& a,
|
||||
const std::shared_ptr<CAnimTreeNode>& b,
|
||||
int, const std::string& name);
|
||||
|
||||
virtual void SetBlendingWeight(float w)=0;
|
||||
virtual float VGetBlendingWeight() const=0;
|
||||
|
||||
float GetBlendingWeight() const { return VGetBlendingWeight(); }
|
||||
|
||||
float VGetLeftChildWeight() const { return 1.f - GetBlendingWeight(); }
|
||||
float VGetRightChildWeight() const { return GetBlendingWeight(); }
|
||||
|
||||
void VGetSegStatementSet(const CSegIdList& list, CSegStatementSet& setOut) const;
|
||||
void VGetSegStatementSet(const CSegIdList& list, CSegStatementSet& setOut, const CCharAnimTime& time) const;
|
||||
bool VHasOffset(const CSegId& seg) const;
|
||||
zeus::CVector3f VGetOffset(const CSegId& seg) const;
|
||||
zeus::CQuaternion VGetRotation(const CSegId& seg) const;
|
||||
|
||||
std::shared_ptr<IAnimReader> VSimplified();
|
||||
bool ShouldCullTree() const { return false; }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user