mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-11 01:10:33 +00:00
Doc shrink_window, rename system to Letterbox (#1341)
* docs * missed some hex * document Gfx_SetupFrame * review
This commit is contained in:
parent
dda78f9e2c
commit
fec5cd84af
24 changed files with 134 additions and 107 deletions
|
@ -1606,7 +1606,7 @@ void FileSelect_Main(GameState* thisx) {
|
|||
gSPSegment(POLY_OPA_DISP++, 0x01, this->staticSegment);
|
||||
gSPSegment(POLY_OPA_DISP++, 0x02, this->parameterSegment);
|
||||
|
||||
func_80095248(this->state.gfxCtx, 0, 0, 0);
|
||||
Gfx_SetupFrame(this->state.gfxCtx, 0, 0, 0);
|
||||
|
||||
this->stickRelX = input->rel.stick_x;
|
||||
this->stickRelY = input->rel.stick_y;
|
||||
|
@ -1825,7 +1825,7 @@ void FileSelect_InitContext(GameState* thisx) {
|
|||
this->unk_1CAD6[3] = 8;
|
||||
this->unk_1CAD6[4] = 10;
|
||||
|
||||
ShrinkWindow_SetVal(0);
|
||||
Letterbox_SetSizeTarget(0);
|
||||
|
||||
gSaveContext.skyboxTime = CLOCK_TIME(0, 0);
|
||||
gSaveContext.dayTime = CLOCK_TIME(0, 0);
|
||||
|
|
|
@ -22,7 +22,7 @@ void func_80803C5C(TitleSetupState* this) {
|
|||
void TitleSetup_Main(GameState* thisx) {
|
||||
TitleSetupState* this = (TitleSetupState*)thisx;
|
||||
|
||||
func_80095248(this->state.gfxCtx, 0, 0, 0);
|
||||
Gfx_SetupFrame(this->state.gfxCtx, 0, 0, 0);
|
||||
TitleSetup_SetupTitleScreen(this);
|
||||
func_80803C5C(this);
|
||||
}
|
||||
|
|
|
@ -650,7 +650,7 @@ void MapSelect_DrawMenu(MapSelectState* this) {
|
|||
OPEN_DISPS(gfxCtx, "../z_select.c", 930);
|
||||
|
||||
gSPSegment(POLY_OPA_DISP++, 0x00, NULL);
|
||||
func_80095248(gfxCtx, 0, 0, 0);
|
||||
Gfx_SetupFrame(gfxCtx, 0, 0, 0);
|
||||
SET_FULLSCREEN_VIEWPORT(&this->view);
|
||||
View_Apply(&this->view, VIEW_ALL);
|
||||
Gfx_SetupDL_28Opa(gfxCtx);
|
||||
|
@ -674,7 +674,7 @@ void MapSelect_DrawLoadingScreen(MapSelectState* this) {
|
|||
OPEN_DISPS(gfxCtx, "../z_select.c", 977);
|
||||
|
||||
gSPSegment(POLY_OPA_DISP++, 0x00, NULL);
|
||||
func_80095248(gfxCtx, 0, 0, 0);
|
||||
Gfx_SetupFrame(gfxCtx, 0, 0, 0);
|
||||
SET_FULLSCREEN_VIEWPORT(&this->view);
|
||||
View_Apply(&this->view, VIEW_ALL);
|
||||
Gfx_SetupDL_28Opa(gfxCtx);
|
||||
|
@ -695,7 +695,7 @@ void MapSelect_Draw(MapSelectState* this) {
|
|||
OPEN_DISPS(gfxCtx, "../z_select.c", 1013);
|
||||
|
||||
gSPSegment(POLY_OPA_DISP++, 0x00, NULL);
|
||||
func_80095248(gfxCtx, 0, 0, 0);
|
||||
Gfx_SetupFrame(gfxCtx, 0, 0, 0);
|
||||
SET_FULLSCREEN_VIEWPORT(&this->view);
|
||||
View_Apply(&this->view, VIEW_ALL);
|
||||
|
||||
|
|
|
@ -124,7 +124,7 @@ void ConsoleLogo_Main(GameState* thisx) {
|
|||
|
||||
gSPSegment(POLY_OPA_DISP++, 0, NULL);
|
||||
gSPSegment(POLY_OPA_DISP++, 1, this->staticSegment);
|
||||
func_80095248(this->state.gfxCtx, 0, 0, 0);
|
||||
Gfx_SetupFrame(this->state.gfxCtx, 0, 0, 0);
|
||||
ConsoleLogo_Calc(this);
|
||||
ConsoleLogo_Draw(this);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue