Clean up resource enums, more inline work

This commit is contained in:
LagoLunatic
2024-02-03 15:41:55 -05:00
parent 129400c801
commit 74f571ff97
23 changed files with 1053 additions and 1021 deletions
+3 -3
View File
@@ -102,7 +102,7 @@ s32 daSwhit0_c::getSwNo2() {
/* 000000C4-00000230 .text CreateHeap__10daSwhit0_cFv */
BOOL daSwhit0_c::CreateHeap() {
J3DModelData* modelData = (J3DModelData*)dComIfG_getObjectRes("Always", 0x35);
J3DModelData* modelData = (J3DModelData*)dComIfG_getObjectRes("Always", ALWAYS_BDL_OBM_SYOUGEKISW);
JUT_ASSERT(0xD5, modelData != 0);
mpModel = mDoExt_J3DModel__create(modelData, 0x80000, 0x11000202);
@@ -110,12 +110,12 @@ BOOL daSwhit0_c::CreateHeap() {
return FALSE;
}
J3DAnmTransform* anm = (J3DAnmTransform*)dComIfG_getObjectRes("Always", 0x0D);
J3DAnmTransform* anm = (J3DAnmTransform*)dComIfG_getObjectRes("Always", ALWAYS_BCK_OBM_SYOUGEKISW);
if (mAnm.init(modelData, anm, true, 0x02, 1.0f, 0, -1, false) == 0) {
return FALSE;
}
J3DAnmTextureSRTKey* texAnm = (J3DAnmTextureSRTKey*)dComIfG_getObjectRes("Always", 0x58);
J3DAnmTextureSRTKey* texAnm = (J3DAnmTextureSRTKey*)dComIfG_getObjectRes("Always", ALWAYS_BTK_OBM_SYOUGEKISW);
if (mTexAnm.init(modelData, texAnm, true, 0x02, 1.0f, 0, -1, false, 0) == 0) {
return FALSE;
}