mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
e_hb equivalent / some pal work (#2577)
* some pal work * e_hb equivalent * update config
This commit is contained in:
@@ -64,4 +64,4 @@ __vt__10dCcD_GStts = .data:0x00000138; // type:object size:0xC scope:global
|
||||
__vt__8cM3dGAab = .data:0x00000144; // type:object size:0xC scope:global
|
||||
__vt__8cM3dGCyl = .data:0x00000150; // type:object size:0xC scope:global
|
||||
__vt__13daObjThDoor_c = .data:0x0000015C; // type:object size:0x28 scope:global
|
||||
init$1622 = .bss:0x00000000; // type:object size:0x1 data:byte scope:local
|
||||
init$1622 = .bss:0x00000000; // type:object size:0x1 scope:local data:byte
|
||||
|
||||
@@ -98,7 +98,7 @@ __global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:globa
|
||||
@1012 = .bss:0x0000003C; // type:object size:0x1 scope:local
|
||||
@1010 = .bss:0x00000040; // type:object size:0x1 scope:local
|
||||
@1009 = .bss:0x00000044; // type:object size:0x1 scope:local
|
||||
l_HIOInit = .bss:0x00000045; // type:object size:0x1 data:byte scope:local
|
||||
l_HIOInit = .bss:0x00000045; // type:object size:0x1 scope:local data:byte
|
||||
@3801 = .bss:0x00000048; // type:object size:0xC scope:local
|
||||
l_HIO = .bss:0x00000054; // type:object size:0xC scope:local data:byte
|
||||
hz_check_pos_x = .bss:0x00000060; // type:object size:0x4 scope:local align:4 data:float
|
||||
|
||||
@@ -89,7 +89,7 @@ __global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:globa
|
||||
@1012 = .bss:0x0000003C; // type:object size:0x1 scope:local
|
||||
@1010 = .bss:0x00000040; // type:object size:0x1 scope:local
|
||||
@1009 = .bss:0x00000044; // type:object size:0x1 scope:local
|
||||
init$1832 = .bss:0x00000045; // type:object size:0x1 data:byte scope:local
|
||||
init$1832 = .bss:0x00000045; // type:object size:0x1 scope:local data:byte
|
||||
@4351 = .bss:0x00000048; // type:object size:0xC scope:local
|
||||
l_shotSmokeScale$4350 = .bss:0x00000058; // type:object size:0xC scope:local
|
||||
sInstance__40JASGlobalInstance<19JASDefaultBankTable> = .bss:0x00000064; // type:object size:0x4 scope:global
|
||||
|
||||
@@ -78,4 +78,4 @@ __vt__14mDoHIO_entry_c = .data:0x00000184; // type:object size:0xC scope:global
|
||||
__global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:global
|
||||
@3647 = .bss:0x00000008; // type:object size:0xC scope:local
|
||||
l_HIO = .bss:0x00000014; // type:object size:0x20 scope:local align:4 data:float
|
||||
init$1675 = .bss:0x00000034; // type:object size:0x1 data:byte scope:local
|
||||
init$1675 = .bss:0x00000034; // type:object size:0x1 scope:local data:byte
|
||||
|
||||
@@ -109,6 +109,6 @@ __vt__14dBgS_ObjGndChk = .data:0x000000A4; // type:object size:0x30 scope:global
|
||||
__vt__12J3DFrameCtrl = .data:0x000000D4; // type:object size:0xC scope:global
|
||||
__vt__14daObj_TomHIO_c = .data:0x000000E0; // type:object size:0xC scope:global
|
||||
__global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:global
|
||||
l_HIOInit = .bss:0x00000008; // type:object size:0x1 data:byte scope:local
|
||||
l_HIOInit = .bss:0x00000008; // type:object size:0x1 scope:local data:byte
|
||||
@3770 = .bss:0x0000000C; // type:object size:0xC scope:local
|
||||
l_HIO = .bss:0x00000018; // type:object size:0x14 scope:global align:4 data:float
|
||||
|
||||
@@ -122,5 +122,5 @@ __vt__8cM3dGAab = .data:0x000001F0; // type:object size:0xC scope:global
|
||||
__vt__12dBgS_ObjAcch = .data:0x000001FC; // type:object size:0x24 scope:global
|
||||
__vt__12J3DFrameCtrl = .data:0x00000220; // type:object size:0xC scope:global
|
||||
__vt__14daObjVolcBom_c = .data:0x0000022C; // type:object size:0x28 scope:global
|
||||
init$1712 = .bss:0x00000000; // type:object size:0x1 data:byte scope:local
|
||||
init$2146 = .bss:0x00000001; // type:object size:0x1 data:byte scope:local
|
||||
init$1712 = .bss:0x00000000; // type:object size:0x1 scope:local data:byte
|
||||
init$2146 = .bss:0x00000001; // type:object size:0x1 scope:local data:byte
|
||||
|
||||
@@ -64,4 +64,4 @@ __vt__10dCcD_GStts = .data:0x00000138; // type:object size:0xC scope:global
|
||||
__vt__8cM3dGAab = .data:0x00000144; // type:object size:0xC scope:global
|
||||
__vt__8cM3dGCyl = .data:0x00000150; // type:object size:0xC scope:global
|
||||
__vt__13daObjThDoor_c = .data:0x0000015C; // type:object size:0x28 scope:global
|
||||
init$1622 = .bss:0x00000000; // type:object size:0x1 data:byte scope:local
|
||||
init$1622 = .bss:0x00000000; // type:object size:0x1 scope:local data:byte
|
||||
|
||||
@@ -98,7 +98,7 @@ __global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:globa
|
||||
@1012 = .bss:0x0000003C; // type:object size:0x1 scope:local
|
||||
@1010 = .bss:0x00000040; // type:object size:0x1 scope:local
|
||||
@1009 = .bss:0x00000044; // type:object size:0x1 scope:local
|
||||
l_HIOInit = .bss:0x00000045; // type:object size:0x1 data:byte scope:local
|
||||
l_HIOInit = .bss:0x00000045; // type:object size:0x1 scope:local data:byte
|
||||
@3801 = .bss:0x00000048; // type:object size:0xC scope:local
|
||||
l_HIO = .bss:0x00000054; // type:object size:0xC scope:local data:byte
|
||||
hz_check_pos_x = .bss:0x00000060; // type:object size:0x4 scope:local align:4 data:float
|
||||
|
||||
@@ -89,7 +89,7 @@ __global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:globa
|
||||
@1012 = .bss:0x0000003C; // type:object size:0x1 scope:local
|
||||
@1010 = .bss:0x00000040; // type:object size:0x1 scope:local
|
||||
@1009 = .bss:0x00000044; // type:object size:0x1 scope:local
|
||||
init$1832 = .bss:0x00000045; // type:object size:0x1 data:byte scope:local
|
||||
init$1832 = .bss:0x00000045; // type:object size:0x1 scope:local data:byte
|
||||
@4351 = .bss:0x00000048; // type:object size:0xC scope:local
|
||||
l_shotSmokeScale$4350 = .bss:0x00000058; // type:object size:0xC scope:local
|
||||
sInstance__40JASGlobalInstance<19JASDefaultBankTable> = .bss:0x00000064; // type:object size:0x4 scope:global
|
||||
|
||||
@@ -78,4 +78,4 @@ __vt__14mDoHIO_entry_c = .data:0x00000184; // type:object size:0xC scope:global
|
||||
__global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:global
|
||||
@3647 = .bss:0x00000008; // type:object size:0xC scope:local
|
||||
l_HIO = .bss:0x00000014; // type:object size:0x20 scope:local align:4 data:float
|
||||
init$1675 = .bss:0x00000034; // type:object size:0x1 data:byte scope:local
|
||||
init$1675 = .bss:0x00000034; // type:object size:0x1 scope:local data:byte
|
||||
|
||||
@@ -109,6 +109,6 @@ __vt__14dBgS_ObjGndChk = .data:0x000000A4; // type:object size:0x30 scope:global
|
||||
__vt__12J3DFrameCtrl = .data:0x000000D4; // type:object size:0xC scope:global
|
||||
__vt__14daObj_TomHIO_c = .data:0x000000E0; // type:object size:0xC scope:global
|
||||
__global_destructor_chain = .bss:0x00000000; // type:object size:0x4 scope:global
|
||||
l_HIOInit = .bss:0x00000008; // type:object size:0x1 data:byte scope:local
|
||||
l_HIOInit = .bss:0x00000008; // type:object size:0x1 scope:local data:byte
|
||||
@3770 = .bss:0x0000000C; // type:object size:0xC scope:local
|
||||
l_HIO = .bss:0x00000018; // type:object size:0x14 scope:global align:4 data:float
|
||||
|
||||
@@ -122,5 +122,5 @@ __vt__8cM3dGAab = .data:0x000001F0; // type:object size:0xC scope:global
|
||||
__vt__12dBgS_ObjAcch = .data:0x000001FC; // type:object size:0x24 scope:global
|
||||
__vt__12J3DFrameCtrl = .data:0x00000220; // type:object size:0xC scope:global
|
||||
__vt__14daObjVolcBom_c = .data:0x0000022C; // type:object size:0x28 scope:global
|
||||
init$1712 = .bss:0x00000000; // type:object size:0x1 data:byte scope:local
|
||||
init$2146 = .bss:0x00000001; // type:object size:0x1 data:byte scope:local
|
||||
init$1712 = .bss:0x00000000; // type:object size:0x1 scope:local data:byte
|
||||
init$2146 = .bss:0x00000001; // type:object size:0x1 scope:local data:byte
|
||||
|
||||
+1
-1
@@ -1545,7 +1545,7 @@ config.libs = [
|
||||
ActorRel(Equivalent, "d_a_e_dn"), # weak func order
|
||||
ActorRel(Equivalent, "d_a_e_fm"),
|
||||
ActorRel(MatchingFor("GZ2E01"), "d_a_e_ga"),
|
||||
ActorRel(NonMatching, "d_a_e_hb"),
|
||||
ActorRel(Equivalent, "d_a_e_hb"),
|
||||
ActorRel(MatchingFor("GZ2E01"), "d_a_e_nest"),
|
||||
ActorRel(Equivalent, "d_a_e_rd"),
|
||||
ActorRel(MatchingFor("GZ2E01"), "d_a_econt"),
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
#ifndef D_A_E_HB_H
|
||||
#define D_A_E_HB_H
|
||||
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "d/d_bg_s_acch.h"
|
||||
#include "d/d_cc_d.h"
|
||||
#include "d/d_cc_uty.h"
|
||||
|
||||
/**
|
||||
* @ingroup actors-enemies
|
||||
@@ -10,16 +14,81 @@
|
||||
* @details
|
||||
*
|
||||
*/
|
||||
class e_hb_class : public fopEn_enemy_c {
|
||||
private:
|
||||
/* 0x5ac */ u8 field_0x5ac[0x1268 - 0x5ac];
|
||||
class e_hb_class {
|
||||
public:
|
||||
/* 0x0000 */ fopEn_enemy_c enemy;
|
||||
/* 0x05AC */ request_of_phase_process_class phase;
|
||||
/* 0x05B4 */ u8 arg0;
|
||||
/* 0x05B5 */ u8 arg3;
|
||||
/* 0x05B6 */ u8 arg1;
|
||||
/* 0x05B7 */ u8 arg2;
|
||||
/* 0x05B8 */ mDoExt_McaMorfSO* modelMorf;
|
||||
/* 0x05BC */ Z2CreatureEnemy sound;
|
||||
/* 0x0660 */ int anm;
|
||||
/* 0x0664 */ u32 shadowId;
|
||||
/* 0x0668 */ s16 counter;
|
||||
/* 0x066A */ s16 action;
|
||||
/* 0x066C */ s16 mode;
|
||||
/* 0x0670 */ f32 pl_search_range;
|
||||
/* 0x0674 */ cXyz field_0x674;
|
||||
/* 0x0680 */ s16 field_0x680;
|
||||
/* 0x0682 */ u8 field_0x682[0x0684 - 0x0682];
|
||||
/* 0x0684 */ s16 angle_to_player;
|
||||
/* 0x0688 */ f32 dist_to_player;
|
||||
/* 0x068C */ s16 field_0x68c;
|
||||
/* 0x0690 */ f32 field_0x690;
|
||||
/* 0x0694 */ f32 size;
|
||||
/* 0x0698 */ s16 timers[3];
|
||||
/* 0x069E */ s16 invulnerabilityTimer;
|
||||
/* 0x06A0 */ cXyz field_0x6a0[12];
|
||||
/* 0x0730 */ csXyz field_0x730[12];
|
||||
/* 0x0778 */ J3DModel* thornModel[11];
|
||||
/* 0x07A4 */ u8 field_0x7A4[0x7D8 - 0x7A4];
|
||||
/* 0x07D8 */ f32 thorn_size[12];
|
||||
/* 0x0808 */ mDoExt_3DlineMat1_c stalkLine;
|
||||
/* 0x0844 */ f32 field_0x844;
|
||||
/* 0x0848 */ f32 field_0x848;
|
||||
/* 0x084C */ f32 field_0x84c;
|
||||
/* 0x0850 */ s8 field_0x850;
|
||||
/* 0x0851 */ s8 field_0x851;
|
||||
/* 0x0852 */ s8 field_0x852;
|
||||
/* 0x0854 */ f32 field_0x854;
|
||||
/* 0x0858 */ u8 field_0x858[0x860 - 0x858];
|
||||
/* 0x0860 */ dCcD_Stts ccStts;
|
||||
/* 0x089C */ dCcD_Sph ccSph;
|
||||
/* 0x09D4 */ dCcD_Sph atSph;
|
||||
/* 0x0B0C */ s8 field_0xb0c;
|
||||
/* 0x0B0D */ s8 field_0xb0d;
|
||||
/* 0x0B10 */ dCcD_Sph kukiSph[4];
|
||||
/* 0x0FF0 */ dCcU_AtInfo atInfo;
|
||||
/* 0x1014 */ dBgS_AcchCir acchcir;
|
||||
/* 0x1054 */ dBgS_ObjAcch acch;
|
||||
/* 0x122C */ u32 leaf_actor_id;
|
||||
/* 0x1230 */ s8 field_0x1230;
|
||||
/* 0x1231 */ s8 field_0x1231;
|
||||
/* 0x1234 */ u32 field_0x1234[3];
|
||||
/* 0x1240 */ u32 field_0x1240;
|
||||
/* 0x1244 */ u32 field_0x1244;
|
||||
/* 0x1248 */ u32 field_0x1248;
|
||||
/* 0x124C */ f32 field_0x124c;
|
||||
/* 0x1250 */ u8 field_0x1250[0x1264 - 0x1250];
|
||||
/* 0x1264 */ u8 HIOInit;
|
||||
};
|
||||
|
||||
STATIC_ASSERT(sizeof(e_hb_class) == 0x1268);
|
||||
|
||||
class daE_HB_HIO_c {
|
||||
public:
|
||||
/* 804FBD6C */ daE_HB_HIO_c();
|
||||
/* 805005D0 */ ~daE_HB_HIO_c();
|
||||
/* 805005D0 */ virtual ~daE_HB_HIO_c() {}
|
||||
|
||||
/* 0x04 */ s8 id;
|
||||
/* 0x08 */ f32 base_size;
|
||||
/* 0x0C */ f32 flower_size;
|
||||
/* 0x10 */ f32 appear_size;
|
||||
/* 0x14 */ s16 roof_reappear_interval;
|
||||
/* 0x16 */ s16 attack_freq;
|
||||
/* 0x18 */ u8 bite_pattern;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -290,10 +290,13 @@ public:
|
||||
field_0xdea = 1;
|
||||
}
|
||||
|
||||
static void make_prm(csXyz* param_1, u8 param_2, u8 param_3, u8 param_4, u8 param_5,
|
||||
u8 param_6 = 0) {
|
||||
param_1->x = (param_4 << 8) | param_3;
|
||||
param_1->z = param_5 | (param_6 << 13) | ((u32(param_2) & 0xFF) << 1);
|
||||
static void make_prm(u32* o_params, csXyz* o_paramsEx, u8 param_2, u8 i_itemNo, u8 i_itemBit, u8 i_itemType, u8 param_6) {
|
||||
o_paramsEx->x = (i_itemBit << 8) | (i_itemNo & 0xFF);
|
||||
o_paramsEx->z = (param_6 << 13) | (param_2 << 1) | i_itemType;
|
||||
}
|
||||
|
||||
static void make_prm_bokkuri(u32* o_params, csXyz* o_paramsEx, u8 i_itemNo, u8 i_itemBit, u8 i_itemType, u8 param_5) {
|
||||
make_prm(o_params, o_paramsEx, 6, i_itemNo, i_itemBit, i_itemType, param_5);
|
||||
}
|
||||
|
||||
static const daObjCarry_dt_t mData[];
|
||||
|
||||
@@ -604,6 +604,7 @@ public:
|
||||
JKRArchive* getRubyArchive() { return mRubyArchive; }
|
||||
JKRArchive* getMeterButtonArchive() { return mMeterButtonArchive; }
|
||||
JKRArchive* getAllMapArchive() { return mAllMapArchive; }
|
||||
JKRArchive* getCardIconResArchive() { return mCardIconResArchive; }
|
||||
|
||||
void setFieldMapArchive2(JKRArchive* arc) { mFieldMapArchive2 = arc; }
|
||||
void setAnmArchive(JKRArchive* arc) { mAnmArchive = arc; }
|
||||
@@ -2293,6 +2294,10 @@ inline JKRArchive* dComIfGp_getMsgCommonArchive() {
|
||||
return g_dComIfG_gameInfo.play.getMsgCommonArchive();
|
||||
}
|
||||
|
||||
inline JKRArchive* dComIfGp_getCardIconResArchive() {
|
||||
return g_dComIfG_gameInfo.play.getCardIconResArchive();
|
||||
}
|
||||
|
||||
inline void dComIfGp_setFieldMapArchive2(JKRArchive* arc) {
|
||||
g_dComIfG_gameInfo.play.setFieldMapArchive2(arc);
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ class JKRHeap;
|
||||
struct ResTIMG;
|
||||
class dDlst_2D_c;
|
||||
class mDoDvdThd_mountXArchive_c;
|
||||
class mDoDvdThd_mountArchive_c;
|
||||
class mDoDvdThd_toMainRam_c;
|
||||
|
||||
class dLog_HIO_c {
|
||||
@@ -68,6 +69,10 @@ public:
|
||||
/* 80258520 */ bool isProgressiveMode();
|
||||
/* 8025854C */ void setRenderMode();
|
||||
|
||||
#if VERSION == VERSION_GCN_PAL
|
||||
u8 getPalLanguage();
|
||||
#endif
|
||||
|
||||
public:
|
||||
/* 0x1C4 */ request_of_phase_process_class field_0x1c4;
|
||||
/* 0x1CC */ mDoDvdThd_toMainRam_c* sceneCommand;
|
||||
@@ -82,6 +87,9 @@ public:
|
||||
/* 0x1F0 */ dDlst_2D_c* mProgressiveYes;
|
||||
/* 0x1F4 */ dDlst_2D_c* mProgressiveNo;
|
||||
/* 0x1F8 */ dDlst_2D_c* mProgressiveSel;
|
||||
#if VERSION == VERSION_GCN_PAL
|
||||
/* 0x1FC */ mDoDvdThd_mountArchive_c* mpPalLogoResCommand;
|
||||
#endif
|
||||
/* 0x1FC */ request_of_phase_process_class* m_preLoad_dylPhase;
|
||||
/* 0x200 */ ResTIMG* mProgressivePro;
|
||||
/* 0x204 */ ResTIMG* mProgressiveInter;
|
||||
|
||||
@@ -21,6 +21,13 @@ extern "C" {
|
||||
#define OS_EURGB60_OFF 0
|
||||
#define OS_EURGB60_ON 1
|
||||
|
||||
#define OS_LANGUAGE_ENGLISH 0
|
||||
#define OS_LANGUAGE_GERMAN 1
|
||||
#define OS_LANGUAGE_FRENCH 2
|
||||
#define OS_LANGUAGE_SPANISH 3
|
||||
#define OS_LANGUAGE_ITALIAN 4
|
||||
#define OS_LANGUAGE_DUTCH 5
|
||||
|
||||
typedef struct OSSram {
|
||||
u16 checkSum;
|
||||
u16 checkSumInv;
|
||||
|
||||
@@ -664,8 +664,8 @@ fopAc_ac_c* fopAcM_fastCreateItem(const cXyz* i_pos, int i_itemNo, int i_roomNo,
|
||||
f32* i_speedY, int i_itemBitNo, int param_9,
|
||||
createFunc i_createFunc);
|
||||
|
||||
fpc_ProcID fopAcM_createBokkuri(u16 i_setId, const cXyz* i_pos, int param_3, int param_4,
|
||||
int i_roomNo, const cXyz* param_6, int param_7, int param_8);
|
||||
fpc_ProcID fopAcM_createBokkuri(u16 i_setId, const cXyz* i_pos, int i_itemNo, int i_itemBit,
|
||||
int i_roomNo, const cXyz* param_6, int i_itemType, int param_8);
|
||||
fpc_ProcID fopAcM_createWarpHole(const cXyz* i_pos, const csXyz* i_angle, int i_roomNo, u8 param_4,
|
||||
u8 param_5, u8 param_6);
|
||||
|
||||
@@ -708,12 +708,6 @@ inline void make_prm_warp_hole(u32* o_params, u8 prm1, u8 prm2, u8 prm3) {
|
||||
*o_params = pprm2 | pprm3 | pprm1;
|
||||
}
|
||||
|
||||
inline void make_prm_bokkuri(u32* i_params, csXyz* i_angle, u8 param_2, u8 param_3, u8 param_4,
|
||||
u8 param_5, u8 param_6) {
|
||||
i_angle->x = (param_4 << 0x8) | (param_3 & 0xFF);
|
||||
i_angle->z = (param_6 << 0xD) | (param_2 << 0x1) | param_5;
|
||||
}
|
||||
|
||||
inline fopAc_ac_c* dComIfGp_getPlayer(int);
|
||||
|
||||
inline s16 fopAcM_searchPlayerAngleY(const fopAc_ac_c* actor) {
|
||||
|
||||
+61
-38
@@ -1,47 +1,70 @@
|
||||
#ifndef M_DO_M_DO_MEMCARD_H
|
||||
#define M_DO_M_DO_MEMCARD_H
|
||||
|
||||
#include "card.h"
|
||||
#include <dolphin/card.h>
|
||||
#include <dolphin/os.h>
|
||||
#include "global.h"
|
||||
|
||||
#define SAVEDATA_SIZE 0xA94
|
||||
#define SECTOR_SIZE 0x2000
|
||||
#define SAVEDATA_FILE_SIZE 0x8000
|
||||
#define SAVEDATA_VERSION 6
|
||||
|
||||
class mDoMemCd_Ctrl_c {
|
||||
public:
|
||||
enum CardCommand {
|
||||
CARD_NO_COMMAND,
|
||||
CARD_RESTORE,
|
||||
CARD_STORE,
|
||||
CARD_FORMAT,
|
||||
CARD_ATTACH,
|
||||
CARD_DETACH,
|
||||
enum Command_e {
|
||||
COMM_NONE_e,
|
||||
COMM_RESTORE_e,
|
||||
COMM_STORE_e,
|
||||
COMM_FORMAT_e,
|
||||
COMM_ATTACH_e,
|
||||
COMM_DETACH_e,
|
||||
};
|
||||
|
||||
/* 8001672C */ mDoMemCd_Ctrl_c();
|
||||
/* 80016730 */ void ThdInit();
|
||||
/* 800167D0 */ void main();
|
||||
/* 80016894 */ void update();
|
||||
/* 800169B4 */ void load();
|
||||
/* 80016A0C */ void restore();
|
||||
/* 80016AB0 */ s32 LoadSync(void*, u32, u32);
|
||||
/* 80016B58 */ void save(void*, u32, u32);
|
||||
/* 80016BD4 */ void store();
|
||||
/* 80016CE0 */ s32 SaveSync();
|
||||
/* 80016D74 */ u32 getStatus(u32);
|
||||
/* 80016E58 */ void command_format();
|
||||
/* 80016EA8 */ void format();
|
||||
/* 80016F2C */ s32 FormatSync();
|
||||
/* 80016FB8 */ void attach();
|
||||
/* 800170B8 */ void command_attach();
|
||||
/* 80017110 */ void detach();
|
||||
/* 80017148 */ s32 mount();
|
||||
/* 80017274 */ s32 loadfile();
|
||||
/* 800172D4 */ s32 checkspace();
|
||||
/* 80017360 */ void setCardState(s32);
|
||||
enum CardState_e {
|
||||
CARD_STATE_NO_CARD_e,
|
||||
CARD_STATE_READY_e,
|
||||
CARD_STATE_NO_FILE_e,
|
||||
CARD_STATE_READ_e,
|
||||
CARD_STATE_WRITE_e,
|
||||
CARD_STATE_FORMAT_e,
|
||||
CARD_STATE_WRONG_ENCODING_e,
|
||||
CARD_STATE_BROKEN_e,
|
||||
CARD_STATE_INSSPACE_e,
|
||||
CARD_STATE_NOENT_e,
|
||||
CARD_STATE_WRONG_DEVICE_e,
|
||||
CARD_STATE_WRONG_SECTORSIZE_e,
|
||||
CARD_STATE_FATAL_ERROR_e,
|
||||
CARD_STATE_13_e,
|
||||
};
|
||||
|
||||
bool isCardCommNone() { return mCardCommand == CARD_NO_COMMAND; }
|
||||
mDoMemCd_Ctrl_c();
|
||||
|
||||
void ThdInit();
|
||||
void main();
|
||||
void update();
|
||||
void load();
|
||||
void restore();
|
||||
s32 LoadSync(void* i_buffer, u32 i_size, u32 i_position);
|
||||
void save(void* i_buffer, u32 i_size, u32 i_position);
|
||||
void store();
|
||||
s32 SaveSync();
|
||||
u32 getStatus(u32);
|
||||
void command_format();
|
||||
void format();
|
||||
s32 FormatSync();
|
||||
void attach();
|
||||
void command_attach();
|
||||
void detach();
|
||||
s32 mount();
|
||||
s32 loadfile();
|
||||
s32 checkspace();
|
||||
void setCardState(s32);
|
||||
|
||||
bool isCardCommNone() { return mCardCommand == COMM_NONE_e; }
|
||||
u8 getProbeStat() { return mProbeStat; }
|
||||
void clearProbeStat() { mProbeStat = 2; }
|
||||
void setCopyToPos(u8 param_0) { mCopyToPos = param_0; }
|
||||
void setCopyToPos(u8 i_pos) { mCopyToPos = i_pos; }
|
||||
u32 getDataVersion() { return mDataVersion; }
|
||||
void setDataVersion(u32 version) { mDataVersion = version; }
|
||||
void getCardStatus(s32 fileNo, CARDStat* stat) { CARDGetStatus(mChannel, fileNo, stat); }
|
||||
@@ -52,7 +75,7 @@ public:
|
||||
mSerialNo = serial_no;
|
||||
}
|
||||
|
||||
/* 0x0000 */ u8 mData[0x1FBC];
|
||||
/* 0x0000 */ u8 mData[SAVEDATA_SIZE * 3];
|
||||
/* 0x1FBC */ u8 mChannel;
|
||||
/* 0x1FBD */ u8 mCopyToPos;
|
||||
/* 0x1FBE */ u8 mProbeStat;
|
||||
@@ -108,24 +131,24 @@ inline void mDoMemCd_Load() {
|
||||
g_mDoMemCd_control.load();
|
||||
}
|
||||
|
||||
inline void mDoMemCd_setCopyToPos(u8 param_0) {
|
||||
g_mDoMemCd_control.setCopyToPos(param_0);
|
||||
inline void mDoMemCd_setCopyToPos(u8 i_pos) {
|
||||
g_mDoMemCd_control.setCopyToPos(i_pos);
|
||||
}
|
||||
|
||||
inline u32 mDoMemCd_getStatus(u8 param_0) {
|
||||
return g_mDoMemCd_control.getStatus(param_0);
|
||||
}
|
||||
|
||||
inline u32 mDoMemCd_LoadSync(void* buffer, u32 size, u32 index) {
|
||||
return g_mDoMemCd_control.LoadSync(buffer, size, index);
|
||||
inline u32 mDoMemCd_LoadSync(void* i_buffer, u32 i_size, u32 i_position) {
|
||||
return g_mDoMemCd_control.LoadSync(i_buffer, i_size, i_position);
|
||||
}
|
||||
|
||||
inline u32 mDoMemCd_getDataVersion() {
|
||||
return g_mDoMemCd_control.getDataVersion();
|
||||
}
|
||||
|
||||
inline void mDoMemCd_setDataVersion(u32 version) {
|
||||
g_mDoMemCd_control.setDataVersion(version);
|
||||
inline void mDoMemCd_setDataVersion(u32 i_version) {
|
||||
g_mDoMemCd_control.setDataVersion(i_version);
|
||||
}
|
||||
|
||||
inline void mDoMemCd_setSerialNo() {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user