summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2026-08-30 15:49:30 +0200
committerGitHub <noreply@github.com>2026-08-30 09:49:30 -0400
commitff5b97216d5f6f6a43cb0677b2248f6c2bb65c1d (patch)
tree3c22f020165f552dce5f6175f0a5fdb75237a49a /src/code
parent2d43d21e86d38948878ac6635445a8e1081f671b (diff)
gActorSetup{Opa,Xlu}DL docs (#1898)
Diffstat (limited to 'src/code')
-rw-r--r--src/code/z_actor.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c
index 8fde0ed4a..66e2339a3 100644
--- a/src/code/z_actor.c
+++ b/src/code/z_actor.c
@@ -4726,12 +4726,24 @@ void Npc_TrackPoint(Actor* actor, NpcInteractInfo* interactInfo, s16 presetIndex
rotLimits.rotateYaw);
}
+/**
+ * A display list setting up for translucent drawing when a fading actor is partially faded,
+ * overriding the opaque render mode from the calling display list.
+ * Typically this DL is assigned to a segment that is called by the display lists from the assets.
+ * @see gActorSetupOpaDL
+ */
Gfx gActorSetupXluDL[] = {
gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_XLU_SURF2 | Z_UPD),
gsDPSetAlphaCompare(G_AC_THRESHOLD),
gsSPEndDisplayList(),
};
+/**
+ * A no-op display list to use when a fading actor is fully opaque,
+ * retaining the opaque render mode from the calling display list.
+ * Typically this DL is assigned to a segment that is called by the display lists from the assets.
+ * @see gActorSetupXluDL
+ */
Gfx gActorSetupOpaDL[] = {
gsSPEndDisplayList(),
};