mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-16 20:57:00 +00:00
18
include/Kyoto/Animation/CMetaTransFactory.hpp
Normal file
18
include/Kyoto/Animation/CMetaTransFactory.hpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef _CMETAANIMFACTORY_20COPY
|
||||
#define _CMETAANIMFACTORY_20COPY
|
||||
#ifndef _CMETAANIMFACTORY
|
||||
#define _CMETAANIMFACTORY
|
||||
|
||||
#include "rstl/rc_ptr.hpp"
|
||||
|
||||
class IMetaTrans;
|
||||
class CInputStream;
|
||||
class CMetaTransFactory {
|
||||
public:
|
||||
static rstl::rc_ptr< IMetaTrans > CreateMetaTrans(CInputStream& in);
|
||||
};
|
||||
|
||||
#endif // _CMETAANIMFACTORY
|
||||
|
||||
|
||||
#endif // _CMETAANIMFACTORY_20COPY
|
||||
24
include/Kyoto/Animation/CTransition.hpp
Normal file
24
include/Kyoto/Animation/CTransition.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef _CTRANSITION
|
||||
#define _CTRANSITION
|
||||
|
||||
#include "rstl/rc_ptr.hpp"
|
||||
#include "rstl/pair.hpp"
|
||||
|
||||
|
||||
class IMetaTrans;
|
||||
class CInputStream;
|
||||
class CTransition {
|
||||
uint x0_id;
|
||||
uint x4_animA;
|
||||
uint x8_animB;
|
||||
rstl::rc_ptr<IMetaTrans> xc_trans;
|
||||
|
||||
public:
|
||||
explicit CTransition(CInputStream& in);
|
||||
u32 GetAnimA() const { return x4_animA; }
|
||||
u32 GetAnimB() const { return x8_animB; }
|
||||
rstl::pair<uint, uint> GetAnimPair() const { return rstl::pair<uint, uint>(x4_animA, x8_animB); }
|
||||
const rstl::rc_ptr<IMetaTrans>& GetMetaTrans() const { return xc_trans; }
|
||||
};
|
||||
|
||||
#endif // _CTRANSITION
|
||||
Reference in New Issue
Block a user