2018-10-06 20:42:33 -07:00
|
|
|
#pragma once
|
2016-04-10 14:22:59 -07:00
|
|
|
|
2019-09-27 19:53:03 -07:00
|
|
|
#include <memory>
|
|
|
|
|
2022-02-19 05:04:45 -08:00
|
|
|
#include "Runtime/Streams/IOStreams.hpp"
|
2019-09-27 19:53:03 -07:00
|
|
|
#include "Runtime/Character/IMetaAnim.hpp"
|
2016-04-10 14:22:59 -07:00
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
namespace metaforce {
|
2018-12-07 21:30:43 -08:00
|
|
|
|
|
|
|
class CMetaAnimBlend : public IMetaAnim {
|
|
|
|
std::shared_ptr<IMetaAnim> x4_animA;
|
|
|
|
std::shared_ptr<IMetaAnim> x8_animB;
|
|
|
|
float xc_blend;
|
|
|
|
bool x10_;
|
2016-04-10 14:22:59 -07:00
|
|
|
|
|
|
|
public:
|
2020-03-30 20:52:22 -07:00
|
|
|
explicit CMetaAnimBlend(CInputStream& in);
|
2019-08-09 12:46:49 -07:00
|
|
|
EMetaAnimType GetType() const override { return EMetaAnimType::Blend; }
|
2016-04-10 14:22:59 -07:00
|
|
|
|
2019-08-09 12:46:49 -07:00
|
|
|
void GetUniquePrimitives(std::set<CPrimitive>& primsOut) const override;
|
2018-12-07 21:30:43 -08:00
|
|
|
std::shared_ptr<CAnimTreeNode> VGetAnimationTree(const CAnimSysContext& animSys,
|
2019-08-09 12:46:49 -07:00
|
|
|
const CMetaAnimTreeBuildOrders& orders) const override;
|
2016-04-10 14:22:59 -07:00
|
|
|
};
|
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
} // namespace metaforce
|