func_8024DE1C() match
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# banjo (96.6892%)
|
||||
# banjo (96.7230%)
|
||||
|
||||
<img src="./progress/progress_total.svg">
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
</mask>
|
||||
<g mask="url(#anybadge_1)">
|
||||
<path fill="#555" d="M0 0h44v20H0z"/>
|
||||
<path fill="#1be000" d="M44 0h67v20H44z"/>
|
||||
<path fill="#1ae000" d="M44 0h67v20H44z"/>
|
||||
<path fill="url(#b)" d="M0 0h111v20H0z"/>
|
||||
</g>
|
||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||
@@ -17,7 +17,7 @@
|
||||
<text x="22.0" y="14">core1</text>
|
||||
</g>
|
||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">93.8967%</text>
|
||||
<text x="77.5" y="14">93.8967%</text>
|
||||
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">94.1297%</text>
|
||||
<text x="77.5" y="14">94.1297%</text>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
@@ -17,7 +17,7 @@
|
||||
<text x="75.0" y="14">Banjo-Kazooie (us.v10)</text>
|
||||
</g>
|
||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">96.6892%</text>
|
||||
<text x="183.5" y="14">96.6892%</text>
|
||||
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">96.7230%</text>
|
||||
<text x="183.5" y="14">96.7230%</text>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -22,15 +22,7 @@ int D_80280F90;
|
||||
f32 D_80280F98[4][4];
|
||||
Mtx D_80280FD8;
|
||||
s32 D_80281018; //viewport indx
|
||||
u8 pad_8028101C[0x8];
|
||||
f32 D_80281028[3];
|
||||
f32 D_80281038[3];
|
||||
f32 D_80281048[3];
|
||||
f32 D_80281058[3];
|
||||
f32 D_80281068[3];
|
||||
f32 D_80281078[3];
|
||||
f32 D_80281088[3];
|
||||
f32 D_80281098[4][4];
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -377,7 +369,43 @@ f32 func_8024DDD8(s32 arg0, f32 arg1){
|
||||
return mlNormalizeAngle((D_80280EC0[1] + arg1) + 90.0);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core1/code_EAF0/func_8024DE1C.s")
|
||||
f32 func_8024DE1C(f32 arg0, f32 arg1, f32 arg2[3], f32 arg3[3]) {
|
||||
f32 sp24;
|
||||
static f32 D_8028101C;
|
||||
static f32 D_80281020;
|
||||
static f32 D_80281024;
|
||||
|
||||
if ((D_80275D20 != D_8028101C) || (D_80275D28 != D_80281020)) {
|
||||
sp24 = (D_80275D20 * M_PI) / 360.0;
|
||||
D_80281024 = (500.0 + D_80275D28) / (((framebuffer_height / (f32)2) / sinf(sp24)) * cosf(sp24));
|
||||
D_8028101C = D_80275D20;\
|
||||
D_80281020 = D_80275D28;
|
||||
}
|
||||
arg0 = arg0 - (framebuffer_width / (f32)2);
|
||||
arg1 = (framebuffer_height / (f32)2) - arg1;
|
||||
arg3[0] = D_80280EC0[0];
|
||||
arg3[1] = D_80280EC0[1];
|
||||
arg3[2] = D_80280EC0[2];
|
||||
arg2[0] = arg0 * D_80281024;
|
||||
arg2[1] = arg1 * D_80281024;
|
||||
arg2[2] = (-500.0 - D_80275D28);
|
||||
ml_vec3f_pitch_rotate_copy(arg2, arg2, arg3[0]);
|
||||
ml_vec3f_yaw_rotate_copy(arg2, arg2, arg3[1]);
|
||||
|
||||
arg2[0] += D_80280EB0[0];
|
||||
arg2[1] += D_80280EB0[1];
|
||||
arg2[2] += D_80280EB0[2];
|
||||
return D_80281024;
|
||||
}
|
||||
|
||||
f32 D_80281028[3];
|
||||
f32 D_80281038[3];
|
||||
f32 D_80281048[3];
|
||||
f32 D_80281058[3];
|
||||
f32 D_80281068[3];
|
||||
f32 D_80281078[3];
|
||||
f32 D_80281088[3];
|
||||
f32 D_80281098[4][4];
|
||||
|
||||
bool func_8024E030(f32 arg0[3], f32 *arg1)
|
||||
{
|
||||
|
@@ -132,7 +132,6 @@ void func_8030A6B0(void){//clear
|
||||
D_80382394 = NULL;
|
||||
}
|
||||
|
||||
|
||||
void func_8030A78C(void){//init
|
||||
struct_7AF80_0* iPtr;
|
||||
struct_7AF80_1* jPtr;
|
||||
@@ -201,7 +200,6 @@ void func_8030AA6C(void) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void func_8030ABA4(void) {
|
||||
s32 temp_lo;
|
||||
s32 temp_t7;
|
||||
@@ -227,4 +225,3 @@ void func_8030ABA4(void) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user