DEMO_SELECT

This commit is contained in:
LagoLunatic
2025-07-25 21:05:36 -04:00
parent 4ebe6758cb
commit 72dc8f4ef6
43 changed files with 210 additions and 206 deletions
+3 -3
View File
@@ -114,7 +114,7 @@ cPhs_State dThunder_c::create() {
new (this) dThunder_c();
J3DModelData* modelData = (J3DModelData*)dComIfG_getObjectRes("Always", ALWAYS_BDL_YTHDR00);
JUT_ASSERT(VERSION_SELECT(111, 110, 110, 110), modelData != NULL);
JUT_ASSERT(DEMO_SELECT(111, 110), modelData != NULL);
mModelInfo.mpModel = mDoExt_J3DModel__create(modelData, 0x80000, 0x01000200);
if (mModelInfo.mpModel == NULL)
@@ -124,12 +124,12 @@ cPhs_State dThunder_c::create() {
return cPhs_ERROR_e;
J3DAnmTextureSRTKey * anm = (J3DAnmTextureSRTKey *)dComIfG_getObjectRes("Always", ALWAYS_BTK_YTHDR00);
JUT_ASSERT(VERSION_SELECT(126, 125, 125, 125), anm != NULL);
JUT_ASSERT(DEMO_SELECT(126, 125), anm != NULL);
if (!mModelInfo.mBtk.init(modelData, anm, false, J3DFrameCtrl::EMode_LOOP, 1.0f, 0, -1, false, 0))
return cPhs_ERROR_e;
J3DAnmTevRegKey * canm = (J3DAnmTevRegKey *)dComIfG_getObjectRes("Always", ALWAYS_BRK_YTHDR00);
JUT_ASSERT(VERSION_SELECT(141, 140, 140, 140), canm != NULL);
JUT_ASSERT(DEMO_SELECT(141, 140), canm != NULL);
if (!mModelInfo.mBrk.init(modelData, canm, true, J3DFrameCtrl::EMode_NONE, 1.0f, 0, -1, false, 0))
return cPhs_ERROR_e;