2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-09-04 02:27:35 +00:00
|
|
|
|
2019-09-28 02:53:03 +00:00
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
#include "Runtime/RetroTypes.hpp"
|
2016-09-04 02:27:35 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
2016-09-04 02:27:35 +00:00
|
|
|
class CAnimTreeNode;
|
2016-09-11 01:25:59 +00:00
|
|
|
struct CAnimSysContext;
|
2016-09-04 02:27:35 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class CTreeUtils {
|
2016-09-04 02:27:35 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
static std::shared_ptr<CAnimTreeNode> GetTransitionTree(const std::weak_ptr<CAnimTreeNode>& a,
|
|
|
|
const std::weak_ptr<CAnimTreeNode>& b,
|
|
|
|
const CAnimSysContext& animCtx);
|
2016-09-04 02:27:35 +00:00
|
|
|
};
|
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|