Use resource enums for all other old actors

This commit is contained in:
LagoLunatic
2024-04-25 12:36:12 -04:00
parent ae0bc3ff95
commit e235db5379
30 changed files with 729 additions and 542 deletions
+3 -2
View File
@@ -4,6 +4,7 @@
//
#include "d/actor/d_a_obj_gaship2.h"
#include "d/res/res_yakerom.h"
#include "SSystem/SComponent/c_bg_w.h"
#include "d/d_com_inf_game.h"
#include "d/d_bg_s_movebg_actor.h"
@@ -22,12 +23,12 @@ bool daObjGaship2::Act_c::create_heap() {
J3DModelData *mdl_data;
cBgD_t *bgw_data;
mdl_data = (J3DModelData *) (dComIfG_getObjectRes(M_arcname, 4));
mdl_data = (J3DModelData *) (dComIfG_getObjectRes(M_arcname, YAKEROM_BDL_YAKEROM));
JUT_ASSERT(0x5A, mdl_data != 0);
mpModel = mDoExt_J3DModel__create(mdl_data, 0, 0x11000002);
set_mtx();
bgw_data = (cBgD_t *) (dComIfG_getObjectRes(M_arcname, 7));
bgw_data = (cBgD_t *) (dComIfG_getObjectRes(M_arcname, YAKEROM_DZB_YAKEROM));
JUT_ASSERT(0x67, bgw_data != 0);
if (bgw_data != NULL) {
mpBgW = new dBgW();