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
+10 -10
View File
@@ -183,21 +183,21 @@ public:
/* 80051AC0-80051ADC 04C400 001C+00 0/0 3/3 0/0 .text setViewPort__14dDlst_window_cFffffff */
void dDlst_window_c::setViewPort(f32 xOrig, f32 yOrig, f32 width, f32 height, f32 nearZ, f32 farZ) {
mViewport.mXOrig = xOrig;
mViewport.mYOrig = yOrig;
mViewport.mWidth = width;
mViewport.mHeight = height;
mViewport.mNearZ = nearZ;
mViewport.mFarZ = farZ;
mViewport.x_orig = xOrig;
mViewport.y_orig = yOrig;
mViewport.width = width;
mViewport.height = height;
mViewport.near_z = nearZ;
mViewport.far_z = farZ;
}
/* 80051ADC-80051AF0 04C41C 0014+00 0/0 4/4 0/0 .text setScissor__14dDlst_window_cFffff
*/
void dDlst_window_c::setScissor(f32 xOrig, f32 yOrig, f32 width, f32 height) {
mViewport.mScissor.mXOrig = xOrig;
mViewport.mScissor.mYOrig = yOrig;
mViewport.mScissor.mWidth = width;
mViewport.mScissor.mHeight = height;
mViewport.scissor.x_orig = xOrig;
mViewport.scissor.y_orig = yOrig;
mViewport.scissor.width = width;
mViewport.scissor.height = height;
}
/* 80051AF0-80051CF0 04C430 0200+00 1/0 0/0 0/0 .text draw__13dDlst_2DTri_cFv */