summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_dr.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-03-06 17:37:20 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-03-06 17:37:20 -0500
commit4a4624decff1e887b3697abb5c75660bef3f4988 (patch)
treec892a297c288536010d79230bb4d74bd0ea61059 /src/d/actor/d_a_dr.cpp
parentd882c16b5514ece26b5fbf1fb4f2b665b9c838b7 (diff)
Populate particle IDs enum with placeholders and use them everywhere
Diffstat (limited to 'src/d/actor/d_a_dr.cpp')
-rw-r--r--src/d/actor/d_a_dr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/actor/d_a_dr.cpp b/src/d/actor/d_a_dr.cpp
index cac98dfe..436c879c 100644
--- a/src/d/actor/d_a_dr.cpp
+++ b/src/d/actor/d_a_dr.cpp
@@ -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++;
}
}