mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-10 08:50:23 +00:00
Introduce OPEN_DISPS/CLOSE_DISPS macros (#360)
This commit is contained in:
parent
1f1b5e39f5
commit
2a2fdf7f3e
134 changed files with 3133 additions and 3775 deletions
|
@ -128,17 +128,15 @@ void BgZg_Init(Actor* thisx, GlobalContext* globalCtx) {
|
|||
|
||||
void func_808C0EEC(BgZg* this, GlobalContext* globalCtx) {
|
||||
GraphicsContext* localGfxCtx = globalCtx->state.gfxCtx;
|
||||
GraphicsContext* gfxCtx = localGfxCtx;
|
||||
Gfx* dispRefs[4];
|
||||
|
||||
Graph_OpenDisps(dispRefs, localGfxCtx, "../z_bg_zg.c", 311);
|
||||
OPEN_DISPS(localGfxCtx, "../z_bg_zg.c", 311);
|
||||
|
||||
func_80093D18(localGfxCtx);
|
||||
gSPMatrix(gfxCtx->polyOpa.p++, Matrix_NewMtx(localGfxCtx, "../z_bg_zg.c", 315),
|
||||
gSPMatrix(oGfxCtx->polyOpa.p++, Matrix_NewMtx(localGfxCtx, "../z_bg_zg.c", 315),
|
||||
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, D_06001080);
|
||||
gSPDisplayList(oGfxCtx->polyOpa.p++, D_06001080);
|
||||
|
||||
Graph_CloseDisps(dispRefs, localGfxCtx, "../z_bg_zg.c", 320);
|
||||
CLOSE_DISPS(localGfxCtx, "../z_bg_zg.c", 320);
|
||||
}
|
||||
|
||||
void BgZg_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue