mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 21:33:07 -04:00
Replace particle enums with official names
This commit is contained in:
@@ -138,7 +138,7 @@ static BOOL daSyan_Execute(syan_class* i_this) {
|
||||
if (!i_this->emtrEnabled[i]) {
|
||||
i_this->emtrEnabled[i] = true;
|
||||
static cXyz fire_scale(0.7f, 0.7f, 0.7f);
|
||||
dComIfGp_particle_set(dPa_name::ID_COMMON_01EA, &i_this->partPos[i], NULL, &fire_scale, 0xFF, &i_this->emtrCallBack[i]);
|
||||
dComIfGp_particle_set(dPa_name::ID_AK_JN_TORCH, &i_this->partPos[i], NULL, &fire_scale, 0xFF, &i_this->emtrCallBack[i]);
|
||||
} else {
|
||||
JPABaseEmitter* emtr = i_this->emtrCallBack[i].getEmitter();
|
||||
if (emtr != NULL) {
|
||||
@@ -162,7 +162,7 @@ static BOOL daSyan_Execute(syan_class* i_this) {
|
||||
i_this->emtrCallBack[i].getEmitter()->setGlobalParticleScale(scale);
|
||||
|
||||
cXyz pos(i_this->partPos[i].x, i_this->partPos[i].y + REG0_F(7) + 20.0f, i_this->partPos[i].z);
|
||||
dComIfGp_particle_setSimple(dPa_name::ID_COMMON_4004, &pos);
|
||||
dComIfGp_particle_setSimple(dPa_name::ID_AK_JP_O_KAGEROU00, &pos);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user