summaryrefslogtreecommitdiff
path: root/src/code/z_actor.c
diff options
context:
space:
mode:
authorKrimtonZ <krimtonz@gmail.com>2020-03-31 20:59:51 -0500
committerKrimtonZ <krimtonz@gmail.com>2020-03-31 20:59:51 -0500
commit25dcb73520d90dcebc6c02cbd7b866688c40ce28 (patch)
treecbeb0cf95366f40a5f30e0dd2114208ef21b6020 /src/code/z_actor.c
parent32bda67e0f8065f5d84effbfce84d6c188df50e4 (diff)
parent4988a701130c7442d82687ef4c12a4074db6079d (diff)
Merge branch 'master' into skelanimeupdates
Diffstat (limited to 'src/code/z_actor.c')
-rw-r--r--src/code/z_actor.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c
index fdea5158a..2cf5eb0de 100644
--- a/src/code/z_actor.c
+++ b/src/code/z_actor.c
@@ -23,7 +23,7 @@ void func_8002B200(Actor* actor, LightMapper* lightMapper, GlobalContext* global
gfxCtx = globalCtx->state.gfxCtx;
func_800C6AC4(gfxArr, globalCtx->state.gfxCtx, "../z_actor.c", 1553);
- gfxCtx->polyOpa.p = func_80093774(gfxCtx->polyOpa.p, 0x2C);
+ gfxCtx->polyOpa.p = Gfx_CallSetupDL(gfxCtx->polyOpa.p, 0x2C);
gDPSetCombineLERP(gfxCtx->polyOpa.p++, 0, 0, 0, PRIMITIVE, TEXEL0, 0, PRIMITIVE, 0, 0, 0, 0, COMBINED, 0, 0,
0, COMBINED);
@@ -141,7 +141,7 @@ void ActorShadow_DrawFunc_Teardrop(Actor* actor, LightMapper* lightMapper, Globa
gfxCtx = globalCtx->state.gfxCtx;
func_800C6AC4(gfxArr, globalCtx->state.gfxCtx, "../z_actor.c", 1741);
- gfxCtx->polyOpa.p = func_80093774(gfxCtx->polyOpa.p, 0x2C);
+ gfxCtx->polyOpa.p = Gfx_CallSetupDL(gfxCtx->polyOpa.p, 0x2C);
actor->shape.unk_15 = 0;
for (i = 0; i < 2; i++) {
@@ -374,7 +374,7 @@ void func_8002C124(TargetContext* targetCtx, GlobalContext* globalCtx) {
func_8002BE64(targetCtx, targetCtx->unk_4C, spBC.x, spBC.y, spBC.z);
if ((!(player->stateFlags1 & 0x40)) || (actor != player->unk_664)) {
- gfxCtx->overlay.p = func_80093774(gfxCtx->overlay.p, 0x39);
+ gfxCtx->overlay.p = Gfx_CallSetupDL(gfxCtx->overlay.p, 0x39);
for (spB0 = 0, spAC = targetCtx->unk_4C; spB0 < spB8; spB0++) {
entry = &targetCtx->arr_50[spAC];
@@ -418,7 +418,7 @@ void func_8002C124(TargetContext* targetCtx, GlobalContext* globalCtx) {
if ((actor != NULL) && !(actor->flags & 0x8000000)) {
NaviColor* naviColor = &sNaviColorList[actor->type];
- gfxCtx->polyXlu.p = func_80093774(gfxCtx->polyXlu.p, 0x7);
+ gfxCtx->polyXlu.p = Gfx_CallSetupDL(gfxCtx->polyXlu.p, 0x7);
Matrix_Translate(actor->posRot2.pos.x, actor->posRot2.pos.y + (actor->unk_4C * actor->scale.y) + 17.0f,
actor->posRot2.pos.z, MTXMODE_NEW);
@@ -1926,7 +1926,7 @@ void func_8002FBAC(GlobalContext* globalCtx) {
if ((globalCtx->csCtx.state == 0) &&
(gSaveContext.respawn[RESPAWN_MODE_TOP].entrance_index == gSaveContext.entrance_index) &&
(globalCtx->roomCtx.curRoom.num == gSaveContext.respawn[RESPAWN_MODE_TOP].room_index)) {
- gfxCtx->polyXlu.p = func_80093774(gfxCtx->polyXlu.p, 0x19);
+ gfxCtx->polyXlu.p = Gfx_CallSetupDL(gfxCtx->polyXlu.p, 0x19);
Matrix_Translate(gSaveContext.respawn[RESPAWN_MODE_TOP].pos.x,
gSaveContext.respawn[RESPAWN_MODE_TOP].pos.y + spD8,
@@ -3489,7 +3489,7 @@ void func_80033C30(Vec3f* arg0, Vec3f* arg1, u8 alpha, GlobalContext* globalCtx)
if (0) {} // Necessary to match
- gfxCtx->polyOpa.p = func_80093774(gfxCtx->polyOpa.p, 0x2C);
+ gfxCtx->polyOpa.p = Gfx_CallSetupDL(gfxCtx->polyOpa.p, 0x2C);
gDPSetPrimColor(gfxCtx->polyOpa.p++, 0, 0, 0x00, 0x00, 0x00, alpha);