mirror of
https://github.com/zeldaret/oot
synced 2026-06-11 21:18:55 -04:00
Name Actor_DrawAll (#2464)
This commit is contained in:
+14
-1
@@ -2835,7 +2835,20 @@ s32 Actor_CullingVolumeTest(PlayState* play, Actor* actor, Vec3f* projPos, f32 p
|
||||
return false;
|
||||
}
|
||||
|
||||
void func_800315AC(PlayState* play, ActorContext* actorCtx) {
|
||||
/**
|
||||
* Iterates through all category lists to draw every actor.
|
||||
*
|
||||
* In addition to actors, this function also draws:
|
||||
* - Effects
|
||||
* - EffectSs
|
||||
* - Title Cards
|
||||
* - Farores Wind Pointer
|
||||
* - Light glow
|
||||
* - Actor Collision (debug only)
|
||||
*
|
||||
* Note: If an actor is made visible by Lens of Truth, it will be drawn by `Actor_DrawLensActors` instead.
|
||||
*/
|
||||
void Actor_DrawAll(PlayState* play, ActorContext* actorCtx) {
|
||||
s32 invisibleActorCounter;
|
||||
Actor* invisibleActors[INVISIBLE_ACTOR_MAX];
|
||||
ActorListEntry* actorListEntry;
|
||||
|
||||
+1
-1
@@ -1294,7 +1294,7 @@ void Play_Draw(PlayState* this) {
|
||||
}
|
||||
|
||||
if (!DEBUG_FEATURES || (R_HREG_MODE != HREG_MODE_PLAY) || R_PLAY_DRAW_ACTORS) {
|
||||
func_800315AC(this, &this->actorCtx);
|
||||
Actor_DrawAll(this, &this->actorCtx);
|
||||
}
|
||||
|
||||
if (!DEBUG_FEATURES || (R_HREG_MODE != HREG_MODE_PLAY) || R_PLAY_DRAW_LENS_FLARES) {
|
||||
|
||||
Reference in New Issue
Block a user