mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 06:52:03 +00:00
Add enum for setup dls and name z_rcp.c
functions (#1196)
* Introduce `SetupDL` enum * wip * wip * Remove comments on each setupdl index * Name setup dl functions by setupdl index * `Gfx_SetupDl` -> `Gfx_SetupDL` * Run formatter * globalctx -> play * fix regressions * `Gfx_SetupDL` -> `Gfx_SetupDL_` (add separating underscore) * `CallSetupDL` -> `SetupDL`
This commit is contained in:
parent
4775fd4a7e
commit
1a41694d58
376 changed files with 1047 additions and 971 deletions
|
@ -284,8 +284,8 @@ void DemoIk_Type1Draw(DemoIk* this, PlayState* play) {
|
|||
|
||||
OPEN_DISPS(gfxCtx, "../z_demo_ik_inArmer.c", 422);
|
||||
func_8002EBCC(&this->actor, play, 0);
|
||||
func_80093D18(gfxCtx);
|
||||
func_80093D84(gfxCtx);
|
||||
Gfx_SetupDL_25Opa(gfxCtx);
|
||||
Gfx_SetupDL_25Xlu(gfxCtx);
|
||||
gSPSegment(POLY_OPA_DISP++, 0x08, DemoIk_SetColors(gfxCtx, 245, 225, 155, 30, 30, 0));
|
||||
gSPSegment(POLY_OPA_DISP++, 0x09, DemoIk_SetColors(gfxCtx, 255, 40, 0, 40, 0, 0));
|
||||
gSPSegment(POLY_OPA_DISP++, 0x0A, DemoIk_SetColors(gfxCtx, 255, 255, 255, 20, 40, 30));
|
||||
|
@ -451,8 +451,8 @@ void DemoIk_Type2Draw(DemoIk* this, PlayState* play) {
|
|||
|
||||
OPEN_DISPS(gfxCtx, "../z_demo_ik_inFace.c", 318);
|
||||
func_8002EBCC(&this->actor, play, 0);
|
||||
func_80093D18(gfxCtx);
|
||||
func_80093D84(gfxCtx);
|
||||
Gfx_SetupDL_25Opa(gfxCtx);
|
||||
Gfx_SetupDL_25Xlu(gfxCtx);
|
||||
gSPSegment(POLY_OPA_DISP++, 0x08, DemoIk_SetColors(gfxCtx, 245, 225, 155, 30, 30, 0));
|
||||
gSPSegment(POLY_OPA_DISP++, 0x09, DemoIk_SetColors(gfxCtx, 255, 40, 0, 40, 0, 0));
|
||||
gSPSegment(POLY_OPA_DISP++, 0x0A, DemoIk_SetColors(gfxCtx, 255, 255, 255, 20, 40, 30));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue