Replace particle enums with official names

This commit is contained in:
LagoLunatic
2026-03-20 16:02:41 -04:00
parent 70a0a15b35
commit 061fa893eb
166 changed files with 2137 additions and 2019 deletions
+6 -6
View File
@@ -860,7 +860,7 @@ bool daFm_c::checkTgHit() {
fopAcM_seStart(this, JA_SE_LK_W_WEP_HIT, 0x44);
temp = false;
mHitType = 4;
dComIfGp_particle_set(dPa_name::ID_COMMON_STARS_BLOW, &attention_info.position);
dComIfGp_particle_set(dPa_name::ID_IT_JN_PIYOHIT00, &attention_info.position);
fopAcM_monsSeStart(this, JA_SE_CV_FM_DAMAGE, 0);
modeProcInit(0x13);
break;
@@ -907,7 +907,7 @@ bool daFm_c::checkTgHit() {
case AT_TYPE_GRAPPLING_HOOK:
fopAcM_monsSeStart(this, JA_SE_CV_FM_DAMAGE, 0);
dComIfGp_particle_set(dPa_name::ID_COMMON_STARS_BLOW, &attention_info.position);
dComIfGp_particle_set(dPa_name::ID_IT_JN_PIYOHIT00, &attention_info.position);
fopAcM_seStart(this, JA_SE_LK_W_WEP_HIT, 0x44);
mHitType = 0xD;
temp = false;
@@ -921,9 +921,9 @@ bool daFm_c::checkTgHit() {
if (temp) {
cc_at_check(this, &atInfo);
if (mHitType == 1 || mHitType == 8 || mHitType == 9 || mHitType== 0xc || health <= 0) {
dComIfGp_particle_set(dPa_name::ID_COMMON_0010, hitPos);
dComIfGp_particle_set(dPa_name::ID_AK_JN_CRITICALHITFLASH, hitPos);
cXyz temp2(2.0f, 2.0f, 2.0f);
dComIfGp_particle_set(dPa_name::ID_COMMON_BIG_HIT, hitPos, &player->shape_angle, &temp2);
dComIfGp_particle_set(dPa_name::ID_AK_JN_CRITICALHIT, hitPos, &player->shape_angle, &temp2);
if (health <= 0) {
fopAcM_monsSeStart(this, JA_SE_CV_FM_DIE, 0);
@@ -942,7 +942,7 @@ bool daFm_c::checkTgHit() {
modeProcInit(10);
}
} else {
dComIfGp_particle_set(dPa_name::ID_COMMON_NORMAL_HIT, hitPos, &player->shape_angle);
dComIfGp_particle_set(dPa_name::ID_AK_JN_OK, hitPos, &player->shape_angle);
fopAcM_monsSeStart(this, JA_SE_CV_FM_DAMAGE, 0);
modeProcInit(10);
@@ -2991,7 +2991,7 @@ int daFm_c::setRnd(int param_1, int param_2) {
/* 00008044-00008114 .text setHoleEffect__6daFm_cFv */
void daFm_c::setHoleEffect() {
if(mpFollowEcallBack.getEmitter() == NULL) {
dComIfGp_particle_setShipTail(dPa_name::ID_SCENE_809E, &current.pos, NULL, NULL, 0xFF, &mpFollowEcallBack, fopAcM_GetRoomNo(this));
dComIfGp_particle_setShipTail(dPa_name::ID_AK_SN_PITFALL00, &current.pos, NULL, NULL, 0xFF, &mpFollowEcallBack, fopAcM_GetRoomNo(this));
}
JPABaseEmitter* emitter = mpFollowEcallBack.getEmitter();