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
+3 -3
View File
@@ -217,8 +217,8 @@ static int daNPC_LF_Execute(npc_lf_class* i_this) {
for (int i = 0; i < i_this->mIter; i++, fish++) {
cXyz pos;
pos.x = fish->field_0x04.x - camera->mLookat.mEye.x;
pos.z = fish->field_0x04.z - camera->mLookat.mEye.z;
pos.x = fish->field_0x04.x - camera->lookat.eye.x;
pos.z = fish->field_0x04.z - camera->lookat.eye.z;
f32 res = JMAFastSqrt((pos.x * pos.x) + (pos.z * pos.z));
if (res < 1500.0f) {
@@ -358,7 +358,7 @@ extern actor_process_profile_definition g_profile_NPC_LF = {
7, // mListID
fpcPi_CURRENT_e, // mListPrio
PROC_NPC_LF, // mProcName
&g_fpcLf_Method.mBase, // sub_method
&g_fpcLf_Method.base, // sub_method
sizeof(npc_lf_class), // mSize
0, // mSizeOther
0, // mParameters