2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 22:31:21 +00:00
metaforce/Runtime/Character/CMetaAnimRandom.hpp
Lioncash a633b8e8fd General: Normalize RuntimeCommon include paths
Performs the same normalizing done to the RuntimeCommonB target, now all
of the runtime headers have normalized include paths.
2019-09-28 04:14:29 -04:00

27 lines
781 B
C++

#pragma once
#include <memory>
#include <utility>
#include <vector>
#include "Runtime/IOStreams.hpp"
#include "Runtime/Character/IMetaAnim.hpp"
namespace urde {
class CMetaAnimRandom : public IMetaAnim {
using RandomData = std::vector<std::pair<std::shared_ptr<IMetaAnim>, u32>>;
RandomData x4_randomData;
static RandomData CreateRandomData(CInputStream& in);
public:
CMetaAnimRandom(CInputStream& in);
EMetaAnimType GetType() const override { return EMetaAnimType::Random; }
void GetUniquePrimitives(std::set<CPrimitive>& primsOut) const override;
std::shared_ptr<CAnimTreeNode> VGetAnimationTree(const CAnimSysContext& animSys,
const CMetaAnimTreeBuildOrders& orders) const override;
};
} // namespace urde