2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-14 12:31:22 +00:00
metaforce/Runtime/Character/CTransitionDatabaseGame.hpp
2018-10-06 17:42:33 -10:00

24 lines
719 B
C++

#pragma once
#include "CTransitionDatabase.hpp"
namespace urde
{
class CTransition;
class CHalfTransition;
class CTransitionDatabaseGame final : public CTransitionDatabase
{
std::shared_ptr<IMetaTrans> x10_defaultTrans;
std::vector<std::pair<std::pair<u32, u32>, std::shared_ptr<IMetaTrans>>> x14_transitions;
std::vector<std::pair<u32, std::shared_ptr<IMetaTrans>>> x24_halfTransitions;
public:
CTransitionDatabaseGame(const std::vector<CTransition>& transitions,
const std::vector<CHalfTransition>& halfTransitions,
const std::shared_ptr<IMetaTrans>& defaultTrans);
const std::shared_ptr<IMetaTrans>& GetMetaTrans(u32, u32) const;
};
}