d_s_actor_data_mng 99%

This commit is contained in:
Jasper St. Pierre
2023-10-02 21:05:38 -07:00
parent 7afc9b7f86
commit ecfff8389f
3 changed files with 112 additions and 19 deletions
-1
View File
@@ -42,7 +42,6 @@ public:
u8 GetInf(int row, int col) const;
void Set(u32 fmtNum, char **pFmt, u32 nameNum, char **pName, u8* pData);
private:
cDT_Format mFmt;
cDT_Name mName;
cDT_DataSrc mSrc;
+31
View File
@@ -0,0 +1,31 @@
#ifndef D_S_ACTOR_DATA_MNG
#define D_S_ACTOR_DATA_MNG
#include "SSystem/SComponent/c_data_tbl.h"
class dADM_CharTbl : public cDT {
public:
u32 mIndex_ARG;
u32 mIndex_N_ITEM[16];
u32 mIndex_percent;
u32 mIndex_ITEM[8];
dADM_CharTbl();
void SetData(u32, u32, u32, u32, u32, u32, u32);
void SetUpIndex();
int GetNameIndex2(const char*, int) const;
};
class dADM {
public:
/* 0x00 */ s32 mBlockCount;
/* 0x04 */ void *mpData;
/* 0x08 */ dADM_CharTbl mCharTbl;
dADM();
virtual ~dADM();
bool FindTag(u32, u32*, u32*);
void SetData(void*);
};
#endif