mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-08 17:04:53 +00:00
Animation System progress
This commit is contained in:
18
include/Kyoto/Animation/CAnimCharacterSet.hpp
Normal file
18
include/Kyoto/Animation/CAnimCharacterSet.hpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef _CANIMCHARACTERSET
|
||||
#define _CANIMCHARACTERSET
|
||||
|
||||
#include "Kyoto/Animation/CAnimationSet.hpp"
|
||||
#include "Kyoto/Animation/CCharacterSet.hpp"
|
||||
#include "types.h"
|
||||
|
||||
class CAnimCharacterSet {
|
||||
public:
|
||||
CAnimCharacterSet(CInputStream& in);
|
||||
|
||||
private:
|
||||
ushort mVersion;
|
||||
CCharacterSet mCharacterSet;
|
||||
CAnimationSet mAnimationSet;
|
||||
};
|
||||
|
||||
#endif // _CANIMCHARACTERSET
|
||||
13
include/Kyoto/Animation/CAnimationSet.hpp
Normal file
13
include/Kyoto/Animation/CAnimationSet.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef _CANIMATIONSET
|
||||
#define _CANIMATIONSET
|
||||
|
||||
class CInputStream;
|
||||
class CAnimationSet {
|
||||
public:
|
||||
CAnimationSet(CInputStream& in);
|
||||
|
||||
private:
|
||||
char data[0x60];
|
||||
};
|
||||
|
||||
#endif // _CANIMATIONSET
|
||||
14
include/Kyoto/Animation/CCharacterSet.hpp
Normal file
14
include/Kyoto/Animation/CCharacterSet.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef _CCHARACTERSET
|
||||
#define _CCHARACTERSET
|
||||
|
||||
#include "types.h"
|
||||
class CInputStream;
|
||||
class CCharacterSet {
|
||||
public:
|
||||
CCharacterSet(CInputStream& in);
|
||||
|
||||
private:
|
||||
uint unk;
|
||||
char data[0x10];
|
||||
};
|
||||
#endif // _CCHARACTERSET
|
||||
11
src/Kyoto/Animation/CAnimCharacterSet.cpp
Normal file
11
src/Kyoto/Animation/CAnimCharacterSet.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "Kyoto/Animation/CAnimCharacterSet.hpp"
|
||||
#include "Kyoto/CFactoryFnReturn.hpp"
|
||||
#include "Kyoto/Streams/CInputStream.hpp"
|
||||
|
||||
CAnimCharacterSet::CAnimCharacterSet(CInputStream& in)
|
||||
: mVersion(in.Get< short >()), mCharacterSet(in), mAnimationSet(in) {}
|
||||
|
||||
CFactoryFnReturn FAnimCharacterSet(const SObjectTag& tag, CInputStream& in,
|
||||
const CVParamTransfer& xfer) {
|
||||
return rs_new CAnimCharacterSet(in);
|
||||
}
|
||||
9
src/Kyoto/Particles/CSpawnSystemKeyframeData.cpp
Normal file
9
src/Kyoto/Particles/CSpawnSystemKeyframeData.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "Kyoto/Particles/CSpawnSystemKeyframeData.hpp"
|
||||
#include "Kyoto/Streams/CInputStream.hpp"
|
||||
|
||||
CSpawnSystemKeyframeData::CSpawnSystemKeyframeData(CInputStream& in)
|
||||
: mUnknown1(in.Get< int >())
|
||||
, mUnknown2(in.Get< int >())
|
||||
, mEndFrame(in.Get< int >())
|
||||
, mUnknown3(in.Get< int >())
|
||||
, mFrames(in) {}
|
||||
Reference in New Issue
Block a user