mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-20 05:51:18 +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
|
@ -177,7 +177,7 @@ void EnZo_DrawEffectsRipples(EnZo* this, PlayState* play) {
|
|||
effect = this->effects;
|
||||
OPEN_DISPS(play->state.gfxCtx, "../z_en_zo_eff.c", 217);
|
||||
materialFlag = false;
|
||||
func_80093D84(play->state.gfxCtx);
|
||||
Gfx_SetupDL_25Xlu(play->state.gfxCtx);
|
||||
for (i = 0; i < EN_ZO_EFFECT_COUNT; i++) {
|
||||
if (effect->type == ENZO_EFFECT_RIPPLE) {
|
||||
if (!materialFlag) {
|
||||
|
@ -207,7 +207,7 @@ void EnZo_DrawEffectsBubbles(EnZo* this, PlayState* play) {
|
|||
|
||||
OPEN_DISPS(play->state.gfxCtx, "../z_en_zo_eff.c", 260);
|
||||
materialFlag = false;
|
||||
func_80093D84(play->state.gfxCtx);
|
||||
Gfx_SetupDL_25Xlu(play->state.gfxCtx);
|
||||
for (i = 0; i < EN_ZO_EFFECT_COUNT; i++) {
|
||||
if (effect->type == ENZO_EFFECT_BUBBLE) {
|
||||
if (!materialFlag) {
|
||||
|
@ -241,7 +241,7 @@ void EnZo_DrawEffectsSplashes(EnZo* this, PlayState* play) {
|
|||
effect = this->effects;
|
||||
OPEN_DISPS(play->state.gfxCtx, "../z_en_zo_eff.c", 298);
|
||||
materialFlag = false;
|
||||
func_80093D84(play->state.gfxCtx);
|
||||
Gfx_SetupDL_25Xlu(play->state.gfxCtx);
|
||||
for (i = 0; i < EN_ZO_EFFECT_COUNT; i++) {
|
||||
if (effect->type == ENZO_EFFECT_SPLASH) {
|
||||
if (!materialFlag) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue