Animation System progress

This commit is contained in:
2025-09-02 12:50:04 -07:00
parent d801f1e2ca
commit 88d6ae21cd
5 changed files with 65 additions and 0 deletions

View 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

View File

@@ -0,0 +1,13 @@
#ifndef _CANIMATIONSET
#define _CANIMATIONSET
class CInputStream;
class CAnimationSet {
public:
CAnimationSet(CInputStream& in);
private:
char data[0x60];
};
#endif // _CANIMATIONSET

View 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

View 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);
}

View 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) {}