Started using resource enums for old actors

This commit is contained in:
LagoLunatic
2024-04-24 16:20:56 -04:00
parent 0b75cd4ed7
commit ae0bc3ff95
24 changed files with 128 additions and 68 deletions
+9 -1
View File
@@ -70,7 +70,15 @@ dAttention_c::dAttention_c(fopAc_ac_c* player, u32 playerNo) {
}
for (s32 i = 0; i < (s32)ARRAY_SIZE(draw); i++) {
draw[i].anm = new mDoExt_McaMorf(modelData, &mCallBack, NULL, (J3DAnmTransformKey*)dComIfG_getObjectRes("Always", ALWAYS_BCK_YJ_LOOP), J3DFrameCtrl::LOOP_REPEAT_e, 1.0f, 0, -1, 1, NULL, 0x80000, 0x1000003);
draw[i].anm = new mDoExt_McaMorf(
modelData,
&mCallBack, NULL,
(J3DAnmTransformKey*)dComIfG_getObjectRes("Always", ALWAYS_BCK_YJ_LOOP),
J3DFrameCtrl::LOOP_REPEAT_e, 1.0f, 0, -1, 1,
NULL,
0x00080000,
0x01000003
);
JUT_ASSERT(0xe3, draw[i].anm != 0 && draw[i].anm->getModel() != 0);
draw[i].mpAnmClr = NULL;
draw[i].mpAnmMatClr = new J3DMatColorAnm[anmColNum];