summaryrefslogtreecommitdiff
path: root/src/d/actor
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2023-12-30 00:50:19 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2023-12-30 00:50:19 -0500
commit82b429b72f53fc0faa7ada5f84e76ff5169d129b (patch)
tree676e2391806f3329768a954648727e6b4922a416 /src/d/actor
parent5b3810dba91821a87b202f7c573a9e5d504c85db (diff)
start adding particle/hitmark enums + some d_cc_s
Diffstat (limited to 'src/d/actor')
-rw-r--r--src/d/actor/d_a_am.cpp10
-rw-r--r--src/d/actor/d_a_am2.cpp12
-rw-r--r--src/d/actor/d_a_arrow.cpp4
-rw-r--r--src/d/actor/d_a_arrow_iceeff.cpp12
-rw-r--r--src/d/actor/d_a_arrow_lighteff.cpp10
-rw-r--r--src/d/actor/d_a_bomb2.cpp12
-rw-r--r--src/d/actor/d_a_bomb3.inc22
-rw-r--r--src/d/actor/d_a_disappear.cpp12
-rw-r--r--src/d/actor/d_a_obj_toripost.cpp2
-rw-r--r--src/d/actor/d_a_player_main.cpp6
-rw-r--r--src/d/actor/d_a_rd.cpp6
11 files changed, 54 insertions, 54 deletions
diff --git a/src/d/actor/d_a_am.cpp b/src/d/actor/d_a_am.cpp
index cb4673b8..c84cf490 100644
--- a/src/d/actor/d_a_am.cpp
+++ b/src/d/actor/d_a_am.cpp
@@ -268,9 +268,9 @@ static BOOL medama_atari_check(am_class* i_this) {
cc_at_check(i_this, &atInfo);
i_this->mMaxHealth = 10;
i_this->mHealth = 10;
- dComIfGp_particle_set(0x27B, &i_this->mAttentionInfo.mPosition);
+ dComIfGp_particle_set(dPa_name::ID_COMMON_STARS_BLOW, &i_this->mAttentionInfo.mPosition);
} else {
- dComIfGp_particle_set(0xC, &hitPos);
+ dComIfGp_particle_set(dPa_name::ID_COMMON_PURPLE_HIT, &hitPos);
}
fopAcM_seStart(i_this, JA_SE_LK_MS_WEP_HIT, 0x42);
}
@@ -319,7 +319,7 @@ static BOOL medama_atari_check(am_class* i_this) {
}
break;
default:
- dComIfGp_particle_set(0xC, &hitPos);
+ dComIfGp_particle_set(dPa_name::ID_COMMON_PURPLE_HIT, &hitPos);
fopAcM_seStart(i_this, JA_SE_LK_MS_WEP_HIT, 0x42);
break;
}
@@ -1330,7 +1330,7 @@ static s32 daAM_Create(fopAc_ac_c* i_actor) {
/* SrcGObjAt Mtrl */ 0,
/* SrcGObjAt SPrm */ 0,
/* SrcGObjTg Se */ 0,
- /* SrcGObjTg HitMark */ 0x0C,
+ /* SrcGObjTg HitMark */ G_TG_MARK_PURPLE_HIT,
/* SrcGObjTg Spl */ 0,
/* SrcGObjTg Mtrl */ 0,
/* SrcGObjTg SPrm */ G_TG_SPRM_SHIELD | G_TG_SPRM_NO_CON_HIT,
@@ -1362,7 +1362,7 @@ static s32 daAM_Create(fopAc_ac_c* i_actor) {
/* SrcGObjAt Mtrl */ 0,
/* SrcGObjAt SPrm */ 0,
/* SrcGObjTg Se */ 0,
- /* SrcGObjTg HitMark */ 0x0C,
+ /* SrcGObjTg HitMark */ G_TG_MARK_PURPLE_HIT,
/* SrcGObjTg Spl */ 0,
/* SrcGObjTg Mtrl */ 0,
/* SrcGObjTg SPrm */ G_TG_SPRM_SHIELD | G_TG_SPRM_NO_CON_HIT,
diff --git a/src/d/actor/d_a_am2.cpp b/src/d/actor/d_a_am2.cpp
index 734eb68c..94255f73 100644
--- a/src/d/actor/d_a_am2.cpp
+++ b/src/d/actor/d_a_am2.cpp
@@ -175,9 +175,9 @@ static BOOL medama_atari_check(am2_class* i_this) {
atInfo.pParticlePos = NULL;
cc_at_check(i_this, &atInfo);
i_this->mHealth = origHealth;
- dComIfGp_particle_set(0x27B, &i_this->mAttentionInfo.mPosition);
+ dComIfGp_particle_set(dPa_name::ID_COMMON_STARS_BLOW, &i_this->mAttentionInfo.mPosition);
} else {
- dComIfGp_particle_set(0xC, &hitPos);
+ dComIfGp_particle_set(dPa_name::ID_COMMON_PURPLE_HIT, &hitPos);
}
fopAcM_seStart(i_this, JA_SE_LK_MS_WEP_HIT, 0x42);
}
@@ -315,9 +315,9 @@ static BOOL week_atari_check(am2_class* i_this) {
if (hitType == 1) {
dComIfGp_particle_set(0x10, &hitPos);
cXyz particleScale(2.0f, 2.0f, 2.0f);
- dComIfGp_particle_set(0xF, &hitPos, &player->shape_angle, &particleScale);
+ dComIfGp_particle_set(dPa_name::ID_COMMON_BIG_HIT, &hitPos, &player->shape_angle, &particleScale);
} else {
- dComIfGp_particle_set(0xD, &hitPos, &player->shape_angle);
+ dComIfGp_particle_set(dPa_name::ID_COMMON_NORMAL_HIT, &hitPos, &player->shape_angle);
}
i_this->mAction = ACTION_ITAI;
@@ -1441,7 +1441,7 @@ static s32 daAM2_Create(fopAc_ac_c* i_actor) {
/* SrcGObjAt Mtrl */ 0,
/* SrcGObjAt SPrm */ 0,
/* SrcGObjTg Se */ 0,
- /* SrcGObjTg HitMark */ 0x0C,
+ /* SrcGObjTg HitMark */ G_TG_MARK_PURPLE_HIT,
/* SrcGObjTg Spl */ 0,
/* SrcGObjTg Mtrl */ 0,
/* SrcGObjTg SPrm */ G_TG_SPRM_SHIELD | G_TG_SPRM_NO_CON_HIT,
@@ -1473,7 +1473,7 @@ static s32 daAM2_Create(fopAc_ac_c* i_actor) {
/* SrcGObjAt Mtrl */ 0,
/* SrcGObjAt SPrm */ 0,
/* SrcGObjTg Se */ 0,
- /* SrcGObjTg HitMark */ 0x0C,
+ /* SrcGObjTg HitMark */ G_TG_MARK_PURPLE_HIT,
/* SrcGObjTg Spl */ 0,
/* SrcGObjTg Mtrl */ 0,
/* SrcGObjTg SPrm */ G_TG_SPRM_SHIELD | G_TG_SPRM_NO_CON_HIT,
diff --git a/src/d/actor/d_a_arrow.cpp b/src/d/actor/d_a_arrow.cpp
index f9dd046f..377f2105 100644
--- a/src/d/actor/d_a_arrow.cpp
+++ b/src/d/actor/d_a_arrow.cpp
@@ -34,7 +34,7 @@ const dCcD_SrcCps daArrow_c::m_at_cps_src = {
/* SrcObjTg SPrm */ 0,
/* SrcObjCo SPrm */ 0,
/* SrcGObjAt Se */ 0x07,
- /* SrcGObjAt HitMark */ 0x0D,
+ /* SrcGObjAt HitMark */ G_AT_MARK_NORMAL_HIT,
/* SrcGObjAt Spl */ 0,
/* SrcGObjAt Mtrl */ 0,
/* SrcGObjAt SPrm */ 0,
@@ -836,7 +836,7 @@ BOOL daArrow_c::procMove() {
csXyz temp9;
cM3d_CalcVecZAngle(triPla->mNormal, &temp9);
- dComIfGp_particle_setP1(0xC, &field_0x6a8, &temp9);
+ dComIfGp_particle_setP1(dPa_name::ID_COMMON_PURPLE_HIT, &field_0x6a8, &temp9);
fopAcM_seStartCurrent(this, JA_SE_LK_ARROW_REBOUND, mtrlSndId);
} else {
fopAcM_seStartCurrent(this, JA_SE_LK_ARROW_HIT, mtrlSndId);
diff --git a/src/d/actor/d_a_arrow_iceeff.cpp b/src/d/actor/d_a_arrow_iceeff.cpp
index 4c902631..a6165102 100644
--- a/src/d/actor/d_a_arrow_iceeff.cpp
+++ b/src/d/actor/d_a_arrow_iceeff.cpp
@@ -196,7 +196,7 @@ bool daArrow_Iceeff_c::_execute() {
daArrow_c* arrow = static_cast<daArrow_c*>(fopAcM_SearchByID(mParentPcId));
if(field_0xA38 == 0) {
if(arrow == 0) {
- dComIfGp_particle_setP1(0x55, &current.pos, &current.angle, 0);
+ dComIfGp_particle_setP1(0x55, &current.pos, &current.angle);
fopAcM_delete(this);
return true;
@@ -219,7 +219,7 @@ bool daArrow_Iceeff_c::_execute() {
field_0xA30++;
}
else {
- dComIfGp_particle_setP1(0x55, &current.pos, &current.angle, 0);
+ dComIfGp_particle_setP1(0x55, &current.pos, &current.angle);
fopAcM_seStartCurrent(this, JA_SE_OBJ_MINI_ICE_BREAK, 0);
fopAcM_delete(arrow);
fopAcM_delete(this);
@@ -234,7 +234,7 @@ bool daArrow_Iceeff_c::_execute() {
csXyz angle;
angle.set(-0x4000, 0, 0);
- JPABaseEmitter* ptcl = dComIfGp_particle_setP1(0x29E, &current.pos, &angle, 0);
+ JPABaseEmitter* ptcl = dComIfGp_particle_setP1(0x29E, &current.pos, &angle);
if(ptcl) {
JGeometry::TVec3<f32> scale(0.5f, 0.5f, 0.5f);
ptcl->setGlobalScale(scale);
@@ -258,14 +258,14 @@ bool daArrow_Iceeff_c::_execute() {
}
if(field_0xA30 == 0x23) {
- JPABaseEmitter* ptcl = dComIfGp_particle_setSingleRipple(0x3D, &current.pos, 0, &ripple_scale);
+ JPABaseEmitter* ptcl = dComIfGp_particle_setSingleRipple(0x3D, &current.pos, NULL, &ripple_scale);
if(ptcl) {
JGeometry::TVec3<f32> scale(0.67f, 0.67f, 1.0f);
ptcl->setGlobalParticleScale(scale);
}
}
else if(field_0xA30 == 0x28) {
- JPABaseEmitter* ptcl = dComIfGp_particle_setP1(0x55, &current.pos, 0, 0);
+ JPABaseEmitter* ptcl = dComIfGp_particle_setP1(0x55, &current.pos);
if(ptcl) {
ptcl->setAwayFromCenterSpeed(25.0f);
ptcl->setAwayFromAxisSpeed(5.0f);
@@ -276,7 +276,7 @@ bool daArrow_Iceeff_c::_execute() {
ptcl->setGlobalParticleScale(scale2);
}
- dComIfGp_particle_setSingleRipple(0x3F, &current.pos, 0, &ripple_scale);
+ dComIfGp_particle_setSingleRipple(0x3F, &current.pos, NULL, &ripple_scale);
fopAcM_seStartCurrent(this, JA_SE_OBJ_MINI_ICE_BREAK, 0);
field_0xA3C = 0;
diff --git a/src/d/actor/d_a_arrow_lighteff.cpp b/src/d/actor/d_a_arrow_lighteff.cpp
index ae3d6e48..932810da 100644
--- a/src/d/actor/d_a_arrow_lighteff.cpp
+++ b/src/d/actor/d_a_arrow_lighteff.cpp
@@ -145,23 +145,23 @@ void daArrow_Lighteff_c::CreateInit() {
if(field_0x2E8 == 1) {
if(field_0x2F4.getEmitter() == 0) {
- dComIfGp_particle_setP1(0x299, &field_0x29C, &current.angle, 0, 0xFF, &field_0x2F4);
+ dComIfGp_particle_setP1(0x299, &field_0x29C, &current.angle, NULL, 0xFF, &field_0x2F4);
}
}
else if(field_0x2E8 == 2) {
if(field_0x2F4.getEmitter() == 0) {
- dComIfGp_particle_setP1(0x29C, &field_0x29C, &current.angle, 0, 0xFF, &field_0x2F4);
+ dComIfGp_particle_setP1(0x29C, &field_0x29C, &current.angle, NULL, 0xFF, &field_0x2F4);
}
if(field_0x308.getEmitter() == 0) {
- dComIfGp_particle_setP1(0x29D, &field_0x29C, &current.angle, 0, 0xFF, &field_0x308);
+ dComIfGp_particle_setP1(0x29D, &field_0x29C, &current.angle, NULL, 0xFF, &field_0x308);
}
}
else if(field_0x2E8 == 3) {
if(field_0x2F4.getEmitter() == 0) {
- dComIfGp_particle_setP1(0x29F, &field_0x29C, &current.angle, 0, 0xFF, &field_0x2F4);
+ dComIfGp_particle_setP1(0x29F, &field_0x29C, &current.angle, NULL, 0xFF, &field_0x2F4);
}
if(field_0x308.getEmitter() == 0) {
- dComIfGp_particle_setP1(0x2A0, &field_0x29C, &current.angle, 0, 0xFF, &field_0x308);
+ dComIfGp_particle_setP1(0x2A0, &field_0x29C, &current.angle, NULL, 0xFF, &field_0x308);
}
}
diff --git a/src/d/actor/d_a_bomb2.cpp b/src/d/actor/d_a_bomb2.cpp
index a2b3a2b9..4c6f788d 100644
--- a/src/d/actor/d_a_bomb2.cpp
+++ b/src/d/actor/d_a_bomb2.cpp
@@ -701,10 +701,10 @@ namespace daBomb2 {
}
void Act_c::eff_explode_normal(const csXyz* rotation) {
- dComIfGp_particle_setP1(0xB, &current.pos, rotation, &mScale, 0xFF, 0, -1, 0, 0, 0);
- dComIfGp_particle_setBombSmoke(0x2009, &current.pos, 0, &mScale, 0xFF);
- dComIfGp_particle_setBombSmoke(0x200A, &current.pos, 0, &mScale, 0xFF);
- dComIfGp_particle_setToonP1(0x2008, &current.pos, 0, &mScale, 0xFF, 0, -1, 0, 0, 0);
+ dComIfGp_particle_setP1(dPa_name::ID_COMMON_LIGHT_FLASH, &current.pos, rotation, &mScale);
+ dComIfGp_particle_setBombSmoke(dPa_name::ID_COMMON_SMOKE_CLOUD, &current.pos, NULL, &mScale);
+ dComIfGp_particle_setBombSmoke(dPa_name::ID_COMMON_SMOKE_CIRCLE, &current.pos, NULL, &mScale);
+ dComIfGp_particle_setToonP1(dPa_name::ID_COMMON_SMOKE_DEBRIS, &current.pos, NULL, &mScale);
}
void Act_c::eff_explode_water() {
@@ -733,8 +733,8 @@ namespace daBomb2 {
field_0x6CC = field_0x6C0;
field_0x6D8 = field_0x6C0;
- dComIfGp_particle_setP1(0x11, &field_0x6C0, 0, &mScale, 0xFF, &mSparks, -1, 0, 0, 0);
- dComIfGp_particle_setToonP1(0x2012, &field_0x6C0, 0, &mScale, 0xDC, &mSmoke, -1, 0, 0, 0);
+ dComIfGp_particle_setP1(dPa_name::ID_COMMON_FUSE_SPARKS, &field_0x6C0, NULL, &mScale, 0xFF, &mSparks);
+ dComIfGp_particle_setToonP1(0x2012, &field_0x6C0, NULL, &mScale, 0xDC, &mSmoke);
mSmoke.setOldPosP(&field_0x6CC, &field_0x6D8);
}
}
diff --git a/src/d/actor/d_a_bomb3.inc b/src/d/actor/d_a_bomb3.inc
index 3fcd9840..8d77c6c8 100644
--- a/src/d/actor/d_a_bomb3.inc
+++ b/src/d/actor/d_a_bomb3.inc
@@ -637,7 +637,7 @@ void daBomb_c::makeFireEffect(cXyz& pos, csXyz& rotation) {
rotation.x = rotation.x + 0x4000;
rotation.z = rotation.z;
- dComIfGp_particle_setBombSmoke(0x200A, &pos, &rotation, &scale);
+ dComIfGp_particle_setBombSmoke(dPa_name::ID_COMMON_SMOKE_CIRCLE, &pos, &rotation, &scale);
dComIfGp_getVibration().StartShock(7, -0x21, cXyz(0.0f, 1.0f, 0.0f));
}
@@ -673,8 +673,8 @@ void daBomb_c::setFuseEffect() {
mFusePos2 = mFusePos;
mFusePos3 = mFusePos;
- dComIfGp_particle_setP1(0x11, &mFusePos, 0, &mScale, 0xFF, &mSparks, -1, 0, 0, 0);
- dComIfGp_particle_setToonP1(0x2012, &mFusePos, 0, &mScale, 0xDC, &mSmoke, -1, 0, 0, 0);
+ dComIfGp_particle_setP1(dPa_name::ID_COMMON_FUSE_SPARKS, &mFusePos, NULL, &mScale, 0xFF, &mSparks);
+ dComIfGp_particle_setToonP1(0x2012, &mFusePos, NULL, &mScale, 0xDC, &mSmoke);
mSmoke.field_0x0C = &mFusePos2;
mSmoke.field_0x10 = &mFusePos3;
mSmoke.field_0x04 = 0x14;
@@ -682,27 +682,27 @@ void daBomb_c::setFuseEffect() {
}
void daBomb_c::eff_explode_normal(const csXyz* rotation) {
- dComIfGp_particle_setP1(0xB, &current.pos, rotation, &mScale, 0xFF, 0, -1, 0, 0, 0);
- dComIfGp_particle_setBombSmoke(0x2009, &current.pos, 0, &mScale);
- dComIfGp_particle_setBombSmoke(0x200A, &current.pos, 0, &mScale);
- dComIfGp_particle_setToonP1(0x2008, &current.pos, 0, &mScale, 0xFF, 0, -1, 0, 0, 0);
+ dComIfGp_particle_setP1(dPa_name::ID_COMMON_LIGHT_FLASH, &current.pos, rotation, &mScale);
+ dComIfGp_particle_setBombSmoke(dPa_name::ID_COMMON_SMOKE_CLOUD, &current.pos, NULL, &mScale);
+ dComIfGp_particle_setBombSmoke(dPa_name::ID_COMMON_SMOKE_CIRCLE, &current.pos, NULL, &mScale);
+ dComIfGp_particle_setToonP1(dPa_name::ID_COMMON_SMOKE_DEBRIS, &current.pos, NULL, &mScale);
}
void daBomb_c::eff_explode_cheap(const csXyz* rotation) {
- JPABaseEmitter* emitter = dComIfGp_particle_setP1(0xB, &current.pos, rotation, &mScale, 0xFF, 0, -1, 0, 0, 0);
+ JPABaseEmitter* emitter = dComIfGp_particle_setP1(dPa_name::ID_COMMON_LIGHT_FLASH, &current.pos, rotation, &mScale);
if(emitter) {
emitter->mLifeTime = 0xC;
JGeometry::TVec3<f32> vec(0.5f, 0.67f, 1.0f);
emitter->setGlobalParticleScale(vec);
}
- dComIfGp_particle_setBombSmoke(0x232A, &current.pos, 0, &mScale);
- emitter = dComIfGp_particle_setBombSmoke(0x200A, &current.pos, 0, &mScale);
+ dComIfGp_particle_setBombSmoke(0x232A, &current.pos, NULL, &mScale);
+ emitter = dComIfGp_particle_setBombSmoke(dPa_name::ID_COMMON_SMOKE_CIRCLE, &current.pos, NULL, &mScale);
if(emitter) {
emitter->mLifeTime = 0x46;
}
- emitter = dComIfGp_particle_setToonP1(0x2008, &current.pos, 0, &mScale, 0xFF, 0, -1, 0, 0, 0);
+ emitter = dComIfGp_particle_setToonP1(dPa_name::ID_COMMON_SMOKE_DEBRIS, &current.pos, NULL, &mScale);
if(emitter) {
emitter->mLifeTime = 0x46;
emitter->mInitialVelAxis = 25.0f;
diff --git a/src/d/actor/d_a_disappear.cpp b/src/d/actor/d_a_disappear.cpp
index bf0e607e..a058c4a8 100644
--- a/src/d/actor/d_a_disappear.cpp
+++ b/src/d/actor/d_a_disappear.cpp
@@ -75,15 +75,15 @@ void set_disappear(disappear_class* i_this, float scale) {
case 0xB:
case 0xC:
case 0xD:
- dComIfGp_particle_set(0x14, &i_this->current.pos, 0, &particleScale);
+ dComIfGp_particle_set(0x14, &i_this->current.pos, NULL, &particleScale);
case 3:
- dComIfGp_particle_set(0x13, &i_this->current.pos, 0, &particleScale);
- dComIfGp_particle_setStripes(0x15, &i_this->current.pos, 0, &particleScale, 0xFF, 0x96);
- dComIfGp_particle_set(0x16, &i_this->current.pos, 0, &particleScale);
+ dComIfGp_particle_set(0x13, &i_this->current.pos, NULL, &particleScale);
+ dComIfGp_particle_setStripes(0x15, &i_this->current.pos, NULL, &particleScale, 0xFF, 0x96);
+ dComIfGp_particle_set(0x16, &i_this->current.pos, NULL, &particleScale);
break;
case 1:
- dComIfGp_particle_set(0x13, &i_this->current.pos, 0, &particleScale);
- dComIfGp_particle_set(0x16, &i_this->current.pos, 0, &particleScale);
+ dComIfGp_particle_set(0x13, &i_this->current.pos, NULL, &particleScale);
+ dComIfGp_particle_set(0x16, &i_this->current.pos, NULL, &particleScale);
break;
case 4:
dComIfGp_particle_set(0x043C, &i_this->current.pos);
diff --git a/src/d/actor/d_a_obj_toripost.cpp b/src/d/actor/d_a_obj_toripost.cpp
index 26d73163..1110540e 100644
--- a/src/d/actor/d_a_obj_toripost.cpp
+++ b/src/d/actor/d_a_obj_toripost.cpp
@@ -343,7 +343,7 @@ int daObjTpost_c::getMsgXY() {
col.b = g_regHIO.mChild[12].mShortRegs[2] + 0x80;
mDoMtx_stack_c::copy(mMorf->getModel()->mpNodeMtx[2]);
mDoMtx_stack_c::multVec(&pos, &pos);
- dComIfGp_particle_set(0x57, &pos, &shape_angle, &scale, 0xFF, 0, -1, &col);
+ dComIfGp_particle_set(0x57, &pos, &shape_angle, &scale, 0xFF, NULL, -1, &col);
break;
case 0x98:
diff --git a/src/d/actor/d_a_player_main.cpp b/src/d/actor/d_a_player_main.cpp
index 68501115..33dec236 100644
--- a/src/d/actor/d_a_player_main.cpp
+++ b/src/d/actor/d_a_player_main.cpp
@@ -1870,7 +1870,7 @@ static dCcD_SrcCyl l_cyl_src = {
/* SrcGObjAt Mtrl */ 0,
/* SrcGObjAt SPrm */ 0,
/* SrcGObjTg Se */ 0x25,
- /* SrcGObjTg HitMark */ 0x0C,
+ /* SrcGObjTg HitMark */ G_TG_MARK_PURPLE_HIT,
/* SrcGObjTg Spl */ 0,
/* SrcGObjTg Mtrl */ 0,
/* SrcGObjTg SPrm */ 0,
@@ -1925,7 +1925,7 @@ static dCcD_SrcCyl l_at_cyl_src = {
/* SrcObjTg SPrm */ 0,
/* SrcObjCo SPrm */ 0,
/* SrcGObjAt Se */ 0,
- /* SrcGObjAt HitMark */ 0x0F,
+ /* SrcGObjAt HitMark */ G_AT_MARK_BIG_HIT,
/* SrcGObjAt Spl */ 0x01,
/* SrcGObjAt Mtrl */ 0,
/* SrcGObjAt SPrm */ 0,
@@ -1955,7 +1955,7 @@ static dCcD_SrcCps l_at_cps_src = {
/* SrcObjTg SPrm */ 0,
/* SrcObjCo SPrm */ 0,
/* SrcGObjAt Se */ 0x01,
- /* SrcGObjAt HitMark */ 0x0D,
+ /* SrcGObjAt HitMark */ G_AT_MARK_NORMAL_HIT,
/* SrcGObjAt Spl */ 0,
/* SrcGObjAt Mtrl */ 0,
/* SrcGObjAt SPrm */ 0,
diff --git a/src/d/actor/d_a_rd.cpp b/src/d/actor/d_a_rd.cpp
index aab879c7..79dba38f 100644
--- a/src/d/actor/d_a_rd.cpp
+++ b/src/d/actor/d_a_rd.cpp
@@ -645,7 +645,7 @@ bool daRd_c::checkTgHit() {
}
break;
case AT_TYPE_GRAPPLING_HOOK:
- dComIfGp_particle_set(0x27B, &mAttentionInfo.mPosition);
+ dComIfGp_particle_set(dPa_name::ID_COMMON_STARS_BLOW, &mAttentionInfo.mPosition);
fopAcM_seStart(this, JA_SE_LK_W_WEP_HIT, 0x44);
mHitType = 0xE;
r29 = false;
@@ -662,14 +662,14 @@ bool daRd_c::checkTgHit() {
if (mHitType == 1 || mHitType == 7 || mHitType == 8 || mHealth <= 0) {
dComIfGp_particle_set(0x10, mCyl.GetTgHitPosP());
cXyz scale(2.0f, 2.0f, 2.0f);
- dComIfGp_particle_set(0xF, temp, &player->shape_angle, &scale);
+ dComIfGp_particle_set(dPa_name::ID_COMMON_BIG_HIT, temp, &player->shape_angle, &scale);
if (mHealth <= 0) {
modeProcInit(MODE_DEATH);
} else {
modeProcInit(MODE_DAMAGE);
}
} else {
- dComIfGp_particle_set(0xD, temp, &player->shape_angle);
+ dComIfGp_particle_set(dPa_name::ID_COMMON_NORMAL_HIT, temp, &player->shape_angle);
modeProcInit(MODE_DAMAGE);
}
} else if (mHitType == 0xE) {