mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-26 16:31:57 -04:00
Clean up code, remove fakematches, add UNUSED, enable warnings (#2992)
* Remove NDEBUG_DEFINED fakematch, clean up getName temps * Fix ifdef * Fix bad JSystem pch ifdef breaking decomp.me * Remove Acch Chk fakematches * Private Acch fields * Fix some clangd errors in headers * Add UNUSED macro for matching debug parameters * Enable clangd unused-parameter warning * Remove extern from initializers Probably added by dol2asm? * Fix process profile definitions * Remove leftover dol2asm address comments * Remove some unnecessary double casts * Enable some more clangd warnings * Fix missing usages of fopAcM_ct * Fix wrong enum usage * Fix more fakematches
This commit is contained in:
@@ -739,7 +739,7 @@ void daObjIceBlk_c::actionWait() {
|
||||
if (mMode == MODE_PROC_WALK_e && mWalkType == WALK_PUSH) {
|
||||
setAction(ACTION_ORDER_EVENT_e);
|
||||
fopAcM_orderPotentialEvent(this, 2, 0, 0);
|
||||
eventInfo.onCondition(fopAcCnd_NOEXEC_e);
|
||||
eventInfo.onCondition(dEvtCnd_CANDEMO_e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -752,7 +752,7 @@ void daObjIceBlk_c::actionOrderEvent() {
|
||||
camera->mCamera.SetTrimSize(1);
|
||||
} else if (mMode == MODE_PROC_WALK_e) {
|
||||
fopAcM_orderPotentialEvent(this, 2, 0, 0);
|
||||
eventInfo.onCondition(fopAcCnd_NOEXEC_e);
|
||||
eventInfo.onCondition(dEvtCnd_CANDEMO_e);
|
||||
} else {
|
||||
setAction(ACTION_WAIT_e);
|
||||
}
|
||||
@@ -833,7 +833,7 @@ static actor_method_class daObjIceBlk_METHODS = {
|
||||
(process_method_func)daObjIceBlk_MoveBGDraw,
|
||||
};
|
||||
|
||||
extern actor_process_profile_definition g_profile_Obj_IceBlock = {
|
||||
actor_process_profile_definition g_profile_Obj_IceBlock = {
|
||||
fpcLy_CURRENT_e, // mLayerID
|
||||
3, // mListID
|
||||
fpcPi_CURRENT_e, // mListPrio
|
||||
|
||||
Reference in New Issue
Block a user