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

Character factory support classes

This commit is contained in:
Jack Andersen
2016-04-12 20:07:23 -10:00
parent 1d2c2bf31f
commit 5de5c3d85f
186 changed files with 898 additions and 553 deletions

View File

@@ -1,5 +1,5 @@
#ifndef __PSHAG_CTRANSITION_HPP__
#define __PSHAG_CTRANSITION_HPP__
#ifndef __URDE_CTRANSITION_HPP__
#define __URDE_CTRANSITION_HPP__
#include "IOStreams.hpp"
#include "CMetaTransFactory.hpp"
@@ -12,11 +12,15 @@ class CTransition
u32 x0_id;
u32 x4_animA;
u32 x8_animB;
std::unique_ptr<IMetaTrans> xc_trans;
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;}
};
}
#endif // __PSHAG_CTRANSITION_HPP__
#endif // __URDE_CTRANSITION_HPP__