Silence unused param warnings for IsDelete functions

This commit is contained in:
LagoLunatic
2026-08-16 12:20:21 -04:00
parent 150819d7ed
commit 2d094c263e
123 changed files with 241 additions and 118 deletions
+21 -20
View File
@@ -415,58 +415,59 @@ s32 daSwhit0_c::draw() {
}
/* 000011E4-00001334 .text daSwhit0_Draw__FP10daSwhit0_c */
static s32 daSwhit0_Draw(daSwhit0_c* i_swhit) {
return i_swhit->draw();
static s32 daSwhit0_Draw(daSwhit0_c* i_this) {
return i_this->draw();
}
/* 00001334-00001420 .text daSwhit0_Execute__FP10daSwhit0_c */
static s32 daSwhit0_Execute(daSwhit0_c* i_swhit) {
i_swhit->mAnm.play();
i_swhit->mTexAnm.play();
static s32 daSwhit0_Execute(daSwhit0_c* i_this) {
i_this->mAnm.play();
i_this->mTexAnm.play();
switch (i_swhit->mState) {
switch (i_this->mState) {
case 0:
i_swhit->actionOffWait();
i_this->actionOffWait();
break;
case 1:
i_swhit->actionToOnReady();
i_this->actionToOnReady();
break;
case 2:
i_swhit->actionToOnOrder();
i_this->actionToOnOrder();
break;
case 3:
i_swhit->actionToOnDemo();
i_this->actionToOnDemo();
break;
case 4:
i_swhit->actionOnWait();
i_this->actionOnWait();
break;
case 5:
i_swhit->actionOnTimer();
i_this->actionOnTimer();
break;
}
if (i_swhit->checkFlag(0x02)) {
dComIfG_Ccsp()->Set(&i_swhit->mColCyl);
if (i_this->checkFlag(0x02)) {
dComIfG_Ccsp()->Set(&i_this->mColCyl);
}
dComIfG_Ccsp()->Set(&i_swhit->mColSph);
dComIfG_Ccsp()->Set(&i_this->mColSph);
return TRUE;
}
/* 00001420-00001428 .text daSwhit0_IsDelete__FP10daSwhit0_c */
static s32 daSwhit0_IsDelete(daSwhit0_c* i_swhit) {
static s32 daSwhit0_IsDelete(daSwhit0_c* i_this) {
UNUSED(i_this);
return TRUE;
}
/* 00001428-00001450 .text daSwhit0_Delete__FP10daSwhit0_c */
static s32 daSwhit0_Delete(daSwhit0_c* i_swhit) {
i_swhit->~daSwhit0_c();
static s32 daSwhit0_Delete(daSwhit0_c* i_this) {
i_this->~daSwhit0_c();
return TRUE;
}
/* 00001450-00001470 .text daSwhit0_Create__FP10fopAc_ac_c */
static cPhs_State daSwhit0_Create(fopAc_ac_c* i_swhit) {
return static_cast<daSwhit0_c*>(i_swhit)->create();
static cPhs_State daSwhit0_Create(fopAc_ac_c* i_this) {
return static_cast<daSwhit0_c*>(i_this)->create();
}
static actor_method_class l_daSwhit0_Method = {