diff options
| author | Tom Overton <tom-overton@users.noreply.github.com> | 2024-05-06 15:26:01 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-06 15:26:01 -0700 |
| commit | 8b5260063f75dbaa29636f34ec05774d692cf569 (patch) | |
| tree | 12e9065cf7c180d5b70f352127b45fb67fe5ed42 /src/code/m_actor.c | |
| parent | 749152a745f19e6e1d0705cb7a48f34dd4d8df17 (diff) | |
`ac_structure` OK with some minor documentation (#183)
* Partial progress
* `func_809E7F94_jp` OK
* Do some more DMA functions
* Fix build
* Finally make `func_809E823C_jp` work properly
* Finish DMA functions
* Use ALIGN16
* Make the size for `mSc_secure_exchange_keep_bank` more obviously related to what follows
* Fix build after merge
* aSTR_setupActor_proc OK
* aSTR_init_clip_area OK
* Import data to C
* Lots of cleanup
* Use enum values in actors
* StructureActor-ify the structures
* Move `setupInfo_table` inside the function and name it
* Name `aSTR_get_pal_segment` from context clues
* Use all the names I can from DnM+
* Try (and fail) to import BSS into C
* Match bss
* Make bss sizes more "correct"
* Use ARRAY_COUNT to define DMA length
* A lot fewer hardcoded numbers
* Lots of misc cleanup
* A huge amount of names and cleanup
* Get this PR-ready
* Forgot some booleans
* Name a lot of stuff after digging into the object files
* Remove magic numbers for bss array size
* Respond to review
Diffstat (limited to 'src/code/m_actor.c')
| -rw-r--r-- | src/code/m_actor.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/code/m_actor.c b/src/code/m_actor.c index 2fe38e2..0ed22bb 100644 --- a/src/code/m_actor.c +++ b/src/code/m_actor.c @@ -599,7 +599,7 @@ void actor_free_check(ActorOverlay* overlayEntry, u16 fgName) { break; case FGNAME_F000_5: - common_data.clip.unk_08C->unk_08(); + common_data.clip.structureClip->freeOverlayAreaProc(overlayEntry); break; default: @@ -634,8 +634,8 @@ s32 func_80057940_jp(ActorProfile** profileP, ActorOverlay* overlayEntry, const break; case FGNAME_F000_5: - if (common_data.clip.unk_08C != NULL) { - common_data.clip.unk_08C->unk_4(overlayEntry, overlaySize); + if (common_data.clip.structureClip != NULL) { + common_data.clip.structureClip->getOverlayAreaProc(overlayEntry, overlaySize); } break; @@ -745,7 +745,7 @@ s32 Actor_malloc_actor_class(Actor** actorP, ActorProfile* profile, ActorOverlay break; case FGNAME_F000_5: - *actorP = common_data.clip.unk_08C->unk_0C(); + *actorP = common_data.clip.structureClip->getActorAreaProc(); break; default: @@ -957,7 +957,7 @@ Actor* Actor_info_delete(ActorInfo* actorInfo, Actor* actor, Game_Play* game_pla break; case FGNAME_F000_5: - common_data.clip.unk_08C->unk_10(actor); + common_data.clip.structureClip->freeActorAreaProc(actor); break; default: |
