diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-11-30 14:23:42 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-30 15:23:42 -0700 |
| commit | a6e76c0841cae03cae0c0e6ac75c32f979043093 (patch) | |
| tree | 76b5f590c59c6abdf2c80d0a3d5c0ccb31ebd0fe /src/d/actor/d_a_obj_bk_leaf.cpp | |
| parent | 434415337d268e405b09f6b72935a7e918e4cfe7 (diff) | |
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
Diffstat (limited to 'src/d/actor/d_a_obj_bk_leaf.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_bk_leaf.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/d/actor/d_a_obj_bk_leaf.cpp b/src/d/actor/d_a_obj_bk_leaf.cpp index b20579410e..f864ff5874 100644 --- a/src/d/actor/d_a_obj_bk_leaf.cpp +++ b/src/d/actor/d_a_obj_bk_leaf.cpp @@ -9,12 +9,10 @@ #include "d/actor/d_a_obj_carry.h" #include "d/d_com_inf_game.h" -/* 80BB60D8-80BB60F8 000078 0020+00 1/1 0/0 0/0 .text CheckCreateHeap__FP10fopAc_ac_c */ static int CheckCreateHeap(fopAc_ac_c* i_this) { return static_cast<daBkLeaf_c*>(i_this)->CreateHeap(); } -/* 80BB60F8-80BB618C 000098 0094+00 2/2 0/0 0/0 .text setBokkuri__10daBkLeaf_cFv */ void daBkLeaf_c::setBokkuri() { u32 sp10 = 0; csXyz currentAngle(current.angle); @@ -23,20 +21,17 @@ void daBkLeaf_c::setBokkuri() { fopAcM_GetRoomNo(this), ¤tAngle, &scale, -1, 0); } -/* 80BB618C-80BB61C8 00012C 003C+00 1/1 0/0 0/0 .text initBaseMtx__10daBkLeaf_cFv */ void daBkLeaf_c::initBaseMtx() { mpModel->setBaseScale(scale); setBaseMtx(); } -/* 80BB61C8-80BB621C 000168 0054+00 2/2 0/0 0/0 .text setBaseMtx__10daBkLeaf_cFv */ void daBkLeaf_c::setBaseMtx() { mDoMtx_stack_c::transS(current.pos); mDoMtx_stack_c::YrotM(shape_angle.y); mpModel->setBaseTRMtx(mDoMtx_stack_c::get()); } -/* 80BB621C-80BB629C 0001BC 0080+00 1/1 0/0 0/0 .text Create__10daBkLeaf_cFv */ int daBkLeaf_c::Create() { initBaseMtx(); fopAcM_SetMtx(this, mpModel->getBaseTRMtx()); @@ -52,16 +47,12 @@ int daBkLeaf_c::Create() { return 1; } -/* 80BB6758-80BB675C -00001 0004+00 2/3 0/0 0/0 .data l_arcName */ static const char* l_arcName = "Obj_bkl"; -/* 80BB675C-80BB6760 -00001 0004+00 0/1 0/0 0/0 .data l_bmdName */ static const char* l_bmdName = "hl.bmd"; -/* 80BB6760-80BB6764 -00001 0004+00 0/1 0/0 0/0 .data l_bckName */ static const char* l_bckName = "hl_shake1.bck"; -/* 80BB629C-80BB63AC 00023C 0110+00 1/1 0/0 0/0 .text CreateHeap__10daBkLeaf_cFv */ int daBkLeaf_c::CreateHeap() { int retVal; mpModel = mDoExt_J3DModel__create( @@ -82,7 +73,6 @@ int daBkLeaf_c::CreateHeap() { return retVal; } -/* 80BB63F4-80BB64A8 000394 00B4+00 1/1 0/0 0/0 .text create__10daBkLeaf_cFv */ int daBkLeaf_c::create() { fopAcM_ct(this, daBkLeaf_c); int retVal = dComIfG_resLoad(&mPhase, l_arcName); @@ -98,7 +88,6 @@ int daBkLeaf_c::create() { return retVal; } -/* 80BB64A8-80BB65C4 000448 011C+00 1/1 0/0 0/0 .text execute__10daBkLeaf_cFv */ int daBkLeaf_c::execute() { switch (field_0x57C) { case 0: @@ -134,7 +123,6 @@ int daBkLeaf_c::execute() { return 1; } -/* 80BB65C4-80BB6654 000564 0090+00 1/1 0/0 0/0 .text draw__10daBkLeaf_cFv */ int daBkLeaf_c::draw() { g_env_light.settingTevStruct(0, ¤t.pos, &tevStr); g_env_light.setLightTevColorType_MAJI(mpModel, &tevStr); @@ -144,40 +132,33 @@ int daBkLeaf_c::draw() { return 1; } -/* 80BB6654-80BB6688 0005F4 0034+00 1/1 0/0 0/0 .text _delete__10daBkLeaf_cFv */ int daBkLeaf_c::_delete() { dComIfG_resDelete(&mPhase, l_arcName); return 1; } -/* 80BB6688-80BB66A8 000628 0020+00 1/0 0/0 0/0 .text daBkLeaf_Draw__FP10daBkLeaf_c */ static int daBkLeaf_Draw(daBkLeaf_c* i_this) { return i_this->draw(); } -/* 80BB66A8-80BB66C8 000648 0020+00 1/0 0/0 0/0 .text daBkLeaf_Execute__FP10daBkLeaf_c */ static int daBkLeaf_Execute(daBkLeaf_c* i_this) { return i_this->execute(); } -/* 80BB66C8-80BB66E8 000668 0020+00 1/0 0/0 0/0 .text daBkLeaf_Delete__FP10daBkLeaf_c */ static int daBkLeaf_Delete(daBkLeaf_c* i_this) { return i_this->_delete(); } -/* 80BB66E8-80BB6708 000688 0020+00 1/0 0/0 0/0 .text daBkLeaf_Create__FP10fopAc_ac_c */ static int daBkLeaf_Create(fopAc_ac_c* i_this) { return static_cast<daBkLeaf_c*>(i_this)->create(); } -/* 80BB6764-80BB6784 -00001 0020+00 1/0 0/0 0/0 .data l_daBkLeaf_Method */ static actor_method_class l_daBkLeaf_Method = { (process_method_func)daBkLeaf_Create, (process_method_func)daBkLeaf_Delete, (process_method_func)daBkLeaf_Execute, NULL, (process_method_func)daBkLeaf_Draw, }; -/* 80BB6784-80BB67B4 -00001 0030+00 0/0 0/0 1/0 .data g_profile_Obj_BkLeaf */ extern actor_process_profile_definition g_profile_Obj_BkLeaf = {fpcLy_CURRENT_e, 7, fpcLy_CURRENT_e, |
