d_menu_save / pane_class / rename some data (#205)

* work on fop actor / actor mng, daalink, d_a_obj_item

* d_a_title mostly decompiled

* daalink / d_event / JMessage / dmsg_out_font work

* msg_scrn_base / msg_scrn_boss

* some work on mDo machine, d_menu_save, d_tresure, and various

* remove asm

* progress

* finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data

* rename more data

* remove asm / progress

* match all of d_pane_class

* fixes / some dKankyo doc
This commit is contained in:
TakaRikka
2022-07-04 12:21:57 -07:00
committed by GitHub
parent b68cfbc0e6
commit 929c5cfa5a
572 changed files with 4756 additions and 8007 deletions
+4 -1
View File
@@ -6,6 +6,9 @@
void mDoRst_reset(int, u32, int);
void mDoRst_resetCallBack(int, void*);
extern bool SyncWidthSound;
extern u8 sDefaultDirection;
struct mDoRstData {
/* 0x00 */ int mReset;
/* 0x04 */ int mResetPrepare;
@@ -54,6 +57,6 @@ public:
static mDoRstData* mResetData;
};
extern u8 data_80450C88;
extern bool mDoDvdErr_initialized;
#endif /* M_DO_M_DO_RESET_H */
+12 -10
View File
@@ -15,8 +15,6 @@ public:
};
extern bool struct_80450BB8; // sInitFlag
extern bool data_80450bba; // sBgmSet
extern bool sResetFlag;
class mDoAud_zelAudio_c {
public:
@@ -24,14 +22,18 @@ public:
mDoAud_zelAudio_c() {}
~mDoAud_zelAudio_c() {}
static void onInitFlag() { struct_80450BB8 = true; }
static bool isInitFlag() { return struct_80450BB8; }
static bool isResetFlag() { return sResetFlag; }
static void onResetFlag() { sResetFlag = true; }
static void offResetFlag() { sResetFlag = false; }
static bool isBgmSet() { return data_80450bba; }
static void onBgmSet() { data_80450bba = true; }
static void offBgmSet() { data_80450bba = false; }
static void onInitFlag() { mInitFlag = true; }
static bool isInitFlag() { return mInitFlag; }
static bool isResetFlag() { return mResetFlag; }
static void onResetFlag() { mResetFlag = true; }
static void offResetFlag() { mResetFlag = false; }
static bool isBgmSet() { return mBgmSet; }
static void onBgmSet() { mBgmSet = true; }
static void offBgmSet() { mBgmSet = false; }
static bool mInitFlag;
static bool mResetFlag;
static bool mBgmSet;
Z2AudioMgr mAudioMgr;
};
+1 -1
View File
@@ -15,7 +15,7 @@ public:
static void read();
static void convert(interface_of_controller_pad*, JUTGamePad*);
static void LRlockCheck(interface_of_controller_pad*);
void recalibrate();
static void recalibrate();
static interface_of_controller_pad& getCpadInfo(u32 pad) { return m_cpadInfo[pad]; }
static JUTGamePad* getGamePad(u32 pad) { return m_gamePad[pad]; }
+1 -1
View File
@@ -414,7 +414,7 @@ void mDoExt_setAraCacheSize(u32 param_0);
struct JUTFont;
JUTFont* mDoExt_getMesgFont();
void mDoExt_getSubFont();
JUTFont* mDoExt_getSubFont();
JUTFont* mDoExt_getRubyFont();
void mDoExt_removeSubFont();
+10 -5
View File
@@ -8,8 +8,8 @@
int mDoGph_Create();
extern u8 struct_80450BE4; // Blure
extern u8 data_80450BE6; // Fade
extern u8 mBlureFlag__13mDoGph_gInf_c; // Blure
extern u8 mFade__13mDoGph_gInf_c; // Fade
extern bool data_80450BE7; // AutoForcus
struct ResTIMG;
@@ -46,14 +46,16 @@ public:
static int startFadeIn(int param_0) { return JFWDisplay::getManager()->startFadeIn(param_0); }
static void setFadeColor(JUtility::TColor& color) { mFader->setColor(color); }
static void endFrame() { JFWDisplay::getManager()->endFrame(); }
static void offFade() { data_80450BE6 = 0; }
static u8 isFade() { return data_80450BE6; }
static void offBlure() { struct_80450BE4 = 0; }
static void offFade() { mFade = 0; }
static u8 isFade() { return mFade; }
static void offBlure() { mBlureFlag = false; }
static void offAutoForcus() { data_80450BE7 = 0; }
static void setTickRate(u32 rate) { JFWDisplay::getManager()->setTickRate(rate); }
static void waitBlanking(int wait) { JFWDisplay::getManager()->waitBlanking(wait); }
static f32 getWidthF() { return 608.0f; }
static f32 getHeightF() { return 448.0f; }
static f32 getMinYF() { return 0.0f; }
static f32 getMinXF() { return 0.0f; }
static int getMinY() { return 0; }
static int getMinX() { return 0; }
static int getMaxY() { return 448; }
@@ -62,6 +64,7 @@ public:
static void* getFrameBufferTex() { return mFrameBufferTex; }
static void setFadeRate(f32 rate) { mFadeRate = rate; }
static f32 getFadeRate() { return mFadeRate; }
static bloom_c* getBloom() { return &m_bloom; }
static GXTexObj mFrameBufferTexObj;
static GXTexObj mZbufferTexObj;
@@ -76,6 +79,8 @@ public:
static void* mZbufferTex;
static f32 mFadeRate;
static f32 mFadeSpeed;
static bool mBlureFlag;
static u8 mFade;
};
#endif /* M_DO_M_DO_GRAPHIC_H */
+1 -2
View File
@@ -63,10 +63,9 @@ struct mDoMain {
static u8 mHeapBriefType;
static OSTime sPowerOnTime;
static OSTime sHungUpTime;
static s8 developmentMode;
};
extern s8 data_80450580; // Debug enabled
extern bool sOSReportDisabled;
extern bool data_80450B99;
extern bool data_80450B9A;