2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 13:51:21 +00:00
metaforce/Runtime/Character/CTransitionDatabaseGame.hpp
Lioncash 9312eef905 RuntimeCommon: Use override where applicable
Continues the override modernization by applying it to the main
RuntimeCommon target. Resolves around 1100+ cases where override can be
used.
2019-08-09 17:39:42 -04:00

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