mirror of
https://github.com/encounter/tp.git
synced 2026-03-30 11:40:53 -07:00
a61e3491f7
* initial freezard actor struct + setActionMode OK * daE_FZ_Draw * setReflectAngle * mBoundSoundset * daE_FZ_Execute & execute * demoDelete * daE_FZ_Delete & _delete * CreateHeap * useHeapInit * cc_set * mtx_set * action WIP * way_gake_check * executeRollMove * executeMove * draw WIP * executeDamage * checkpoint * create * checkpoint * daE_FZ_c::executeWait * checkpoint * daE_FZ_c::damage_check almost done * rm asm * rm headers * setup_profile WIP + doxygen update * fix merge issues * docs fix? * fix2 * doxygen updates * setup g_profile_E_FZ, profile setup script WIP * update github actions * update progress.md
62 lines
1.3 KiB
C++
62 lines
1.3 KiB
C++
#ifndef J3DCLUSTERLOADER_H
|
|
#define J3DCLUSTERLOADER_H
|
|
|
|
#include "JSystem/J3DGraphAnimator/J3DAnimation.h"
|
|
|
|
/**
|
|
* @ingroup jsystem-j3d
|
|
*
|
|
*/
|
|
struct J3DClusterLoaderDataBase {
|
|
/* 80334130 */ static void* load(void const*);
|
|
};
|
|
|
|
/**
|
|
* @ingroup jsystem-j3d
|
|
*
|
|
*/
|
|
class J3DClusterBlock : public JUTDataBlockHeader {
|
|
public:
|
|
/* 0x08 */ u16 mClusterNum;
|
|
/* 0x0A */ u16 mClusterKeyNum;
|
|
/* 0x0C */ u16 mClusterVertexNum;
|
|
/* 0x0E */ u16 mVtxPosNum;
|
|
/* 0x10 */ u16 mVtxNrmNum;
|
|
/* 0x14 */ void* mClusterPointer;
|
|
/* 0x18 */ void* mClusterKeyPointer;
|
|
/* 0x1C */ void* mClusterVertex;
|
|
/* 0x20 */ void* mVtxPos;
|
|
/* 0x24 */ void* mVtxNrm;
|
|
/* 0x28 */ void* mClusterName;
|
|
/* 0x2C */ void* mClusterKeyName;
|
|
};
|
|
|
|
/**
|
|
* @ingroup jsystem-j3d
|
|
*
|
|
*/
|
|
class J3DClusterLoader {
|
|
public:
|
|
virtual void* load(const void*) = 0;
|
|
/* 803345FC */ virtual ~J3DClusterLoader() {}
|
|
};
|
|
|
|
class J3DDeformData;
|
|
|
|
/**
|
|
* @ingroup jsystem-j3d
|
|
*
|
|
*/
|
|
class J3DClusterLoader_v15 : public J3DClusterLoader {
|
|
public:
|
|
/* 803341CC */ J3DClusterLoader_v15();
|
|
/* 803342F8 */ void readCluster(J3DClusterBlock const*);
|
|
|
|
/* 80334244 */ virtual void* load(void const*);
|
|
/* 803341E8 */ virtual ~J3DClusterLoader_v15();
|
|
|
|
/* 0x04 */ J3DDeformData* mpDeformData;
|
|
};
|
|
|
|
#endif /* J3DCLUSTERLOADER_H */
|