mirror of
https://github.com/zeldaret/tp
synced 2026-06-10 12:55:34 -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:
@@ -84,7 +84,6 @@ namespace {
|
||||
}
|
||||
};
|
||||
|
||||
/* 8082F480-8082F4C4 000060 0044+00 0/1 0/0 0/0 .data cc_zhCyl_src__22@unnamed@d_a_e_zh_cpp@ */
|
||||
static dCcD_SrcCyl cc_zhCyl_src = {
|
||||
{
|
||||
{0, {{AT_TYPE_0, 0, 0}, {0xD84860BA, 3}, 0x15}},
|
||||
@@ -97,7 +96,6 @@ namespace {
|
||||
}
|
||||
};
|
||||
|
||||
/* 8082F4C4-8082F508 0000A4 0044+00 0/1 0/0 0/0 .data cc_zhCyl_at_src__22@unnamed@d_a_e_zh_cpp@ */
|
||||
static dCcD_SrcCyl cc_zhCyl_at_src = {
|
||||
{
|
||||
{0, {{AT_TYPE_CSTATUE_SWING, 4, 0xD}, {0, 0}, 0}},
|
||||
@@ -121,7 +119,6 @@ daE_ZH_HIO_c::daE_ZH_HIO_c() {
|
||||
dungeon_bit_check = 0;
|
||||
}
|
||||
|
||||
/* 8082F725 0003+00 data_8082F725 None */
|
||||
static u8 hio_set;
|
||||
|
||||
static daE_ZH_HIO_c l_HIO;
|
||||
@@ -2333,7 +2330,7 @@ static actor_method_class l_daE_ZH_Method = {
|
||||
(process_method_func)daE_ZH_Draw,
|
||||
};
|
||||
|
||||
extern actor_process_profile_definition g_profile_E_ZH = {
|
||||
actor_process_profile_definition g_profile_E_ZH = {
|
||||
fpcLy_CURRENT_e, // mLayerID
|
||||
7, // mListID
|
||||
fpcPi_CURRENT_e, // mListPrio
|
||||
|
||||
Reference in New Issue
Block a user