2018-10-06 20:42:33 -07:00
|
|
|
#pragma once
|
2016-08-27 14:16:44 -07:00
|
|
|
|
2019-09-27 19:53:03 -07:00
|
|
|
#include <memory>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include "Runtime/Character/CAnimSysContext.hpp"
|
|
|
|
#include "Runtime/Character/CAnimTreeNode.hpp"
|
|
|
|
#include "Runtime/Character/CBoolPOINode.hpp"
|
|
|
|
#include "Runtime/Character/CInt32POINode.hpp"
|
|
|
|
#include "Runtime/Character/CParticlePOINode.hpp"
|
|
|
|
#include "Runtime/Character/CSoundPOINode.hpp"
|
2020-04-19 18:09:30 -07:00
|
|
|
#include "Runtime/Character/CTransitionDatabaseGame.hpp"
|
2016-08-27 14:16:44 -07:00
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
namespace metaforce {
|
2019-09-27 19:53:03 -07:00
|
|
|
class IMetaAnim;
|
2016-08-27 14:16:44 -07:00
|
|
|
|
2018-12-07 21:30:43 -08:00
|
|
|
class CSequenceFundamentals {
|
|
|
|
CSteadyStateAnimInfo x0_ssInfo;
|
|
|
|
std::vector<CBoolPOINode> x18_boolNodes;
|
|
|
|
std::vector<CInt32POINode> x28_int32Nodes;
|
|
|
|
std::vector<CParticlePOINode> x38_particleNodes;
|
|
|
|
std::vector<CSoundPOINode> x48_soundNodes;
|
|
|
|
|
2016-08-27 14:16:44 -07:00
|
|
|
public:
|
2020-03-09 08:45:53 -07:00
|
|
|
CSequenceFundamentals(const CSteadyStateAnimInfo& ssInfo, std::vector<CBoolPOINode> boolNodes,
|
|
|
|
std::vector<CInt32POINode> int32Nodes, std::vector<CParticlePOINode> particleNodes,
|
|
|
|
std::vector<CSoundPOINode> soundNodes);
|
2018-12-07 21:30:43 -08:00
|
|
|
|
|
|
|
const CSteadyStateAnimInfo& GetSteadyStateAnimInfo() const { return x0_ssInfo; }
|
|
|
|
const std::vector<CBoolPOINode>& GetBoolPointsOfInterest() const { return x18_boolNodes; }
|
|
|
|
const std::vector<CInt32POINode>& GetInt32PointsOfInterest() const { return x28_int32Nodes; }
|
|
|
|
const std::vector<CParticlePOINode>& GetParticlePointsOfInterest() const { return x38_particleNodes; }
|
|
|
|
const std::vector<CSoundPOINode>& GetSoundPointsOfInterest() const { return x48_soundNodes; }
|
2016-08-27 14:16:44 -07:00
|
|
|
};
|
|
|
|
|
2018-12-07 21:30:43 -08:00
|
|
|
class CSequenceHelper {
|
|
|
|
CAnimSysContext x0_animCtx;
|
|
|
|
std::vector<std::shared_ptr<CAnimTreeNode>> x10_treeNodes;
|
|
|
|
std::vector<bool> x20_;
|
|
|
|
|
2016-08-27 14:16:44 -07:00
|
|
|
public:
|
2018-12-07 21:30:43 -08:00
|
|
|
CSequenceHelper(const std::shared_ptr<CAnimTreeNode>& a, const std::shared_ptr<CAnimTreeNode>& b,
|
2020-03-09 08:45:53 -07:00
|
|
|
CAnimSysContext animCtx);
|
|
|
|
CSequenceHelper(const std::vector<std::shared_ptr<IMetaAnim>>& nodes, CAnimSysContext animCtx);
|
2018-12-07 21:30:43 -08:00
|
|
|
CSequenceFundamentals ComputeSequenceFundamentals();
|
2016-08-27 14:16:44 -07:00
|
|
|
};
|
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
} // namespace metaforce
|