mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 05:08:57 -04:00
Rename J3DFrameCtrl loop mode enum
See https://github.com/zeldaret/tp/pull/2327/commits/2a284165cf35a2324d36d825add5c06ffa864398
This commit is contained in:
@@ -61,14 +61,14 @@ static void move(dr_class* i_this) {
|
||||
switch (i_this->mState) {
|
||||
case 0:
|
||||
isIdle = true;
|
||||
anm_init(i_this, DR_BCK_DR_WAIT1, l_HIO.mWait1Morf, J3DFrameCtrl::LOOP_REPEAT_e, 1.0f, -1);
|
||||
anm_init(i_this, DR_BCK_DR_WAIT1, l_HIO.mWait1Morf, J3DFrameCtrl::EMode_LOOP, 1.0f, -1);
|
||||
i_this->mState++;
|
||||
i_this->mCountDownTimers[0] = (s16)(200.0f + cM_rndF(200.0f));
|
||||
break;
|
||||
case 1:
|
||||
isIdle = true;
|
||||
if (i_this->mCountDownTimers[0] == 0) {
|
||||
anm_init(i_this, DR_BCK_DR_AKUBI1, l_HIO.mAkubi1Morf, J3DFrameCtrl::LOOP_ONCE_e, 1.0f, DR_BAS_AKUBI1);
|
||||
anm_init(i_this, DR_BCK_DR_AKUBI1, l_HIO.mAkubi1Morf, J3DFrameCtrl::EMode_NONE, 1.0f, DR_BAS_AKUBI1);
|
||||
i_this->mState++;
|
||||
}
|
||||
break;
|
||||
@@ -79,7 +79,7 @@ static void move(dr_class* i_this) {
|
||||
}
|
||||
break;
|
||||
case 10:
|
||||
anm_init(i_this, DR_BCK_DR_BIKU1, l_HIO.mBiku1Morf, J3DFrameCtrl::LOOP_ONCE_e, 1.0f, DR_BAS_BIKU1);
|
||||
anm_init(i_this, DR_BCK_DR_BIKU1, l_HIO.mBiku1Morf, J3DFrameCtrl::EMode_NONE, 1.0f, DR_BAS_BIKU1);
|
||||
i_this->mState++;
|
||||
i_this->mCountDownTimers[0] = l_HIO.m0E;
|
||||
i_this->mpBreathEmitter = dComIfGp_particle_set(dPa_name::ID_SCENE_81C4, &i_this->current.pos);
|
||||
@@ -99,11 +99,11 @@ static void move(dr_class* i_this) {
|
||||
|
||||
if (i_this->mCountDownTimers[0] != 0) {
|
||||
if (cM_rndF(1.0f) < 0.5f) {
|
||||
anm_init(i_this, DR_BCK_DR_ABARE1, l_HIO.mAbare1Morf, J3DFrameCtrl::LOOP_ONCE_e, 1.0f, DR_BAS_ABARE1);
|
||||
anm_init(i_this, DR_BCK_DR_ABARE1, l_HIO.mAbare1Morf, J3DFrameCtrl::EMode_NONE, 1.0f, DR_BAS_ABARE1);
|
||||
i_this->mpBreathEmitter = dComIfGp_particle_set(dPa_name::ID_SCENE_81C5, &i_this->current.pos);
|
||||
i_this->mCountDownTimers[1] = 500;
|
||||
} else {
|
||||
anm_init(i_this, DR_BCK_DR_ABARE2, l_HIO.mAbare2Morf, J3DFrameCtrl::LOOP_ONCE_e, 1.0f, DR_BAS_ABARE2);
|
||||
anm_init(i_this, DR_BCK_DR_ABARE2, l_HIO.mAbare2Morf, J3DFrameCtrl::EMode_NONE, 1.0f, DR_BAS_ABARE2);
|
||||
|
||||
cXyz rootPos;
|
||||
cXyz offset(0.0f, 0.0f, 0.0f);
|
||||
@@ -116,7 +116,7 @@ static void move(dr_class* i_this) {
|
||||
i_this->mCountDownTimers[1] = 0;
|
||||
}
|
||||
} else {
|
||||
anm_init(i_this, DR_BCK_DR_HO1, l_HIO.mHo1Morf, J3DFrameCtrl::LOOP_ONCE_e, 1.0f, -1);
|
||||
anm_init(i_this, DR_BCK_DR_HO1, l_HIO.mHo1Morf, J3DFrameCtrl::EMode_NONE, 1.0f, -1);
|
||||
i_this->mpBreathEmitter = dComIfGp_particle_set(dPa_name::ID_SCENE_81C6, &i_this->current.pos);
|
||||
i_this->mState++;
|
||||
}
|
||||
@@ -219,7 +219,7 @@ static BOOL createHeap(fopAc_ac_c* i_actor) {
|
||||
(J3DModelData*)dComIfG_getObjectRes("Dr", DR_BMD_DR1),
|
||||
NULL, NULL,
|
||||
(J3DAnmTransformKey*)dComIfG_getObjectRes("Dr", DR_BCK_DR_BIKU1),
|
||||
J3DFrameCtrl::LOOP_ONCE_e, 1.0f, 0, -1, 1,
|
||||
J3DFrameCtrl::EMode_NONE, 1.0f, 0, -1, 1,
|
||||
dComIfG_getObjectRes("Dr", DR_BAS_BIKU1),
|
||||
0x00000000,
|
||||
0x11020203
|
||||
|
||||
Reference in New Issue
Block a user