1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-13 19:35:28 +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:
fig02 2020-06-13 22:59:58 -04:00 committed by GitHub
parent df3bfbc168
commit 031d946db7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 721 additions and 1675 deletions

View file

@ -1135,14 +1135,12 @@ void Gameplay_Draw(GlobalContext* globalCtx) {
if ((globalCtx->transitionMode == 3) || (globalCtx->transitionMode == 11) ||
(globalCtx->transitionCtx.transitionType >= 56)) {
View view; // 0xA0
Viewport viewport; // 0x90
View_Init(&view, gfxCtx);
view.flags = 2 | 8;
VIEWPORT_INIT(viewport, SCREEN_HEIGHT, SCREEN_WIDTH, 0, 0);
SET_FULLSCREEN_VIEWPORT(&view);
View_SetViewport(&view, &viewport);
func_800AB9EC(&view, 15, &gfxP);
globalCtx->transitionCtx.draw(&globalCtx->transitionCtx.data, &gfxP);
}