From 4a4624decff1e887b3697abb5c75660bef3f4988 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Thu, 6 Mar 2025 17:37:20 -0500 Subject: Populate particle IDs enum with placeholders and use them everywhere --- src/d/actor/d_a_item.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/d/actor/d_a_item.cpp') diff --git a/src/d/actor/d_a_item.cpp b/src/d/actor/d_a_item.cpp index 5855c598..2cc266cb 100644 --- a/src/d/actor/d_a_item.cpp +++ b/src/d/actor/d_a_item.cpp @@ -208,7 +208,7 @@ void daItem_c::CreateInit() { animPlay(1.0f, 1.0f, 1.0f, 1.0f, 1.0f); if (fopAcM_SearchByName(PROC_BST)) { // Gohdan - mpParticleEmitter = dComIfGp_particle_set(0x81E1, ¤t.pos); + mpParticleEmitter = dComIfGp_particle_set(dPa_name::ID_SCENE_81E1, ¤t.pos); } } @@ -1055,7 +1055,7 @@ BOOL daItem_c::itemActionForArrow() { mOnGroundTimer++; if (mOnGroundTimer == 1 && fopAcM_SearchByName(PROC_BST)) { // Gohdan - JPABaseEmitter* emitter = dComIfGp_particle_set(0xA1E2, ¤t.pos, NULL, NULL, 0xFF, &mPtclSmokeCb, fopAcM_GetRoomNo(this)); + JPABaseEmitter* emitter = dComIfGp_particle_set(dPa_name::ID_SCENE_A1E2, ¤t.pos, NULL, NULL, 0xFF, &mPtclSmokeCb, fopAcM_GetRoomNo(this)); if (emitter) { emitter->setMaxFrame(1); } @@ -1236,7 +1236,7 @@ void daItem_c::mode_water_init() { temp3 *= scale.x; particleScale.setall(temp3); - dComIfGp_particle_setShipTail(0x33, ¤t.pos, NULL, &particleScale, 0xFF, &mPtclRippleCb); + dComIfGp_particle_setShipTail(dPa_name::ID_COMMON_0033, ¤t.pos, NULL, &particleScale, 0xFF, &mPtclRippleCb); mPtclRippleCb.mRate = 0.0f; } -- cgit v1.2.3