mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-16 12:54:40 +00:00
Use macros for oGfxCtx accesses (#465)
* fix colliderinit typo * fix initchain * reloc * add defines * add defines * missed some on merge * rename gfxCtx and add comment * remove space
This commit is contained in:
parent
92bb1fb210
commit
3c5fe66dcd
195 changed files with 2236 additions and 2229 deletions
|
@ -74,7 +74,7 @@ void SpeedMeter_DrawTimeEntries(SpeedMeter* this, GraphicsContext* gfxCtx) {
|
|||
|
||||
SET_FULLSCREEN_VIEWPORT(&view);
|
||||
|
||||
gfx = oGfxCtx->overlay.p;
|
||||
gfx = OVERLAY_DISP;
|
||||
func_800AB9EC(&view, 0xF, &gfx);
|
||||
|
||||
gDPPipeSync(gfx++);
|
||||
|
@ -96,7 +96,7 @@ void SpeedMeter_DrawTimeEntries(SpeedMeter* this, GraphicsContext* gfxCtx) {
|
|||
}
|
||||
gDPPipeSync(gfx++);
|
||||
|
||||
oGfxCtx->overlay.p = gfx;
|
||||
OVERLAY_DISP = gfx;
|
||||
|
||||
CLOSE_DISPS(gfxCtx, "../speed_meter.c", 276);
|
||||
}
|
||||
|
@ -130,7 +130,7 @@ void SpeedMeter_DrawAllocEntry(SpeedMeterAllocEntry* this, GraphicsContext* gfxC
|
|||
|
||||
SET_FULLSCREEN_VIEWPORT(&view);
|
||||
|
||||
gfx = oGfxCtx->overlay.p;
|
||||
gfx = OVERLAY_DISP;
|
||||
func_800AB9EC(&view, 0xF, &gfx);
|
||||
|
||||
gDPPipeSync(gfx++);
|
||||
|
@ -145,7 +145,7 @@ void SpeedMeter_DrawAllocEntry(SpeedMeterAllocEntry* this, GraphicsContext* gfxC
|
|||
|
||||
gDPPipeSync(gfx++);
|
||||
|
||||
oGfxCtx->overlay.p = gfx;
|
||||
OVERLAY_DISP = gfx;
|
||||
CLOSE_DISPS(gfxCtx, "../speed_meter.c", 339);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue