mirror of https://github.com/PrimeDecomp/prime.git
parent
c3f05117e6
commit
0d13bb1a4d
|
@ -473,7 +473,7 @@ LIBS = [
|
|||
["Kyoto/Basics/COsContextDolphin", True],
|
||||
["Kyoto/Basics/CSWDataDolphin", True],
|
||||
["Kyoto/Basics/RAssertDolphin", False],
|
||||
"Kyoto/Animation/CAnimation",
|
||||
["Kyoto/Animation/CAnimation", True],
|
||||
"Kyoto/Animation/CAnimationManager",
|
||||
"Kyoto/Animation/CAnimationSet",
|
||||
"Kyoto/Animation/CAnimCharacterSet",
|
||||
|
|
|
@ -5,9 +5,11 @@
|
|||
#include "rstl/string.hpp"
|
||||
|
||||
class IMetaAnim;
|
||||
class CInputStream;
|
||||
|
||||
class CAnimation {
|
||||
public:
|
||||
CAnimation(CInputStream& in);
|
||||
const rstl::rc_ptr< IMetaAnim >& GetMetaAnim() const { return x10_anim; }
|
||||
|
||||
private:
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef _CMETAANIMFACTORY
|
||||
#define _CMETAANIMFACTORY
|
||||
|
||||
#include "rstl/rc_ptr.hpp"
|
||||
|
||||
class IMetaAnim;
|
||||
class CInputStream;
|
||||
class CMetaAnimFactory {
|
||||
public:
|
||||
static rstl::rc_ptr< IMetaAnim > CreateMetaAnim(CInputStream& in);
|
||||
};
|
||||
|
||||
#endif // _CMETAANIMFACTORY
|
|
@ -0,0 +1,10 @@
|
|||
#include "Kyoto/Animation/CAnimation.hpp"
|
||||
|
||||
#include "Kyoto/Streams/CInputStream.hpp"
|
||||
#include "Kyoto/Animation/CMetaAnimFactory.hpp"
|
||||
|
||||
CAnimation::CAnimation(CInputStream& in)
|
||||
: x0_name(in)
|
||||
, x10_anim(CMetaAnimFactory::CreateMetaAnim(in)) {
|
||||
|
||||
}
|
Loading…
Reference in New Issue