mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
* clean up d_a_player * move some of daalink * more daalink / daplayer * setup some daalink members * rest of daalink members setup * remove comment * few more matches * remove asm * more matches * more matches + move e_wb_class * fix some d_save classes Co-authored-by: lepelog <lepelog@users.noreply.github.com>
55 lines
1.6 KiB
C++
55 lines
1.6 KiB
C++
#ifndef D_D_RESORCE_H
|
|
#define D_D_RESORCE_H
|
|
|
|
#include "SSystem/SComponent/c_xyz.h"
|
|
#include "dolphin/mtx/mtx.h"
|
|
#include "dolphin/types.h"
|
|
#include "m_Do/m_Do_ext.h"
|
|
|
|
struct JKRArchive {
|
|
/* 802D5CE4 */ void getIdxResource(u32);
|
|
/* 802D625C */ void getFileAttribute(u32) const;
|
|
/* 802D6684 */ void findIdxResource(u32) const;
|
|
/* 802D66AC */ void findNameResource(char const*) const;
|
|
/* 802D5ECC */ void readIdxResource(void*, u32, u32);
|
|
/* 802D5B38 */ void getGlbResource(u32, char const*, JKRArchive*);
|
|
};
|
|
|
|
#pragma pack(push, 1)
|
|
class dRes_info_c {
|
|
public:
|
|
/* 8003A260 */ dRes_info_c();
|
|
/* 8003A280 */ ~dRes_info_c();
|
|
/* 8003A348 */ void set(char const*, char const*, u8, JKRHeap*);
|
|
/* 8003AB30 */ void onWarpMaterial(J3DModelData*);
|
|
/* 8003AC1C */ void offWarpMaterial(J3DModelData*);
|
|
/* 8003AD08 */ void setWarpSRT(J3DModelData*, cXyz const&, f32, f32);
|
|
/* 8003AE14 */ void loaderBasicBmd(u32, void*);
|
|
/* 8003B30C */ void loadResource();
|
|
/* 8003B998 */ void deleteArchiveRes();
|
|
/* 8003BAC4 */ void setRes(JKRArchive*, JKRHeap*);
|
|
/* 8003BAF8 */ void setRes();
|
|
/* 8003BD2C */ void dump_long(dRes_info_c*, int);
|
|
/* 8003BE38 */ void dump(dRes_info_c*, int);
|
|
|
|
private:
|
|
u8 unk[0x24];
|
|
// u8* name;
|
|
// u32 unk4;
|
|
// u32 unk8;
|
|
// s16 reference_count;
|
|
// u8 padding[2];
|
|
// mDoDVDThd_command_c* command;
|
|
// JKRArchive* archive;
|
|
// JKRHeap* heap;
|
|
// JKRSolidHeap* solid_heap;
|
|
// void** resource_buffer;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
struct J3DAnmBase {
|
|
/* 8003C734 */ ~J3DAnmBase();
|
|
};
|
|
|
|
#endif /* D_D_RESORCE_H */
|