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
|
@ -1290,7 +1290,7 @@ void EnBb_Draw(Actor* thisx, PlayState* play) {
|
|||
blureBase2.z = this->maxSpeed * 80.0f;
|
||||
if (this->moveMode != BBMOVE_HIDDEN) {
|
||||
if (this->actor.params <= ENBB_BLUE) {
|
||||
func_80093D18(play->state.gfxCtx);
|
||||
Gfx_SetupDL_25Opa(play->state.gfxCtx);
|
||||
SkelAnime_DrawOpa(play, this->skelAnime.skeleton, this->skelAnime.jointTable, NULL, EnBb_PostLimbDraw,
|
||||
this);
|
||||
|
||||
|
@ -1325,7 +1325,7 @@ void EnBb_Draw(Actor* thisx, PlayState* play) {
|
|||
Matrix_Translate(0.0f, -40.0f, 0.0f, MTXMODE_APPLY);
|
||||
}
|
||||
if (this->actor.params != ENBB_WHITE) {
|
||||
func_80093D84(play->state.gfxCtx);
|
||||
Gfx_SetupDL_25Xlu(play->state.gfxCtx);
|
||||
gSPSegment(POLY_XLU_DISP++, 0x08,
|
||||
Gfx_TwoTexScroll(play->state.gfxCtx, 0, 0, 0, 0x20, 0x40, 1, 0,
|
||||
((play->gameplayFrames + (this->flameScrollMod * 10)) *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue