mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-08 13:46:21 -04:00
DEMO_SELECT
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user