diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2024-02-19 19:04:23 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-20 14:04:23 +1100 |
| commit | a7fa8cc241d7f6e08d3744644cf8e93599f190a0 (patch) | |
| tree | 1b955ba5a36212a3fcc9759fb42ebc4eb8637dbc /src/code/z_actor.c | |
| parent | 3b8db093f6f9cfb5850a7100ba8aff0c1b099e42 (diff) | |
Clean2 (#1605)
* AnimationContext_Update
* TransitionTile_InitGraphics
* disasm files
* gPlayerFormItemRestrictions -> code_8012EC80
* fix
* Extract gCircleTex
* Const fixes
* gPlayerFormItemRestrictions suggestions
* Setup_InitRegs
* z_inventory
Diffstat (limited to 'src/code/z_actor.c')
| -rw-r--r-- | src/code/z_actor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c index 5f3593f76..2cf96f760 100644 --- a/src/code/z_actor.c +++ b/src/code/z_actor.c @@ -30,6 +30,7 @@ struct Actor* D_801ED920; // 2 funcs. 1 out of z_actor #include "z64actor.h" +#include "z64circle_tex.h" #include "z64horse.h" #include "z64malloc.h" #include "z64quake.h" @@ -2820,7 +2821,7 @@ s32 Actor_AddToLensActors(PlayState* play, Actor* actor) { } void Actor_DrawLensOverlay(Gfx** gfxP, s32 lensMaskSize) { - TransitionCircle_LoadAndSetTexture(gfxP, gCircleTex, 4, 0, 6, 6, + TransitionCircle_LoadAndSetTexture(gfxP, gCircleTex, G_IM_FMT_I, 0, 6, 6, ((LENS_MASK_ACTIVE_SIZE - lensMaskSize) * 0.003f) + 1.0f); } |
