2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 12:27:43 +00:00

New code style refactor

This commit is contained in:
Jack Andersen
2018-12-07 19:30:43 -10:00
parent 41ae32be31
commit 636c82a568
1451 changed files with 171430 additions and 203303 deletions

View File

@@ -3,22 +3,20 @@
#include "IOStreams.hpp"
#include "CMetaTransFactory.hpp"
namespace urde
{
namespace urde {
class CTransition {
u32 x0_id;
u32 x4_animA;
u32 x8_animB;
std::shared_ptr<IMetaTrans> xc_trans;
class CTransition
{
u32 x0_id;
u32 x4_animA;
u32 x8_animB;
std::shared_ptr<IMetaTrans> xc_trans;
public:
CTransition(CInputStream& in);
u32 GetAnimA() const {return x4_animA;}
u32 GetAnimB() const {return x8_animB;}
std::pair<u32, u32> GetAnimPair() const {return {x4_animA, x8_animB};}
const std::shared_ptr<IMetaTrans>& GetMetaTrans() const {return xc_trans;}
CTransition(CInputStream& in);
u32 GetAnimA() const { return x4_animA; }
u32 GetAnimB() const { return x8_animB; }
std::pair<u32, u32> GetAnimPair() const { return {x4_animA, x8_animB}; }
const std::shared_ptr<IMetaTrans>& GetMetaTrans() const { return xc_trans; }
};
}
} // namespace urde