mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-13 03:14:38 +00:00
z_select decompiled, 1 non matching left (#202)
* First pass z_select * lots of progress. 2 non matchings and data stuff needed * match Select_LoadGame * z_select almost ok, 1 func left * remove comments * remove comments and add description * remove unused flg_set asm * set_next_gamestate macro * pr suggestions 1 * pr suggestions 2 * map -> scene * pr suggestions 3 Co-authored-by: Kelebek1 <eeeedddccc@hotmail.co.uk>
This commit is contained in:
parent
df3bfbc168
commit
031d946db7
38 changed files with 721 additions and 1675 deletions
|
@ -52,31 +52,31 @@ void Sample_Destroy(SampleContext* this) {
|
|||
void Sample_SetupView(SampleContext* this) {
|
||||
View* view;
|
||||
GraphicsContext* gfxCtx;
|
||||
Viewport viewport;
|
||||
Vec3f v1;
|
||||
Vec3f v2;
|
||||
Vec3f v3;
|
||||
|
||||
|
||||
view = &this->view;
|
||||
gfxCtx = this->state.gfxCtx;
|
||||
|
||||
View_Init(view, gfxCtx);
|
||||
|
||||
VIEWPORT_INIT(viewport, SCREEN_HEIGHT, SCREEN_WIDTH, 0, 0);
|
||||
|
||||
View_SetViewport(view, &viewport);
|
||||
SET_FULLSCREEN_VIEWPORT(view);
|
||||
func_800AA460(view, 60, 10, 12800);
|
||||
|
||||
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;
|
||||
{
|
||||
Vec3f v1;
|
||||
Vec3f v2;
|
||||
Vec3f v3;
|
||||
|
||||
func_800AA358(view, &v1, &v2, &v3);
|
||||
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;
|
||||
|
||||
func_800AA358(view, &v1, &v2, &v3);
|
||||
}
|
||||
}
|
||||
|
||||
void Sample_LoadTitleStatic(SampleContext* this) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue