diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2023-11-27 21:02:28 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-27 21:02:28 +1100 |
| commit | 702f3cf44e7a6972801150a6d13d6fbb2283f230 (patch) | |
| tree | 759a31b35a4cb8876d93ebdf0bf13da16e8bc5b4 /include | |
| parent | c04aaab6a1d0bdaf6071fadc649385fd3e71e774 (diff) | |
Document Actor Category Change (#1518)
* Actor Category Change
* cleanup
* comments
* adj comment
* revert small cleanup for libc64 PR
* adjust comments
Diffstat (limited to 'include')
| -rw-r--r-- | include/functions.h | 2 | ||||
| -rw-r--r-- | include/z64actor.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.h b/include/functions.h index 44fb1b615..2312251f5 100644 --- a/include/functions.h +++ b/include/functions.h @@ -363,7 +363,7 @@ s16 func_800BBC20(BlinkInfo* info, s16 arg1, s16 arg2, s16 arg3); void Actor_SpawnBodyParts(Actor* actor, PlayState* play, s32 partParams, Gfx** dList); void Actor_SpawnFloorDustRing(PlayState* play, Actor* actor, Vec3f* posXZ, f32 radius, s32 countMinusOne, f32 randAccelWeight, s16 scale, s16 scaleStep, u8 useLighting); void func_800BBFB0(PlayState* play, Vec3f* position, f32 arg2, s32 arg3, s16 arg4, s16 scaleStep, u8 arg6); -void func_800BC154(PlayState* play, ActorContext* actorCtx, Actor* actor, u8 actorCategory); +void Actor_ChangeCategory(PlayState* play, ActorContext* actorCtx, Actor* actor, u8 actorCategory); u32 Actor_GetArrowDmgFlags(s32 params); Actor* func_800BC270(PlayState* play, Actor* actor, f32 distance, u32 dmgFlags); Actor* func_800BC444(PlayState* play, Actor* actor, f32 distance); diff --git a/include/z64actor.h b/include/z64actor.h index 19bf3b870..fcd80ca91 100644 --- a/include/z64actor.h +++ b/include/z64actor.h @@ -382,7 +382,7 @@ typedef struct ActorContextSceneFlags { typedef struct ActorListEntry { /* 0x0 */ s32 length; // number of actors loaded of this type /* 0x4 */ Actor* first; // pointer to first actor of this type - /* 0x8 */ s32 unk_08; + /* 0x8 */ s32 categoryChanged; // at least one actor has changed categories and needs to be moved to a different list } ActorListEntry; // size = 0xC typedef enum { |
