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