mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-16 12:24:45 -04:00
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:
@@ -1368,7 +1368,7 @@ static int ni_play(ni_class* i_this) {
|
||||
sp78.z = -i_this->mPadMainStickY;
|
||||
|
||||
camera_class* camera = dComIfGp_getCamera(0);
|
||||
sp84 = camera->mLookat.mCenter - camera->mLookat.mEye;
|
||||
sp84 = camera->lookat.center - camera->lookat.eye;
|
||||
|
||||
cMtx_YrotS(*calc_mtx, cM_atan2s(-sp84.x, -sp84.z));
|
||||
MtxPosition(&sp78, &sp84);
|
||||
@@ -1521,9 +1521,9 @@ static void play_camera(ni_class* i_this) {
|
||||
camera->mCamera.Stop();
|
||||
|
||||
i_this->field_0xafc = 500.0f;
|
||||
i_this->field_0xac8 = camera0->mLookat.mEye;
|
||||
i_this->field_0xad4 = camera0->mLookat.mCenter;
|
||||
i_this->field_0xaec = dComIfGd_getView()->mFovy;
|
||||
i_this->field_0xac8 = camera0->lookat.eye;
|
||||
i_this->field_0xad4 = camera0->lookat.center;
|
||||
i_this->field_0xaec = dComIfGd_getView()->fovy;
|
||||
|
||||
player->changeOriginalDemo();
|
||||
player->changeDemoMode(1, 1, 0, 0);
|
||||
@@ -2505,4 +2505,4 @@ SECTION_DATA extern void* g_profile_NI[12] = {
|
||||
(void*)0xFFFFFFFD, (void*)0x0007FFFD, (void*)0x01080000, (void*)&g_fpcLf_Method,
|
||||
(void*)0x00000B0C, (void*)NULL, (void*)NULL, (void*)&g_fopAc_Method,
|
||||
(void*)0x02B70000, (void*)&l_daNi_Method, (void*)0x080C4000, (void*)0x04000000,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user