mirror of https://github.com/AxioDL/metaforce.git
26 lines
809 B
C++
26 lines
809 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
#include <utility>
|
|
#include <vector>
|
|
|
|
#include "Runtime/Character/CTransitionDatabase.hpp"
|
|
|
|
namespace metaforce {
|
|
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,
|
|
std::shared_ptr<IMetaTrans> defaultTrans);
|
|
const std::shared_ptr<IMetaTrans>& GetMetaTrans(u32, u32) const override;
|
|
};
|
|
|
|
} // namespace metaforce
|