project cleanup (#2895)

* some wii OS fixes

* remove old dol2asm comments

* remove dol2asm.h

* remove function address comments

* normalize ATTRIBUTE_ALIGN usage

* DECL_WEAK macro

* fix gcc attribute weak macro

* wrap more mwcc specific things in ifdefs

* fixes

* fix revo sdk version flags

* fixes
This commit is contained in:
TakaRikka
2025-11-30 14:23:42 -08:00
committed by GitHub
parent 434415337d
commit a6e76c0841
2375 changed files with 24683 additions and 71069 deletions
-170
View File
@@ -1,8 +1,3 @@
//
// Generated By: dol2asm
// Translation Unit: d/d_menu_save
//
#include "d/dolzel.h" // IWYU pragma: keep
#include "d/d_menu_save.h"
@@ -25,47 +20,39 @@
#include "JSystem/J2DGraph/J2DAnmLoader.h"
#include "f_op/f_op_msg_mng.h"
/* 803BDF84-803BDF90 01B0A4 000C+00 3/3 0/0 0/0 .data SelStartFrameTbl */
static int SelStartFrameTbl[3] = {
59,
99,
139,
};
/* 803BDF90-803BDF9C 01B0B0 000C+00 3/3 0/0 0/0 .data SelEndFrameTbl */
static int SelEndFrameTbl[3] = {
69,
109,
149,
};
/* 803BDF9C-803BDFA8 01B0BC 000C+00 2/2 0/0 0/0 .data SelOpenStartFrameTbl */
static int SelOpenStartFrameTbl[3] = {
249,
448,
648,
};
/* 803BDFA8-803BDFB4 01B0C8 000C+00 2/2 0/0 0/0 .data SelOpenEndFrameTbl */
static int SelOpenEndFrameTbl[3] = {
259,
460,
659,
};
/* 803BDFB4-803BDFC4 01B0D4 0010+00 2/2 0/0 0/0 .data YnSelStartFrameTbl */
static int YnSelStartFrameTbl[2][2] = {
{2150, 3181},
{2139, 3171},
};
/* 803BDFC4-803BDFD8 01B0E4 0010+04 2/2 0/0 0/0 .data YnSelEndFrameTbl */
static int YnSelEndFrameTbl[2][2] = {{2138, 3171}, {2150, 3181}};
/* 8042E84C-8042E860 05B56C 0010+04 21/21 0/0 0/0 .bss g_msHIO */
static dMs_HIO_c g_msHIO;
/* 801EF654-801EF6A0 1E9F94 004C+00 1/1 0/0 0/0 .text __ct__9dMs_HIO_cFv */
dMs_HIO_c::dMs_HIO_c() {
mDisplayWaitFrames = 15;
mCardWaitFrames = 90;
@@ -80,7 +67,6 @@ dMs_HIO_c::dMs_HIO_c() {
field_0xf = 0;
}
/* 801EF6A0-801EF7AC 1E9FE0 010C+00 0/0 3/3 0/0 .text __ct__12dMenu_save_cFv */
dMenu_save_c::dMenu_save_c() {
mpScrnExplain = NULL;
mWarning = NULL;
@@ -127,7 +113,6 @@ dMenu_save_c::dMenu_save_c() {
field_0x21a1 = 0;
}
/* 801EF7AC-801EF904 1EA0EC 0158+00 0/0 3/3 0/0 .text _create__12dMenu_save_cFv */
void dMenu_save_c::_create() {
stick = new STControl(2, 2, 1, 1, 0.9f, 0.5f, 0, 0x2000);
@@ -163,7 +148,6 @@ void dMenu_save_c::_create() {
g_msHIO.field_0x4 = -1;
}
/* 801EF904-801F0938 1EA244 1034+00 1/1 0/0 0/0 .text screenSet__12dMenu_save_cFv */
void dMenu_save_c::screenSet() {
static u64 l_tagName0[3] = {'w_sel_00', 'w_sel_01', 'w_sel_02'};
static u64 l_tagName000[2] = {'w_no_t', 'w_yes_t'};
@@ -428,12 +412,10 @@ void dMenu_save_c::screenSet() {
}
/* 801F0938-801F0958 1EB278 0020+00 0/0 2/2 0/0 .text initialize__12dMenu_save_cFv */
void dMenu_save_c::initialize() {
displayInit();
}
/* 801F0958-801F09AC 1EB298 0054+00 2/2 0/0 0/0 .text displayInit__12dMenu_save_cFv */
void dMenu_save_c::displayInit() {
field_0x1bf = 1;
field_0x1c0 = 0;
@@ -453,7 +435,6 @@ void dMenu_save_c::displayInit() {
mEndStatus = 2;
}
/* 801F09AC-801F0B10 1EB2EC 0164+00 0/0 3/3 0/0 .text _open__12dMenu_save_cFv */
bool dMenu_save_c::_open() {
field_0x1bf = 1;
@@ -504,14 +485,12 @@ bool dMenu_save_c::_open() {
return true;
}
/* 801F0B10-801F0B28 1EB450 0018+00 0/0 1/1 0/0 .text _close__12dMenu_save_cFv */
int dMenu_save_c::_close() {
mMenuProc = PROC_SAVE_WAIT;
mSaveStatus = 0;
return 1;
}
/* 801F0B28-801F1048 1EB468 0520+00 0/0 4/4 0/0 .text _delete__12dMenu_save_cFv */
void dMenu_save_c::_delete() {
delete stick;
@@ -657,7 +636,6 @@ void dMenu_save_c::_delete() {
}
}
/* 803BE424-803BE70C 01B544 02E8+00 1/2 0/0 0/0 .data MenuSaveProc */
typedef void (dMenu_save_c::*menuProcFunc)();
menuProcFunc MenuSaveProc[62] = {
&dMenu_save_c::saveQuestion,
@@ -723,7 +701,6 @@ menuProcFunc MenuSaveProc[62] = {
&dMenu_save_c::errYesNoCursorMoveAnm,
};
/* 801F1048-801F1100 1EB988 00B8+00 0/0 4/4 0/0 .text _move__12dMenu_save_cFv */
void dMenu_save_c::_move() {
if (!mDoRst::isReset() || field_0x21a0 != 0) {
memCardWatch();
@@ -743,7 +720,6 @@ void dMenu_save_c::_move() {
}
}
/* 801F1100-801F1148 1EBA40 0048+00 1/1 0/0 0/0 .text saveSelAnm__12dMenu_save_cFv */
void dMenu_save_c::saveSelAnm() {
if (mDisplayMenu) {
selFileWakuAnm();
@@ -752,7 +728,6 @@ void dMenu_save_c::saveSelAnm() {
}
}
/* 801F1148-801F11F4 1EBA88 00AC+00 1/1 0/0 0/0 .text selFileWakuAnm__12dMenu_save_cFv */
void dMenu_save_c::selFileWakuAnm() {
mFileWakuAnmFrame += 2;
if (mFileWakuAnmFrame >= mpFileWakuAnm->getFrameMax()) {
@@ -767,7 +742,6 @@ void dMenu_save_c::selFileWakuAnm() {
mpFileWakuRotAnm->setFrame(mFileWakuRotAnmFrame);
}
/* 801F11F4-801F12F0 1EBB34 00FC+00 1/1 0/0 0/0 .text bookIconAnm__12dMenu_save_cFv */
void dMenu_save_c::bookIconAnm() {
field_0x154 += 2;
if (field_0x154 >= field_0x150->getFrameMax()) {
@@ -788,7 +762,6 @@ void dMenu_save_c::bookIconAnm() {
field_0x160->setFrame(field_0x164);
}
/* 801F12F0-801F1378 1EBC30 0088+00 1/1 0/0 0/0 .text memCardWatch__12dMenu_save_cFv */
void dMenu_save_c::memCardWatch() {
if (mUseType == 2) {
return;
@@ -815,7 +788,6 @@ void dMenu_save_c::memCardWatch() {
g_mDoMemCd_control.mProbeStat = 2;
}
/* 801F1378-801F1558 1EBCB8 01E0+00 1/0 0/0 0/0 .text saveQuestion__12dMenu_save_cFv */
void dMenu_save_c::saveQuestion() {
if (YesNoSelect()) {
if (mYesNoCursor == CURSOR_YES) {
@@ -855,7 +827,6 @@ void dMenu_save_c::saveQuestion() {
}
}
/* 801F1558-801F1620 1EBE98 00C8+00 1/0 0/0 0/0 .text saveQuestion2__12dMenu_save_cFv */
void dMenu_save_c::saveQuestion2() {
if (mpScrnExplain != NULL && mpScrnExplain->getStatus() == 0) {
if (mUseType == TYPE_BLACK_EVENT) {
@@ -871,7 +842,6 @@ void dMenu_save_c::saveQuestion2() {
}
}
/* 801F1620-801F1644 1EBF60 0024+00 1/0 0/0 0/0 .text saveQuestion21__12dMenu_save_cFv */
void dMenu_save_c::saveQuestion21() {
if (mWaitTimer != 0) {
mWaitTimer--;
@@ -881,7 +851,6 @@ void dMenu_save_c::saveQuestion21() {
mMenuProc = PROC_SAVE_QUESTION3;
}
/* 801F1644-801F16B8 1EBF84 0074+00 1/0 0/0 0/0 .text saveQuestion3__12dMenu_save_cFv */
void dMenu_save_c::saveQuestion3() {
mDisplayMenu = true;
mWaitTimer = g_msHIO.mFadeOutTimer;
@@ -890,7 +859,6 @@ void dMenu_save_c::saveQuestion3() {
mMenuProc = PROC_SAVE_QUESTION4;
}
/* 801F16B8-801F16F4 1EBFF8 003C+00 1/0 0/0 0/0 .text saveQuestion4__12dMenu_save_cFv */
void dMenu_save_c::saveQuestion4() {
if (mDoRst::isReset()) {
return;
@@ -905,7 +873,6 @@ void dMenu_save_c::saveQuestion4() {
mMenuProc = PROC_MEMCARD_CHECK;
}
/* 801F16F4-801F1720 1EC034 002C+00 1/0 0/0 0/0 .text saveGuide__12dMenu_save_cFv */
void dMenu_save_c::saveGuide() {
if (mpScrnExplain->getStatus() == 0) {
mEndStatus = 1;
@@ -914,7 +881,6 @@ void dMenu_save_c::saveGuide() {
}
}
/* 801F1720-801F191C 1EC060 01FC+00 2/0 0/0 0/0 .text memCardCheck__12dMenu_save_cFv */
void dMenu_save_c::memCardCheck() {
u32 cardStatus = g_mDoMemCd_control.getStatus(0);
@@ -984,7 +950,6 @@ void dMenu_save_c::memCardCheck() {
}
}
/* 801F191C-801F19A8 1EC25C 008C+00 1/0 0/0 0/0 .text memCardErrMsgWaitKey__12dMenu_save_cFv */
void dMenu_save_c::memCardErrMsgWaitKey() {
if (cAPICPad_ANY_BUTTON(PAD_1) && dMeter2Info_getMsgKeyWaitTimer() == 0) {
if (mErrProc == 0x3D) {
@@ -998,15 +963,12 @@ void dMenu_save_c::memCardErrMsgWaitKey() {
}
}
/* 801F19A8-801F19DC 1EC2E8 0034+00 1/1 0/0 0/0 .text backSaveQuestionInitSet__12dMenu_save_cFv */
void dMenu_save_c::backSaveQuestionInitSet() {
field_0x2190 = 1;
mYesNoCursor = CURSOR_YES;
msgTxtSet(0x3CE, true); // Do you want to save?
}
/* 801F19DC-801F1A48 1EC31C 006C+00 1/0 0/0 0/0 .text backSaveQuestion__12dMenu_save_cFv
*/
void dMenu_save_c::backSaveQuestion() {
mWaitTimer = g_msHIO.mFadeOutTimer;
mDoGph_gInf_c::startFadeOut(mWaitTimer);
@@ -1014,8 +976,6 @@ void dMenu_save_c::backSaveQuestion() {
mMenuProc = PROC_BACK_SAVE_QUESTION2;
}
/* 801F1A48-801F1B38 1EC388 00F0+00 1/0 0/0 0/0 .text backSaveQuestion2__12dMenu_save_cFv
*/
void dMenu_save_c::backSaveQuestion2() {
if (mWaitTimer != 0) {
mWaitTimer--;
@@ -1051,7 +1011,6 @@ void dMenu_save_c::backSaveQuestion2() {
}
}
/* 801F1B38-801F1BF8 1EC478 00C0+00 5/5 0/0 0/0 .text closeSelect__12dMenu_save_cFv */
void dMenu_save_c::closeSelect() {
mDoAud_seStart(Z2SE_SY_MENU_BACK, NULL, 0, 0);
mSelIcon->setAlphaRate(0.0f);
@@ -1069,7 +1028,6 @@ void dMenu_save_c::closeSelect() {
}
}
/* 801F1BF8-801F1C70 1EC538 0078+00 2/2 0/0 0/0 .text closeSelect2__12dMenu_save_cFv */
void dMenu_save_c::closeSelect2() {
mDoAud_seStart(Z2SE_SY_CURSOR_OK, NULL, 0, 0);
mSelIcon->setAlphaRate(0.0f);
@@ -1077,13 +1035,10 @@ void dMenu_save_c::closeSelect2() {
mMenuProc = PROC_BACK_SAVE_QUESTION;
}
/* 801F1C70-801F1C94 1EC5B0 0024+00 1/0 0/0 0/0 .text iplSelMsgInitSet__12dMenu_save_cFv
*/
void dMenu_save_c::iplSelMsgInitSet() {
errorTxtSet(0x3B5); // Either insert a MemCard with free space or manage card contents
}
/* 801F1C94-801F1CEC 1EC5D4 0058+00 1/0 0/0 0/0 .text iplSelInitSet__12dMenu_save_cFv */
void dMenu_save_c::iplSelInitSet() {
errorTxtSet(0x3C0); // Would you like to manage the contents of your Memory Card?
mYesNoCursor = CURSOR_NO;
@@ -1091,7 +1046,6 @@ void dMenu_save_c::iplSelInitSet() {
yesnoMenuMoveAnmInitSet(2999, 3009, 0);
}
/* 801F1CEC-801F1D54 1EC62C 0068+00 1/0 0/0 0/0 .text IPLSelectDisp1__12dMenu_save_cFv */
void dMenu_save_c::IPLSelectDisp1() {
if (errorTxtChangeAnm() == true) {
mpErrFunc = &iplSelInitSet;
@@ -1100,7 +1054,6 @@ void dMenu_save_c::IPLSelectDisp1() {
}
}
/* 801F1D54-801F1DD4 1EC694 0080+00 1/0 0/0 0/0 .text IPLSelectDisp2__12dMenu_save_cFv */
void dMenu_save_c::IPLSelectDisp2() {
bool txtAnmComplete = errorTxtChangeAnm();
bool moveAnmComplete = yesnoMenuMoveAnm();
@@ -1112,7 +1065,6 @@ void dMenu_save_c::IPLSelectDisp2() {
}
}
/* 801F1DD4-801F1E58 1EC714 0084+00 1/0 0/0 0/0 .text memCardErrGoIPLSel__12dMenu_save_cFv */
void dMenu_save_c::memCardErrGoIPLSel() {
if (errYesNoSelect(1, 0)) {
if (mYesNoCursor != CURSOR_NO) {
@@ -1127,7 +1079,6 @@ void dMenu_save_c::memCardErrGoIPLSel() {
}
}
/* 801F1E58-801F1EE0 1EC798 0088+00 1/0 0/0 0/0 .text IPLSelect2Disp__12dMenu_save_cFv */
void dMenu_save_c::IPLSelect2Disp() {
bool txtAnmComplete = errorTxtChangeAnm();
bool moveAnmComplete = yesnoSelectMoveAnm(1);
@@ -1139,7 +1090,6 @@ void dMenu_save_c::IPLSelect2Disp() {
}
}
/* 801F1EE0-801F1F80 1EC820 00A0+00 1/0 0/0 0/0 .text memCardErrGoIPLSel2__12dMenu_save_cFv */
void dMenu_save_c::memCardErrGoIPLSel2() {
if (errYesNoSelect(1, 0)) {
if (mYesNoCursor != CURSOR_NO) {
@@ -1154,8 +1104,6 @@ void dMenu_save_c::memCardErrGoIPLSel2() {
}
}
/* 801F1F80-801F2000 1EC8C0 0080+00 1/0 0/0 0/0 .text memCardErrGotoIPL__12dMenu_save_cFv
*/
void dMenu_save_c::memCardErrGotoIPL() {
if (mWaitTimer != 0) {
mWaitTimer--;
@@ -1168,8 +1116,6 @@ void dMenu_save_c::memCardErrGotoIPL() {
mDoRst::onShutdown();
}
/* 801F2000-801F20AC 1EC940 00AC+00 1/0 0/0 0/0 .text memCardErrMsgWaitFormatSel__12dMenu_save_cFv
*/
void dMenu_save_c::memCardErrMsgWaitFormatSel() {
if (errYesNoSelect(1, 0)) {
if (mYesNoCursor != CURSOR_NO) {
@@ -1187,7 +1133,6 @@ void dMenu_save_c::memCardErrMsgWaitFormatSel() {
}
}
/* 801F20AC-801F2134 1EC9EC 0088+00 1/0 0/0 0/0 .text cardFormatYesSelDisp__12dMenu_save_cFv */
void dMenu_save_c::cardFormatYesSelDisp() {
bool txtChangeAnm = errorTxtChangeAnm();
bool moveAnm = yesnoSelectMoveAnm(1);
@@ -1199,7 +1144,6 @@ void dMenu_save_c::cardFormatYesSelDisp() {
}
}
/* 801F2134-801F219C 1ECA74 0068+00 1/0 0/0 0/0 .text cardFormatNoSelDisp__12dMenu_save_cFv */
void dMenu_save_c::cardFormatNoSelDisp() {
bool txtChangeAnm = errorTxtChangeAnm();
bool moveAnm = yesnoMenuMoveAnm();
@@ -1210,8 +1154,6 @@ void dMenu_save_c::cardFormatNoSelDisp() {
}
}
/* 801F219C-801F2250 1ECADC 00B4+00 1/0 0/0 0/0 .text
* memCardErrMsgWaitFormatSel2__12dMenu_save_cFv */
void dMenu_save_c::memCardErrMsgWaitFormatSel2() {
if (errYesNoSelect(1, 0)) {
if (mYesNoCursor != CURSOR_NO) {
@@ -1229,7 +1171,6 @@ void dMenu_save_c::memCardErrMsgWaitFormatSel2() {
}
}
/* 801F2250-801F22CC 1ECB90 007C+00 1/0 0/0 0/0 .text cardFormatYesSel2Disp__12dMenu_save_cFv */
void dMenu_save_c::cardFormatYesSel2Disp() {
bool txtChangeAnm = errorTxtChangeAnm();
bool moveAnm = yesnoMenuMoveAnm();
@@ -1241,7 +1182,6 @@ void dMenu_save_c::cardFormatYesSel2Disp() {
}
}
/* 801F22CC-801F232C 1ECC0C 0060+00 1/0 0/0 0/0 .text memCardFormat__12dMenu_save_cFv */
void dMenu_save_c::memCardFormat() {
if (mWaitTimer != 0) {
mWaitTimer--;
@@ -1254,8 +1194,6 @@ void dMenu_save_c::memCardFormat() {
}
}
/* 801F232C-801F23A4 1ECC6C 0078+00 1/0 0/0 0/0 .text memCardFormatWait__12dMenu_save_cFv
*/
void dMenu_save_c::memCardFormatWait() {
if (mWaitTimer != 0) {
mWaitTimer--;
@@ -1271,7 +1209,6 @@ void dMenu_save_c::memCardFormatWait() {
}
}
/* 801F23A4-801F23FC 1ECCE4 0058+00 1/0 0/0 0/0 .text gameFileMakeSelInitSet__12dMenu_save_cFv */
void dMenu_save_c::gameFileMakeSelInitSet() {
errorTxtSet(0x3C1); // Create a save file on the Memory Card in Slot A?
ketteiTxtDispAnmInit(1);
@@ -1279,7 +1216,6 @@ void dMenu_save_c::gameFileMakeSelInitSet() {
yesnoMenuMoveAnmInitSet(2999, 3009, 0);
}
/* 801F23FC-801F247C 1ECD3C 0080+00 1/0 0/0 0/0 .text makeGameFileSelDisp__12dMenu_save_cFv */
void dMenu_save_c::makeGameFileSelDisp() {
bool txtChangeAnm = errorTxtChangeAnm();
bool moveAnm = yesnoMenuMoveAnm();
@@ -1291,7 +1227,6 @@ void dMenu_save_c::makeGameFileSelDisp() {
}
}
/* 801F247C-801F2514 1ECDBC 0098+00 1/0 0/0 0/0 .text memCardMakeGameFileSel__12dMenu_save_cFv */
void dMenu_save_c::memCardMakeGameFileSel() {
if (errYesNoSelect(1, 0)) {
if (mYesNoCursor != CURSOR_NO) {
@@ -1307,8 +1242,6 @@ void dMenu_save_c::memCardMakeGameFileSel() {
}
}
/* 801F2514-801F25AC 1ECE54 0098+00 1/0 0/0 0/0 .text makeGameFileDisp__12dMenu_save_cFv
*/
void dMenu_save_c::makeGameFileDisp() {
bool txtChangeAnm = errorTxtChangeAnm();
bool moveAnm = yesnoMenuMoveAnm();
@@ -1322,7 +1255,6 @@ void dMenu_save_c::makeGameFileDisp() {
}
}
/* 801F25AC-801F260C 1ECEEC 0060+00 1/0 0/0 0/0 .text memCardMakeGameFile__12dMenu_save_cFv */
void dMenu_save_c::memCardMakeGameFile() {
if (mWaitTimer != 0) {
mWaitTimer--;
@@ -1335,7 +1267,6 @@ void dMenu_save_c::memCardMakeGameFile() {
}
}
/* 801F260C-801F2698 1ECF4C 008C+00 1/0 0/0 0/0 .text memCardMakeGameFileWait__12dMenu_save_cFv */
void dMenu_save_c::memCardMakeGameFileWait() {
if (mWaitTimer != 0) {
mWaitTimer--;
@@ -1352,8 +1283,6 @@ void dMenu_save_c::memCardMakeGameFileWait() {
}
}
/* 801F2698-801F2708 1ECFD8 0070+00 1/0 0/0 0/0 .text memCardCommandEnd__12dMenu_save_cFv
*/
void dMenu_save_c::memCardCommandEnd() {
if (errorTxtChangeAnm() == true) {
mpErrFunc = NULL;
@@ -1363,7 +1292,6 @@ void dMenu_save_c::memCardCommandEnd() {
}
}
/* 801F2708-801F27CC 1ED048 00C4+00 1/0 0/0 0/0 .text memCardCommandEnd2__12dMenu_save_cFv */
void dMenu_save_c::memCardCommandEnd2() {
bool headerTxtChanged = headerTxtChangeAnm();
bool ketteiDispAnm = ketteiTxtDispAnm();
@@ -1378,7 +1306,6 @@ void dMenu_save_c::memCardCommandEnd2() {
}
}
/* 801F27CC-801F2840 1ED10C 0074+00 1/0 0/0 0/0 .text memCardDataLoadWait__12dMenu_save_cFv */
void dMenu_save_c::memCardDataLoadWait() {
int cardState = g_mDoMemCd_control.LoadSync(mSaveBuffer, sizeof(mSaveBuffer), 0);
if (cardState != 0) {
@@ -1391,7 +1318,6 @@ void dMenu_save_c::memCardDataLoadWait() {
}
}
/* 801F2840-801F28E4 1ED180 00A4+00 2/2 0/0 0/0 .text dataWrite__12dMenu_save_cFv */
void dMenu_save_c::dataWrite() {
int stageNo = dStage_stagInfo_GetSaveTbl(dComIfGp_getStageStagInfo());
@@ -1408,7 +1334,6 @@ void dMenu_save_c::dataWrite() {
dataSave();
}
/* 801F28E4-801F298C 1ED224 00A8+00 1/0 0/0 0/0 .text memCardDataSaveWait__12dMenu_save_cFv */
void dMenu_save_c::memCardDataSaveWait() {
mDoAud_seStartLevel(Z2SE_SY_FILE_SAVE_LEVEL, NULL, 0, 0);
@@ -1423,7 +1348,6 @@ void dMenu_save_c::memCardDataSaveWait() {
}
}
/* 801F298C-801F2B5C 1ED2CC 01D0+00 1/0 0/0 0/0 .text memCardDataSaveWait2__12dMenu_save_cFv */
void dMenu_save_c::memCardDataSaveWait2() {
if (mWaitTimer != 0) {
mDoAud_seStartLevel(Z2SE_SY_FILE_SAVE_LEVEL, NULL, 0, 0);
@@ -1460,8 +1384,6 @@ void dMenu_save_c::memCardDataSaveWait2() {
}
}
/* 801F2B5C-801F2BF8 1ED49C 009C+00 1/0 0/0 0/0 .text gameContinueDisp__12dMenu_save_cFv
*/
void dMenu_save_c::gameContinueDisp() {
bool headerTxtChanged = headerTxtChangeAnm();
bool moveAnm = yesnoMenuMoveAnm();
@@ -1474,7 +1396,6 @@ void dMenu_save_c::gameContinueDisp() {
}
}
/* 801F2BF8-801F2D78 1ED538 0180+00 1/0 0/0 0/0 .text gameContinue__12dMenu_save_cFv */
void dMenu_save_c::gameContinue() {
if (errYesNoSelect(0, 1)) {
if (mYesNoCursor == CURSOR_YES) {
@@ -1522,7 +1443,6 @@ void dMenu_save_c::gameContinue() {
}
}
/* 801F2D78-801F2DA0 1ED6B8 0028+00 1/0 0/0 0/0 .text gameContinue2__12dMenu_save_cFv */
void dMenu_save_c::gameContinue2() {
if (mWaitTimer != 0) {
mWaitTimer--;
@@ -1532,7 +1452,6 @@ void dMenu_save_c::gameContinue2() {
mDoRst::onReset();
}
/* 801F2DA0-801F2DD4 1ED6E0 0034+00 1/0 0/0 0/0 .text gameContinue3__12dMenu_save_cFv */
void dMenu_save_c::gameContinue3() {
if (mWaitTimer != 0) {
mWaitTimer--;
@@ -1544,7 +1463,6 @@ void dMenu_save_c::gameContinue3() {
mEndStatus = 0;
}
/* 801F2DD4-801F2E88 1ED714 00B4+00 1/0 0/0 0/0 .text saveEnd__12dMenu_save_cFv */
void dMenu_save_c::saveEnd() {
bool headerTxtChanged = headerTxtChangeAnm();
bool ketteiDispAnm = ketteiTxtDispAnm();
@@ -1563,7 +1481,6 @@ void dMenu_save_c::saveEnd() {
}
}
/* 801F2E88-801F2F08 1ED7C8 0080+00 1/0 0/0 0/0 .text endingNoSave__12dMenu_save_cFv */
void dMenu_save_c::endingNoSave() {
if (YesNoSelect()) {
if (mYesNoCursor != CURSOR_NO) {
@@ -1579,7 +1496,6 @@ void dMenu_save_c::endingNoSave() {
}
}
/* 801F2F08-801F2F38 1ED848 0030+00 1/0 0/0 0/0 .text endingNoSave2__12dMenu_save_cFv */
void dMenu_save_c::endingNoSave2() {
if (mpScrnExplain != NULL && mpScrnExplain->getStatus() == 0) {
field_0x2190 = 0;
@@ -1589,14 +1505,11 @@ void dMenu_save_c::endingNoSave2() {
mMenuProc = PROC_SAVE_QUESTION;
}
/* 801F2F38-801F2F4C 1ED878 0014+00 1/0 0/0 0/0 .text endingDataCheck__12dMenu_save_cFv
*/
void dMenu_save_c::endingDataCheck() {
mMenuProc = PROC_SAVE_WAIT;
mSaveStatus = 3;
}
/* 801F2F4C-801F2FB4 1ED88C 0068+00 1/0 0/0 0/0 .text retryQuestion0__12dMenu_save_cFv */
void dMenu_save_c::retryQuestion0() {
if (Z2GetAudioMgr()->checkBgmIDPlaying(Z2BGM_GAME_OVER) != true) {
mYesNoCursor = CURSOR_YES;
@@ -1605,7 +1518,6 @@ void dMenu_save_c::retryQuestion0() {
}
}
/* 801F2FB4-801F3040 1ED8F4 008C+00 1/0 0/0 0/0 .text retryQuestion1__12dMenu_save_cFv */
void dMenu_save_c::retryQuestion1() {
if (YesNoSelect()) {
if (mYesNoCursor == CURSOR_YES) {
@@ -1622,7 +1534,6 @@ void dMenu_save_c::retryQuestion1() {
}
}
/* 801F3040-801F30B8 1ED980 0078+00 1/0 0/0 0/0 .text retryQuestion2__12dMenu_save_cFv */
void dMenu_save_c::retryQuestion2() {
if (YesNoSelect()) {
if (mYesNoCursor == CURSOR_YES) {
@@ -1637,7 +1548,6 @@ void dMenu_save_c::retryQuestion2() {
}
}
/* 801F30B8-801F31B0 1ED9F8 00F8+00 2/2 0/0 0/0 .text restartInit__12dMenu_save_cFv */
void dMenu_save_c::restartInit() {
// if monkey lantern sequence not completed
if (!dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[226])) {
@@ -1655,12 +1565,10 @@ void dMenu_save_c::restartInit() {
}
}
/* 801F31B0-801F31B4 1EDAF0 0004+00 1/0 0/0 0/0 .text saveWait__12dMenu_save_cFv */
void dMenu_save_c::saveWait() {
/* empty function */
}
/* 801F31B4-801F328C 1EDAF4 00D8+00 1/0 0/0 0/0 .text messageChange__12dMenu_save_cFv */
void dMenu_save_c::messageChange() {
if (mpScrnExplain != NULL) {
field_0x219d = mpScrnExplain->getStatus();
@@ -1689,7 +1597,6 @@ void dMenu_save_c::messageChange() {
}
}
/* 801F328C-801F34BC 1EDBCC 0230+00 4/4 0/0 0/0 .text YesNoSelect__12dMenu_save_cFv */
int dMenu_save_c::YesNoSelect() {
int ret = 0;
@@ -1742,7 +1649,6 @@ int dMenu_save_c::YesNoSelect() {
return ret;
}
/* 801F34BC-801F3588 1EDDFC 00CC+00 8/8 0/0 0/0 .text msgTxtSet__12dMenu_save_cFUsb */
void dMenu_save_c::msgTxtSet(u16 msgID, bool param_1) {
if (msgID != 0xFFFF) {
bool check;
@@ -1767,7 +1673,6 @@ void dMenu_save_c::msgTxtSet(u16 msgID, bool param_1) {
field_0x1b9 = 0;
}
/* 801F3588-801F36B4 1EDEC8 012C+00 1/0 0/0 0/0 .text openSaveSelect__12dMenu_save_cFv */
void dMenu_save_c::openSaveSelect() {
bool headerTxtChanged = headerTxtChangeAnm();
@@ -1795,8 +1700,6 @@ void dMenu_save_c::openSaveSelect() {
}
}
/* 801F36B4-801F37A0 1EDFF4 00EC+00 1/0 0/0 0/0 .text openSaveSelect2__12dMenu_save_cFv
*/
void dMenu_save_c::openSaveSelect2() {
bool headerTxtChanged = headerTxtChangeAnm();
bool dataMoveAnm = selectDataBaseMoveAnm();
@@ -1813,8 +1716,6 @@ void dMenu_save_c::openSaveSelect2() {
}
}
/* 801F37A0-801F3934 1EE0E0 0194+00 1/0 0/0 0/0 .text openSaveSelect3__12dMenu_save_cFv
*/
void dMenu_save_c::openSaveSelect3() {
bool modoruTxtDisp = modoruTxtDispAnm();
bool var_r30 = true;
@@ -1847,7 +1748,6 @@ void dMenu_save_c::openSaveSelect3() {
}
}
/* 801F3934-801F3A94 1EE274 0160+00 1/0 0/0 0/0 .text saveSelect__12dMenu_save_cFv */
void dMenu_save_c::saveSelect() {
if (!mDoRst::isReset()) {
stick->checkTrigger();
@@ -1876,8 +1776,6 @@ void dMenu_save_c::saveSelect() {
}
}
/* 801F3A94-801F3BE0 1EE3D4 014C+00 1/1 0/0 0/0 .text saveSelectStart__12dMenu_save_cFv
*/
void dMenu_save_c::saveSelectStart() {
mDoAud_seStart(Z2SE_SY_CURSOR_OK, NULL, 0, 0);
selectDataMoveAnmInitSet(SelOpenStartFrameTbl[mSelectedFile],
@@ -1903,7 +1801,6 @@ void dMenu_save_c::saveSelectStart() {
}
}
/* 801F3BE0-801F3C7C 1EE520 009C+00 1/0 0/0 0/0 .text selectDataOpenMove__12dMenu_save_cFv */
void dMenu_save_c::selectDataOpenMove() {
bool headerTxtChanged = headerTxtChangeAnm();
bool selDataAnmComplete = selectDataMoveAnm();
@@ -1917,8 +1814,6 @@ void dMenu_save_c::selectDataOpenMove() {
}
}
/* 801F3C7C-801F3E30 1EE5BC 01B4+00 1/1 0/0 0/0 .text dataSelectAnmSet__12dMenu_save_cFv
*/
void dMenu_save_c::dataSelectAnmSet() {
if (mSelectedFile != 0xFF) {
mpSelData[mSelectedFile]->getPanePtr()->setAnimation(field_0x40);
@@ -1939,7 +1834,6 @@ void dMenu_save_c::dataSelectAnmSet() {
}
}
/* 801F3E30-801F40D8 1EE770 02A8+00 1/0 0/0 0/0 .text saveSelectMoveAnime__12dMenu_save_cFv */
void dMenu_save_c::saveSelectMoveAnime() {
bool bookWakuAnmComplete = true;
bool selWakuAnmComplete = true;
@@ -1994,8 +1888,6 @@ void dMenu_save_c::saveSelectMoveAnime() {
}
}
/* 801F40D8-801F4238 1EEA18 0160+00 1/0 0/0 0/0 .text saveYesNoSelect__12dMenu_save_cFv
*/
void dMenu_save_c::saveYesNoSelect() {
if (!mDoRst::isReset()) {
stick->checkTrigger();
@@ -2024,8 +1916,6 @@ void dMenu_save_c::saveYesNoSelect() {
}
}
/* 801F4238-801F42FC 1EEB78 00C4+00 1/1 0/0 0/0 .text yesnoSelectStart__12dMenu_save_cFv
*/
void dMenu_save_c::yesnoSelectStart() {
if (mYesNoCursor != CURSOR_NO) {
mDoAud_seStart(Z2SE_SY_CURSOR_OK, NULL, 0, 0);
@@ -2041,7 +1931,6 @@ void dMenu_save_c::yesnoSelectStart() {
}
}
/* 801F42FC-801F43F8 1EEC3C 00FC+00 1/0 0/0 0/0 .text saveMoveDisp__12dMenu_save_cFv */
void dMenu_save_c::saveMoveDisp() {
mDoAud_seStartLevel(Z2SE_SY_FILE_SAVE_LEVEL, NULL, 0, 0);
@@ -2059,7 +1948,6 @@ void dMenu_save_c::saveMoveDisp() {
}
}
/* 801F43F8-801F4510 1EED38 0118+00 1/0 0/0 0/0 .text saveMoveDisp2__12dMenu_save_cFv */
void dMenu_save_c::saveMoveDisp2() {
mDoAud_seStartLevel(Z2SE_SY_FILE_SAVE_LEVEL, NULL, 0, 0);
@@ -2078,7 +1966,6 @@ void dMenu_save_c::saveMoveDisp2() {
}
}
/* 801F4510-801F46B4 1EEE50 01A4+00 4/4 0/0 0/0 .text yesnoSelectAnmSet__12dMenu_save_cFUc */
void dMenu_save_c::yesnoSelectAnmSet(u8 param_0) {
if (mYesNoPrevCursor != 0xFF) {
yesnoWakuAlpahAnmInit(mYesNoPrevCursor, 255, 0, g_msHIO.mSelectFrames);
@@ -2097,7 +1984,6 @@ void dMenu_save_c::yesnoSelectAnmSet(u8 param_0) {
}
}
/* 801F46B4-801F4724 1EEFF4 0070+00 1/0 0/0 0/0 .text yesNoCursorMoveAnm__12dMenu_save_cFv */
void dMenu_save_c::yesNoCursorMoveAnm() {
bool selAnmComplete = yesnoSelectMoveAnm(0);
bool wakuAnmComplete = yesnoWakuAlpahAnm(mYesNoPrevCursor);
@@ -2108,8 +1994,6 @@ void dMenu_save_c::yesNoCursorMoveAnm() {
}
}
/* 801F4724-801F47DC 1EF064 00B8+00 2/2 0/0 0/0 .text yesnoCancelAnmSet__12dMenu_save_cFv
*/
void dMenu_save_c::yesnoCancelAnmSet() {
mDoAud_seStart(Z2SE_SY_CURSOR_CANCEL, NULL, 0, 0);
mSelIcon->setAlphaRate(0.0f);
@@ -2120,7 +2004,6 @@ void dMenu_save_c::yesnoCancelAnmSet() {
mMenuProc = PROC_SAVE_YES_NO_CANCEL_MOVE;
}
/* 801F47DC-801F485C 1EF11C 0080+00 1/0 0/0 0/0 .text saveYesNoCancelMove__12dMenu_save_cFv */
void dMenu_save_c::saveYesNoCancelMove() {
bool headerTxtChanged = headerTxtChangeAnm();
bool yesnoAnmComplete = yesnoMenuMoveAnm();
@@ -2132,7 +2015,6 @@ void dMenu_save_c::saveYesNoCancelMove() {
}
}
/* 801F485C-801F4928 1EF19C 00CC+00 7/7 0/0 0/0 .text headerTxtSet__12dMenu_save_cFUs */
void dMenu_save_c::headerTxtSet(u16 msgID) {
if (msgID == 0xFFFF) {
strcpy(mpHeaderTxt[mHeaderTxtType ^ 1], "");
@@ -2147,7 +2029,6 @@ void dMenu_save_c::headerTxtSet(u16 msgID) {
mHeaderAnmComplete = false;
}
/* 801F4928-801F4A10 1EF268 00E8+00 10/10 0/0 0/0 .text headerTxtChangeAnm__12dMenu_save_cFv */
bool dMenu_save_c::headerTxtChangeAnm() {
if (mHeaderAnmComplete) {
return true;
@@ -2169,7 +2050,6 @@ bool dMenu_save_c::headerTxtChangeAnm() {
return changed;
}
/* 801F4A10-801F4B84 1EF350 0174+00 1/1 0/0 0/0 .text errDispInitSet__12dMenu_save_cFi */
void dMenu_save_c::errDispInitSet(int param_0) {
headerTxtSet(1);
mpErrTxtPane[mErrTxtType]->setAlpha(255);
@@ -2197,8 +2077,6 @@ void dMenu_save_c::errDispInitSet(int param_0) {
mMenuProc = PROC_MSG_WINDOW_INIT_OPEN;
}
/* 801F4B84-801F4D10 1EF4C4 018C+00 1/0 0/0 0/0 .text msgWindowInitOpen__12dMenu_save_cFv
*/
void dMenu_save_c::msgWindowInitOpen() {
bool headerTxtChanged = true;
@@ -2242,7 +2120,6 @@ void dMenu_save_c::msgWindowInitOpen() {
}
}
/* 801F4D10-801F4DAC 1EF650 009C+00 1/0 0/0 0/0 .text msgWindowOpen__12dMenu_save_cFv */
void dMenu_save_c::msgWindowOpen() {
bool errorAnmComplete = errorMoveAnm();
bool yesnoAnmComplete = true;
@@ -2262,7 +2139,6 @@ void dMenu_save_c::msgWindowOpen() {
}
}
/* 801F4DAC-801F4E48 1EF6EC 009C+00 1/0 0/0 0/0 .text msgWindowClose__12dMenu_save_cFv */
void dMenu_save_c::msgWindowClose() {
bool errorAnmComplete = errorMoveAnm();
bool yenoAnmComplete = true;
@@ -2282,8 +2158,6 @@ void dMenu_save_c::msgWindowClose() {
}
}
/* 801F4E48-801F4FB4 1EF788 016C+00 6/6 0/0 0/0 .text errYesNoSelect__12dMenu_save_cFUcUc
*/
bool dMenu_save_c::errYesNoSelect(u8 param_0, u8 param_1) {
bool yesnoSelected = false;
@@ -2317,7 +2191,6 @@ bool dMenu_save_c::errYesNoSelect(u8 param_0, u8 param_1) {
return yesnoSelected;
}
/* 801F4FB4-801F5054 1EF8F4 00A0+00 1/1 0/0 0/0 .text errCurMove__12dMenu_save_cFUcUc */
void dMenu_save_c::errCurMove(u8 param_0, u8 param_1) {
mYesNoPrevCursor = mYesNoCursor;
mYesNoCursor ^= 1;
@@ -2329,7 +2202,6 @@ void dMenu_save_c::errCurMove(u8 param_0, u8 param_1) {
mMenuProc = PROC_ERR_YES_NO_CURSOR_MOVE_ANM;
}
/* 801F5054-801F50C4 1EF994 0070+00 1/0 0/0 0/0 .text errYesNoCursorMoveAnm__12dMenu_save_cFv */
void dMenu_save_c::errYesNoCursorMoveAnm() {
bool moveAnmComplete = yesnoSelectMoveAnm(field_0x2195);
bool wakuAnmComplete = yesnoWakuAlpahAnm(mYesNoPrevCursor);
@@ -2340,7 +2212,6 @@ void dMenu_save_c::errYesNoCursorMoveAnm() {
}
}
/* 801F50C4-801F5190 1EFA04 00CC+00 9/9 0/0 0/0 .text errorTxtSet__12dMenu_save_cFUs */
void dMenu_save_c::errorTxtSet(u16 msgID) {
if (msgID == 0xFFFF) {
strcpy(mpErrTxt[mErrTxtType ^ 1], "");
@@ -2354,8 +2225,6 @@ void dMenu_save_c::errorTxtSet(u16 msgID) {
mErrTxtAnmComplete = false;
}
/* 801F5190-801F5278 1EFAD0 00E8+00 9/9 0/0 0/0 .text errorTxtChangeAnm__12dMenu_save_cFv
*/
bool dMenu_save_c::errorTxtChangeAnm() {
if (mErrTxtAnmComplete) {
return true;
@@ -2377,7 +2246,6 @@ bool dMenu_save_c::errorTxtChangeAnm() {
return anmComplete;
}
/* 801F5278-801F533C 1EFBB8 00C4+00 1/1 0/0 0/0 .text saveSelectOpenInit__12dMenu_save_cFv */
void dMenu_save_c::saveSelectOpenInit() {
if (field_0x64 != 0 || field_0x65 != 0) {
selectDataBaseMoveAnmInitSet(0x21, 1);
@@ -2397,8 +2265,6 @@ void dMenu_save_c::saveSelectOpenInit() {
mMenuProc = PROC_OPEN_SAVE_SELECT;
}
/* 801F533C-801F53D4 1EFC7C 0098+00 3/3 0/0 0/0 .text
* selectDataBaseMoveAnmInitSet__12dMenu_save_cFii */
void dMenu_save_c::selectDataBaseMoveAnmInitSet(int param_0, int param_1) {
mpSelectMoveBase->getPanePtr()->setAnimation(field_0x40);
mDataBaseMoveAnmFrame = param_0;
@@ -2409,7 +2275,6 @@ void dMenu_save_c::selectDataBaseMoveAnmInitSet(int param_0, int param_1) {
field_0x65 = 1;
}
/* 801F53D4-801F54C0 1EFD14 00EC+00 3/3 0/0 0/0 .text selectDataBaseMoveAnm__12dMenu_save_cFv */
bool dMenu_save_c::selectDataBaseMoveAnm() {
if (mDataBaseMoveAnmFrame != mDataBaseMoveFrameMax) {
if (mDataBaseMoveAnmFrame < mDataBaseMoveFrameMax) {
@@ -2451,7 +2316,6 @@ bool dMenu_save_c::selectDataBaseMoveAnm() {
}
}
/* 801F54C0-801F5508 1EFE00 0048+00 1/1 0/0 0/0 .text saveSelectOpenAnmSet__12dMenu_save_cFv */
void dMenu_save_c::saveSelectOpenAnmSet() {
setSaveData();
@@ -2460,8 +2324,6 @@ void dMenu_save_c::saveSelectOpenAnmSet() {
}
}
/* 801F5508-801F5600 1EFE48 00F8+00 2/2 0/0 0/0 .text selectDataMoveAnmInitSet__12dMenu_save_cFii
*/
void dMenu_save_c::selectDataMoveAnmInitSet(int param_0, int param_1) {
mpSelData[0]->getPanePtr()->setAnimation(field_0x40);
mpSelData[1]->getPanePtr()->setAnimation(field_0x40);
@@ -2476,8 +2338,6 @@ void dMenu_save_c::selectDataMoveAnmInitSet(int param_0, int param_1) {
mpSelData[2]->getPanePtr()->animationTransform();
}
/* 801F5600-801F5744 1EFF40 0144+00 3/3 0/0 0/0 .text selectDataMoveAnm__12dMenu_save_cFv
*/
bool dMenu_save_c::selectDataMoveAnm() {
if (field_0x74[mSelectedFile] != field_0x80) {
if (field_0x74[mSelectedFile] < field_0x80) {
@@ -2508,8 +2368,6 @@ bool dMenu_save_c::selectDataMoveAnm() {
}
}
/* 801F5744-801F58C8 1F0084 0184+00 12/12 0/0 0/0 .text
* yesnoMenuMoveAnmInitSet__12dMenu_save_cFiiUc */
void dMenu_save_c::yesnoMenuMoveAnmInitSet(int anmFrame, int frameMax, u8 param_2) {
if (param_2 == 0 && field_0x9c == 0) {
mYesNoCursor = CURSOR_NO;
@@ -2535,7 +2393,6 @@ void dMenu_save_c::yesnoMenuMoveAnmInitSet(int anmFrame, int frameMax, u8 param_
field_0x9d = 1;
}
/* 801F58C8-801F5AE4 1F0208 021C+00 13/13 0/0 0/0 .text yesnoMenuMoveAnm__12dMenu_save_cFv */
bool dMenu_save_c::yesnoMenuMoveAnm() {
if (mYesNoMoveAnmFrame != mYesNoMoveAnmMax) {
if (mYesNoMoveAnmFrame < mYesNoMoveAnmMax) {
@@ -2584,7 +2441,6 @@ bool dMenu_save_c::yesnoMenuMoveAnm() {
}
}
/* 801F5AE4-801F5D84 1F0424 02A0+00 4/4 0/0 0/0 .text yesnoSelectMoveAnm__12dMenu_save_cFUc */
bool dMenu_save_c::yesnoSelectMoveAnm(u8 param_0) {
bool ret = false;
bool var_r30 = true;
@@ -2647,8 +2503,6 @@ bool dMenu_save_c::yesnoSelectMoveAnm(u8 param_0) {
return ret;
}
/* 801F5D84-801F5EF4 1F06C4 0170+00 9/9 0/0 0/0 .text yesnoCursorShow__12dMenu_save_cFv
*/
void dMenu_save_c::yesnoCursorShow() {
if (mYesNoCursor != 0xFF) {
((J2DTextBox*)mpNoYesTxt[mYesNoCursor]->getPanePtr())
@@ -2665,7 +2519,6 @@ void dMenu_save_c::yesnoCursorShow() {
}
}
/* 801F5EF4-801F5F84 1F0834 0090+00 3/3 0/0 0/0 .text errorMoveAnmInitSet__12dMenu_save_cFii */
void dMenu_save_c::errorMoveAnmInitSet(int param_0, int param_1) {
field_0xb4->setAnimation(field_0x4c);
field_0xb8 = param_0;
@@ -2675,7 +2528,6 @@ void dMenu_save_c::errorMoveAnmInitSet(int param_0, int param_1) {
field_0xd3 = 1;
}
/* 801F5F84-801F60A4 1F08C4 0120+00 4/4 0/0 0/0 .text errorMoveAnm__12dMenu_save_cFv */
bool dMenu_save_c::errorMoveAnm() {
if (field_0xb8 != field_0xbc) {
if (field_0xb8 < field_0xbc) {
@@ -2710,7 +2562,6 @@ bool dMenu_save_c::errorMoveAnm() {
}
}
/* 801F60A4-801F6120 1F09E4 007C+00 5/5 0/0 0/0 .text modoruTxtDispAnmInit__12dMenu_save_cFUc */
void dMenu_save_c::modoruTxtDispAnmInit(u8 param_0) {
field_0x1a8 = param_0;
if ((param_0 != 0 || mpBackTxt->getAlpha() != 0) &&
@@ -2724,8 +2575,6 @@ void dMenu_save_c::modoruTxtDispAnmInit(u8 param_0) {
mpBBtnIcon->alphaAnimeStart(g_msHIO.mCharSwitchFrames);
}
/* 801F6120-801F61FC 1F0A60 00DC+00 5/5 0/0 0/0 .text modoruTxtDispAnm__12dMenu_save_cFv
*/
bool dMenu_save_c::modoruTxtDispAnm() {
bool txtAnmComplete;
bool btnAnmComplete;
@@ -2745,7 +2594,6 @@ bool dMenu_save_c::modoruTxtDispAnm() {
return false;
}
/* 801F61FC-801F6278 1F0B3C 007C+00 9/9 0/0 0/0 .text ketteiTxtDispAnmInit__12dMenu_save_cFUc */
void dMenu_save_c::ketteiTxtDispAnmInit(u8 param_0) {
field_0x1a9 = param_0;
if ((param_0 != 0 || mpConfirmTxt->getAlpha() != 0) &&
@@ -2759,7 +2607,6 @@ void dMenu_save_c::ketteiTxtDispAnmInit(u8 param_0) {
mpABtnIcon->alphaAnimeStart(g_msHIO.mCharSwitchFrames);
}
/* 801F6278-801F6354 1F0BB8 00DC+00 11/11 0/0 0/0 .text ketteiTxtDispAnm__12dMenu_save_cFv */
bool dMenu_save_c::ketteiTxtDispAnm() {
bool txtAnmComplete;
bool btnAnmComplete;
@@ -2779,8 +2626,6 @@ bool dMenu_save_c::ketteiTxtDispAnm() {
return false;
}
/* 801F6354-801F6390 1F0C94 003C+00 2/2 0/0 0/0 .text
* selectWakuAlpahAnmInit__12dMenu_save_cFUcUcUcUc */
void dMenu_save_c::selectWakuAlpahAnmInit(u8 param_0, u8 param_1, u8 param_2, u8 param_3) {
mpSelWakuMoyo[param_0]->alphaAnimeStart(0);
mpSelWakuGold[param_0]->alphaAnimeStart(0);
@@ -2790,7 +2635,6 @@ void dMenu_save_c::selectWakuAlpahAnmInit(u8 param_0, u8 param_1, u8 param_2, u8
field_0x10a[param_0] = param_3;
}
/* 801F6390-801F6458 1F0CD0 00C8+00 3/3 0/0 0/0 .text selectWakuAlpahAnm__12dMenu_save_cFUc */
bool dMenu_save_c::selectWakuAlpahAnm(u8 param_0) {
bool anmComplete = false;
bool moyoAnmComplete = mpSelWakuMoyo[param_0]->alphaAnime(
@@ -2807,8 +2651,6 @@ bool dMenu_save_c::selectWakuAlpahAnm(u8 param_0) {
return anmComplete;
}
/* 801F6458-801F6608 1F0D98 01B0+00 3/3 0/0 0/0 .text selFileCursorShow__12dMenu_save_cFv
*/
void dMenu_save_c::selFileCursorShow() {
mpSelWakuMoyo[mSelectedFile]->getPanePtr()->scale(1.0f, 1.0f);
mpSelWakuGold[mSelectedFile]->getPanePtr()->scale(1.0f, 1.0f);
@@ -2824,8 +2666,6 @@ void dMenu_save_c::selFileCursorShow() {
mSelIcon->setParam(0.96f, 0.94f, 0.03f, 0.7f, 0.7f);
}
/* 801F6608-801F6654 1F0F48 004C+00 1/1 0/0 0/0 .text
* yesnoWakuAlpahAnmInit__12dMenu_save_cFUcUcUcUc */
void dMenu_save_c::yesnoWakuAlpahAnmInit(u8 yesnoIdx, u8 startAlpha, u8 endAlpha, u8 anmTimer) {
if (yesnoIdx != 0xFF) {
mNoYesBase[yesnoIdx]->alphaAnimeStart(0);
@@ -2838,7 +2678,6 @@ void dMenu_save_c::yesnoWakuAlpahAnmInit(u8 yesnoIdx, u8 startAlpha, u8 endAlpha
}
}
/* 801F6654-801F67B8 1F0F94 0164+00 4/4 0/0 0/0 .text yesnoWakuAlpahAnm__12dMenu_save_cFUc */
bool dMenu_save_c::yesnoWakuAlpahAnm(u8 yesnoIdx) {
if (yesnoIdx == 0xFF) {
return true;
@@ -2870,12 +2709,10 @@ bool dMenu_save_c::yesnoWakuAlpahAnm(u8 yesnoIdx) {
return anmComplete;
}
/* 801F67B8-801F67F0 1F10F8 0038+00 2/2 0/0 0/0 .text dataSave__12dMenu_save_cFv */
void dMenu_save_c::dataSave() {
g_mDoMemCd_control.save(mSaveBuffer, sizeof(mSaveBuffer), 0);
}
/* 801F67F0-801F6954 1F1130 0164+00 2/2 0/0 0/0 .text setSaveData__12dMenu_save_cFv */
void dMenu_save_c::setSaveData() {
u8* save = mSaveBuffer;
@@ -2912,8 +2749,6 @@ void dMenu_save_c::setSaveData() {
}
}
/* 801F6954-801F69B8 1F1294 0064+00 1/1 0/0 0/0 .text setInitSaveData__12dMenu_save_cFv
*/
void dMenu_save_c::setInitSaveData() {
for (int i = 0; i < 3; i++) {
dComIfGs_setInitDataToCard(mSaveBuffer, i);
@@ -2921,14 +2756,12 @@ void dMenu_save_c::setInitSaveData() {
}
}
/* 801F69B8-801F69FC 1F12F8 0044+00 0/0 1/1 0/0 .text _draw__12dMenu_save_cFv */
void dMenu_save_c::_draw() {
if (field_0x21a1 == 0 && mpScrnExplain != NULL) {
mpScrnExplain->draw((J2DOrthoGraph*)dComIfGp_getCurrentGrafPort());
}
}
/* 801F69FC-801F6ADC 1F133C 00E0+00 0/0 2/2 0/0 .text _draw2__12dMenu_save_cFv */
void dMenu_save_c::_draw2() {
if (field_0x21a1 == 0) {
if (mpScrnExplain != NULL) {
@@ -2950,14 +2783,11 @@ void dMenu_save_c::_draw2() {
}
}
/* 801F6ADC-801F6B0C 1F141C 0030+00 1/0 0/0 0/0 .text draw__23dDlst_MenuSaveExplain_cFv
*/
void dDlst_MenuSaveExplain_c::draw() {
mpScrn->draw((J2DOrthoGraph*)dComIfGp_getCurrentGrafPort());
}
/* 801F6B0C-801F6B44 1F144C 0038+00 1/0 0/0 0/0 .text draw__16dDlst_MenuSave_cFv */
void dDlst_MenuSave_c::draw() {
Scr->draw(0.0f, 0.0f, dComIfGp_getCurrentGrafPort());
}