mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-13 11:24:40 +00:00
Decompile the pause menu aka. ovl_kaleido_scope (+ minor changes) (#803)
* Decompile ovl_kaleido_scope + minor cleanups * Add a common header for ovl_kaleido_scope * Start cleaning up and documenting kaleido_scope (+ some interface docs) * Improve and fix some kaleido_scope non matchings * Match KaleidoSetup_Init * Extract icon_item_fra/ger_static files * Add more documentation and matches to kaleido_scope * Improve the z_kaleido_collect.c non matching * Rename z_kaleido_8081EFF0.c to z_kaleido_prompt.c * Update most kaleido variables to be static * Improve GS flag macros * Improve z_lmap_mark.c and extract z_lmap_mark_data.c with a script * Various minor fixes and improvements * Minor fixes and review changes * Review changes part 2 * Rename gSetTileCustom to gDPSetTileCustom * Review changes part 3
This commit is contained in:
parent
4e9f40cb13
commit
a53e084cd2
106 changed files with 8605 additions and 24307 deletions
|
@ -27,7 +27,7 @@ void Sample_Draw(SampleContext* this) {
|
|||
gSPMatrix(POLY_OPA_DISP++, mtx, G_MTX_LOAD);
|
||||
}
|
||||
|
||||
POLY_OPA_DISP = Gfx_SetFog2(POLY_OPA_DISP, 0xFF, 0xFF, 0xFF, 0, 0, 0);
|
||||
POLY_OPA_DISP = Gfx_SetFog2(POLY_OPA_DISP, 255, 255, 255, 0, 0, 0);
|
||||
func_80093D18(gfxCtx);
|
||||
|
||||
gDPSetCycleType(POLY_OPA_DISP++, G_CYC_1CYCLE);
|
||||
|
@ -54,24 +54,24 @@ void Sample_SetupView(SampleContext* this) {
|
|||
|
||||
View_Init(view, gfxCtx);
|
||||
SET_FULLSCREEN_VIEWPORT(view);
|
||||
func_800AA460(view, 60, 10, 12800);
|
||||
func_800AA460(view, 60.0f, 10.0f, 12800.0f);
|
||||
|
||||
{
|
||||
Vec3f v1;
|
||||
Vec3f v2;
|
||||
Vec3f v3;
|
||||
Vec3f eye;
|
||||
Vec3f lookAt;
|
||||
Vec3f up;
|
||||
|
||||
v1.x = 0;
|
||||
v1.y = 0;
|
||||
v2.x = 0;
|
||||
v2.y = 0;
|
||||
v2.z = 0;
|
||||
v3.x = 0;
|
||||
v3.z = 0;
|
||||
v1.z = 3000;
|
||||
v3.y = 1;
|
||||
eye.x = 0.0f;
|
||||
eye.y = 0.0f;
|
||||
eye.z = 3000.0f;
|
||||
lookAt.x = 0.0f;
|
||||
lookAt.y = 0.0f;
|
||||
lookAt.z = 0.0f;
|
||||
up.x = 0.0f;
|
||||
up.z = 0.0f;
|
||||
up.y = 1.0f;
|
||||
|
||||
func_800AA358(view, &v1, &v2, &v3);
|
||||
func_800AA358(view, &eye, &lookAt, &up);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue