mirror of
https://github.com/zeldaret/tp
synced 2026-06-24 01:31:37 -04:00
Debug version now builds OK and all_source compiles (#2343)
* Fix missing arg to JUT_ASSERT * Fix some MWCC version diff errors * Compile m_Do_ext, d_demo, actor_mng * Add VSCode task to quickly switch between versions * Unlink magLift for debug * Update the hash of the debug dol The old cbea5fa... hash here was for the dol generated by the alf2dol.py script, which produces incorrect alignment. The dol with the new hash can be obtained by using `dtk elf2dol` to convert the debug .alf file to a dol. The DOL now builds OK. * Fix all debug REL dtor splits All RELs now also build OK, meaning `ninja build/ShieldD/ok` now succeeds. * Add genMessage declarations to all HIO subclasses * Fixing more compilation errors * m_Do_mtx 100% on debug Cannot be linked due to weak function name mangling? * Improve various matches * Fix all remaining compilation errors * Fix new compilation errors from main * Fix retail regression * Link f_pc_profile_lst
This commit is contained in:
@@ -75,7 +75,7 @@ u8 door_param2_c::getEventNo2(fopAc_ac_c* i_actor) {
|
||||
|
||||
/* 8003A218-8003A224 034B58 000C+00 0/0 0/0 2/2 .text getMsgNo__13door_param2_cFP10fopAc_ac_c */
|
||||
u16 door_param2_c::getMsgNo(fopAc_ac_c* i_actor) {
|
||||
return i_actor->home.angle.x;
|
||||
return i_actor->home.angle.x & 0xFFFF;
|
||||
}
|
||||
|
||||
/* 8003A224-8003A230 034B64 000C+00 0/0 0/0 6/6 .text getExitNo__13door_param2_cFP10fopAc_ac_c */
|
||||
@@ -86,23 +86,23 @@ u8 door_param2_c::getExitNo(fopAc_ac_c* i_actor) {
|
||||
/* 8003A230-8003A23C 034B70 000C+00 0/0 0/0 1/1 .text getFLightInf__13door_param2_cFP10fopAc_ac_c
|
||||
*/
|
||||
u32 door_param2_c::getFLightInf(fopAc_ac_c* i_actor) {
|
||||
return fopAcM_GetParamBit(i_actor, 25, 3);
|
||||
return fopAcM_GetParamBit(i_actor, 25, 3) & 0xFF;
|
||||
}
|
||||
|
||||
/* 8003A23C-8003A248 034B7C 000C+00 0/0 0/0 1/1 .text getBLightInf__13door_param2_cFP10fopAc_ac_c
|
||||
*/
|
||||
u32 door_param2_c::getBLightInf(fopAc_ac_c* i_actor) {
|
||||
return fopAcM_GetParamBit(i_actor, 28, 3);
|
||||
return fopAcM_GetParamBit(i_actor, 28, 3) & 0xFF;
|
||||
}
|
||||
|
||||
/* 8003A248-8003A254 034B88 000C+00 0/0 0/0 1/1 .text getMFLightInf__13door_param2_cFP10fopAc_ac_c
|
||||
*/
|
||||
u32 door_param2_c::getMFLightInf(fopAc_ac_c* i_actor) {
|
||||
return fopAcM_GetParamBit(i_actor, 19, 3);
|
||||
return fopAcM_GetParamBit(i_actor, 19, 3) & 0xFF;
|
||||
}
|
||||
|
||||
/* 8003A254-8003A260 034B94 000C+00 0/0 0/0 1/1 .text getMBLightInf__13door_param2_cFP10fopAc_ac_c
|
||||
*/
|
||||
u32 door_param2_c::getMBLightInf(fopAc_ac_c* i_actor) {
|
||||
return fopAcM_GetParamBit(i_actor, 22, 3);
|
||||
}
|
||||
return fopAcM_GetParamBit(i_actor, 22, 3) & 0xFF;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user