Populate particle IDs enum with placeholders and use them everywhere

This commit is contained in:
LagoLunatic
2025-03-06 17:37:20 -05:00
parent d882c16b55
commit 4a4624decf
80 changed files with 1429 additions and 353 deletions
+4 -4
View File
@@ -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++;
}
}