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
+4 -4
View File
@@ -1142,7 +1142,7 @@ static int daObj_Brg_Execute(obj_brg_class* i_this) {
cXyz spE8;
camera_class* camera = dComIfGp_getCamera(0);
spC4 = a_this->current.pos - camera->mLookat.mEye;
spC4 = a_this->current.pos - camera->lookat.eye;
if (i_this->field_0xb1ef != 0) {
i_this->field_0xb1ef--;
@@ -1158,7 +1158,7 @@ static int daObj_Brg_Execute(obj_brg_class* i_this) {
}
if (spC4.abs() > sp1BC) {
spD0 = camera->mLookat.mCenter - camera->mLookat.mEye;
spD0 = camera->lookat.center - camera->lookat.eye;
cMtx_YrotS(*calc_mtx, -cM_atan2s(spD0.x, spD0.z));
MtxPosition(&spC4, &spD0);
@@ -2344,7 +2344,7 @@ extern actor_process_profile_definition g_profile_OBJ_BRG = {
3, // mListID
fpcPi_CURRENT_e, // mListPrio
PROC_OBJ_BRG, // mProcName
&g_fpcLf_Method.mBase, // sub_method
&g_fpcLf_Method.base, // sub_method
sizeof(obj_brg_class), // mSize
0, // mSizeOther
0, // mParameters
@@ -2354,4 +2354,4 @@ extern actor_process_profile_definition g_profile_OBJ_BRG = {
0x00044000, // mStatus
fopAc_ACTOR_e, // mActorType
fopAc_CULLBOX_CUSTOM_e, // cullType
};
};