some cleanup of f_pc/f_op files (#2254)

* cleanup f_pc files

* cleanup f_op files

* fix a couple f_op_actor_mng functions

* minor JSystem work
This commit is contained in:
TakaRikka
2024-11-29 08:24:26 -08:00
committed by GitHub
parent 6482fe7535
commit 073992df8d
903 changed files with 6835 additions and 6587 deletions
+2 -2
View File
@@ -767,7 +767,7 @@ BOOL daNbomb_c::procExplode() {
mLightInfluence.mPow = mExplosionStrength * 1500.0f;
mWindInfluence.mStrength = mExplosionStrength;
f32 dist_to_cam = current.pos.abs(camera->mLookat.mEye);
f32 dist_to_cam = current.pos.abs(camera->lookat.eye);
if (dist_to_cam < 1500.0f) {
dist_scale = dist_to_cam / 1500.0f;
dist_scale *= dist_scale * dist_scale;
@@ -1757,7 +1757,7 @@ extern actor_process_profile_definition g_profile_NBOMB = {
7, // mListID
fpcPi_CURRENT_e, // mListPrio
PROC_NBOMB, // mProcName
&g_fpcLf_Method.mBase, // sub_method
&g_fpcLf_Method.base, // sub_method
sizeof(daNbomb_c), // mSize
0, // mSizeOther
0, // mParameters