mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 05:22:39 -04:00
Populate particle IDs enum with placeholders and use them everywhere
This commit is contained in:
+13
-13
@@ -672,14 +672,14 @@ void daTbox_c::demoInitAppear_Tact() {
|
||||
angle.y = current.angle.y;
|
||||
angle.z = current.angle.z;
|
||||
|
||||
dComIfGp_particle_set(0x82F1, ¤t.pos, &angle);
|
||||
dComIfGp_particle_set(0x82F0, ¤t.pos, &angle);
|
||||
dComIfGp_particle_set(dPa_name::ID_SCENE_82F1, ¤t.pos, &angle);
|
||||
dComIfGp_particle_set(dPa_name::ID_SCENE_82F0, ¤t.pos, &angle);
|
||||
|
||||
angle.y += 0x5555;
|
||||
dComIfGp_particle_set(0x82F0, ¤t.pos, &angle);
|
||||
dComIfGp_particle_set(dPa_name::ID_SCENE_82F0, ¤t.pos, &angle);
|
||||
|
||||
angle.y += 0x5555;
|
||||
dComIfGp_particle_set(0x82F0, ¤t.pos, &angle);
|
||||
dComIfGp_particle_set(dPa_name::ID_SCENE_82F0, ¤t.pos, &angle);
|
||||
|
||||
fopAcM_seStart(this, JA_SE_OBJ_TRIFORCE_BOX_IN, 0);
|
||||
}
|
||||
@@ -688,8 +688,8 @@ void daTbox_c::demoInitAppear_Tact() {
|
||||
void daTbox_c::demoInitAppear() {
|
||||
fopAcM_seStart(this, JA_SE_OBJ_KOUBAKU_TBOX, 0);
|
||||
|
||||
dComIfGp_particle_set(0x3EB, ¤t.pos);
|
||||
dComIfGp_particle_set(0x3EC, ¤t.pos);
|
||||
dComIfGp_particle_set(dPa_name::ID_COMMON_03EB, ¤t.pos);
|
||||
dComIfGp_particle_set(dPa_name::ID_COMMON_03EC, ¤t.pos);
|
||||
}
|
||||
|
||||
/* 00001B38-00001CF4 .text demoProcAppear_Tact__8daTbox_cFv */
|
||||
@@ -735,7 +735,7 @@ void daTbox_c::demoProcAppear() {
|
||||
}
|
||||
|
||||
if (mAppearTimer == 0x05) {
|
||||
JPABaseEmitter* emitter = dComIfGp_particle_setToon(0x2022, ¤t.pos, NULL, NULL, 0xB9, &mSmokeCB);
|
||||
JPABaseEmitter* emitter = dComIfGp_particle_setToon(dPa_name::ID_COMMON_2022, ¤t.pos, NULL, NULL, 0xB9, &mSmokeCB);
|
||||
|
||||
if (emitter != NULL) {
|
||||
emitter->setRate(100.0f);
|
||||
@@ -896,13 +896,13 @@ void daTbox_c::OpenInit() {
|
||||
|
||||
flagOn(daTboxFlg_OPENING_e);
|
||||
|
||||
dComIfGp_particle_set(0x01F1, ¤t.pos, ¤t.angle);
|
||||
dComIfGp_particle_set(0x01F2, ¤t.pos, ¤t.angle);
|
||||
dComIfGp_particle_set(0x01F3, ¤t.pos, ¤t.angle);
|
||||
dComIfGp_particle_set(0x01F4, ¤t.pos, ¤t.angle);
|
||||
dComIfGp_particle_set(0x01F6, ¤t.pos, ¤t.angle);
|
||||
dComIfGp_particle_set(dPa_name::ID_COMMON_01F1, ¤t.pos, ¤t.angle);
|
||||
dComIfGp_particle_set(dPa_name::ID_COMMON_01F2, ¤t.pos, ¤t.angle);
|
||||
dComIfGp_particle_set(dPa_name::ID_COMMON_01F3, ¤t.pos, ¤t.angle);
|
||||
dComIfGp_particle_set(dPa_name::ID_COMMON_01F4, ¤t.pos, ¤t.angle);
|
||||
dComIfGp_particle_set(dPa_name::ID_COMMON_01F6, ¤t.pos, ¤t.angle);
|
||||
|
||||
mSmokeEmitter = dComIfGp_particle_set(0x01F5, ¤t.pos, ¤t.angle);
|
||||
mSmokeEmitter = dComIfGp_particle_set(dPa_name::ID_COMMON_01F5, ¤t.pos, ¤t.angle);
|
||||
if (mSmokeEmitter != NULL) {
|
||||
mSmokeEmitter->mGlobalPrmColor.a = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user