mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 13:13:29 -04:00
Populate particle IDs enum with placeholders and use them everywhere
This commit is contained in:
@@ -82,7 +82,7 @@ static void move(dr_class* i_this) {
|
||||
anm_init(i_this, DR_BCK_DR_BIKU1, l_HIO.mBiku1Morf, J3DFrameCtrl::LOOP_ONCE_e, 1.0f, DR_BAS_BIKU1);
|
||||
i_this->mState++;
|
||||
i_this->mCountDownTimers[0] = l_HIO.m0E;
|
||||
i_this->mpBreathEmitter = dComIfGp_particle_set(0x81C4, &i_this->current.pos);
|
||||
i_this->mpBreathEmitter = dComIfGp_particle_set(dPa_name::ID_SCENE_81C4, &i_this->current.pos);
|
||||
i_this->m2C9 = 0;
|
||||
// Fall-through
|
||||
case 11:
|
||||
@@ -100,7 +100,7 @@ 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);
|
||||
i_this->mpBreathEmitter = dComIfGp_particle_set(0x81C5, &i_this->current.pos);
|
||||
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);
|
||||
@@ -110,14 +110,14 @@ static void move(dr_class* i_this) {
|
||||
MtxP rootJntMtx = i_this->mpMorf->getModel()->getAnmMtx(0x00); // dr_all_root joint
|
||||
cMtx_copy(rootJntMtx, *calc_mtx);
|
||||
MtxPosition(&offset, &rootPos);
|
||||
dComIfGp_particle_set(0x81C7, &rootPos);
|
||||
dComIfGp_particle_set(dPa_name::ID_SCENE_81C7, &rootPos);
|
||||
|
||||
fopAcM_seStart(i_this, JA_SE_CM_DRG_MTOP_MAGMA, 0);
|
||||
i_this->mCountDownTimers[1] = 0;
|
||||
}
|
||||
} else {
|
||||
anm_init(i_this, DR_BCK_DR_HO1, l_HIO.mHo1Morf, J3DFrameCtrl::LOOP_ONCE_e, 1.0f, -1);
|
||||
i_this->mpBreathEmitter = dComIfGp_particle_set(0x81C6, &i_this->current.pos);
|
||||
i_this->mpBreathEmitter = dComIfGp_particle_set(dPa_name::ID_SCENE_81C6, &i_this->current.pos);
|
||||
i_this->mState++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user