mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 05:08:57 -04:00
Update all code to use the new enum formats
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include "d/d_s_play.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_bg_s_movebg_actor.h"
|
||||
#include "d/res/res_kokiie.h"
|
||||
#include "res/Object/Kokiie.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "f_op/f_op_camera.h"
|
||||
#include "JSystem/JUtility/JUTReport.h"
|
||||
@@ -354,7 +354,7 @@ static BOOL daKokiie_Delete(kokiie_class* i_this) {
|
||||
static BOOL CallbackCreateHeap(fopAc_ac_c* a_this) {
|
||||
kokiie_class* actor = (kokiie_class*)a_this;
|
||||
|
||||
J3DModelData* modelData = (J3DModelData*)dComIfG_getObjectRes("Kokiie", KOKIIE_BDL_KOKI_00);
|
||||
J3DModelData* modelData = (J3DModelData*)dComIfG_getObjectRes("Kokiie", dRes_INDEX_KOKIIE_BDL_KOKI_00_e);
|
||||
actor->mpModel = mDoExt_J3DModel__create(modelData, 0, 0x11020203);
|
||||
if (actor->mpModel == NULL) {
|
||||
return FALSE;
|
||||
@@ -365,7 +365,7 @@ static BOOL CallbackCreateHeap(fopAc_ac_c* a_this) {
|
||||
actor->pm_bgw = new dBgW();
|
||||
JUT_ASSERT(DEMO_SELECT(929, 950), actor->pm_bgw != NULL);
|
||||
|
||||
actor->pm_bgw->Set((cBgD_t*)dComIfG_getObjectRes("Kokiie", KOKIIE_DZB_KOKI_00), dBgW::MOVE_BG_e, &actor->m340);
|
||||
actor->pm_bgw->Set((cBgD_t*)dComIfG_getObjectRes("Kokiie", dRes_INDEX_KOKIIE_DZB_KOKI_00_e), dBgW::MOVE_BG_e, &actor->m340);
|
||||
actor->pm_bgw->SetCrrFunc(dBgS_MoveBGProc_Typical);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user