Halloween! 🎃63% matched! (#430)

* Match func_80085B9C

* Match draw_menu_elements

* Match render_file_select_menu

* Minor cleanup and semi documenting

* Fix some warnings

* Match func_800871D8

* More SIDeviceStatus stuff

* Update progress

* Fix non equivalent

* Update filter alpha to blend factor

* Fixed minor spacing issue

* Better floats math.
This commit is contained in:
Ryan Myers
2023-10-31 16:09:58 -04:00
committed by GitHub
parent d8e58622e0
commit cf2fa915b9
20 changed files with 521 additions and 2076 deletions
+4 -4
View File
@@ -159,7 +159,7 @@ void camera_init(void) {
gModelMatrixStackPos = 0;
gCameraMatrixPos = 0;
gNumberOfViewports = 0;
D_80120D0C = 0;
D_80120D0C = FALSE;
D_80120D18 = 0;
gAdjustViewportHeight = 0;
gAntiPiracyViewport = 0;
@@ -1006,8 +1006,8 @@ void func_80068408(Gfx **dlist, MatrixS **mtx) {
gSPMatrix((*dlist)++, OS_PHYSICAL_TO_K0((*mtx)++), gMatrixType << 6);
}
void func_80068508(s32 arg0) {
D_80120D0C = arg0;
void func_80068508(s32 bool) {
D_80120D0C = bool;
}
/**
@@ -1099,7 +1099,7 @@ s32 render_sprite_billboard(Gfx **dlist, MatrixS **mtx, Vertex **vertexList, Obj
gSPMatrix((*dlist)++, OS_PHYSICAL_TO_K0((*mtx)++), G_MTX_DKR_INDEX_2);
gDkrEnableBillboard((*dlist)++);
}
if (D_80120D0C == 0) {
if (D_80120D0C == FALSE) {
textureFrame = ((textureFrame & 0xFF) * arg4->textureCount) >> 8;
}
flags &= ~RENDER_VEHICLE_PART;