mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-13 19:51:22 +00:00
Continues the override modernization by applying it to the main RuntimeCommon target. Resolves around 1100+ cases where override can be used.
22 lines
732 B
C++
22 lines
732 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 override;
|
|
};
|
|
|
|
} // namespace urde
|