Rename LinkAnimation to DmaAnimation and other skelanime misc cleanups (#1147)

* Rename LinkAnimation to PlayerAnimation

* remove the remaining link stuff

* Move functions out of functions.h

* cleanup returns

* more cleanups

* format

* format again

* format again again

* Remove internal functions from header

* legacy

* bss

* linkAnimSegment

* Update src/overlays/actors/ovl_En_Yb/z_en_yb.c

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>

* bss

* `DmaAnimation` rename

* more DMA i missed

* Revert "more DMA i missed"

This reverts commit 6c0ca44f45.

* Revert "`DmaAnimation` rename"

This reverts commit 1d2626514c.

* Add LinkAnimationHeader rename to namefixer.py

---------

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
This commit is contained in:
Anghelo Carvajal
2023-04-18 22:38:22 -04:00
committed by GitHub
parent 3c107cb148
commit f9c638117c
12 changed files with 323 additions and 334 deletions
+22 -22
View File
@@ -2051,7 +2051,7 @@ asm/non_matchings/code/z_skelanime/SkelAnime_Draw.s,SkelAnime_Draw,0x80134990,0x
asm/non_matchings/code/z_skelanime/SkelAnime_DrawLimbSV2.s,SkelAnime_DrawLimbSV2,0x80134B54,0x9A
asm/non_matchings/code/z_skelanime/SkelAnime_DrawFlex.s,SkelAnime_DrawFlex,0x80134DBC,0x90
asm/non_matchings/code/z_skelanime/SkelAnime_GetFrameData2.s,SkelAnime_GetFrameData2,0x80134FFC,0xF6
asm/non_matchings/code/z_skelanime/Animation_GetLimbCount2.s,Animation_GetLimbCount2,0x801353D4,0x9
asm/non_matchings/code/z_skelanime/Animation_GetLimbCountLegacy.s,Animation_GetLimbCountLegacy,0x801353D4,0x9
asm/non_matchings/code/z_skelanime/SkelAnime_GetTotalFrames2.s,SkelAnime_GetTotalFrames2,0x801353F8,0x9
asm/non_matchings/code/z_skelanime/SkelAnime_GetFrameCount2.s,SkelAnime_GetFrameCount2,0x8013541C,0xB
asm/non_matchings/code/z_skelanime/SkelAnime_InterpFrameTable.s,SkelAnime_InterpFrameTable,0x80135448,0x120
@@ -2072,29 +2072,29 @@ asm/non_matchings/code/z_skelanime/AnimationContext_CopyTrue.s,AnimationContext_
asm/non_matchings/code/z_skelanime/AnimationContext_CopyFalse.s,AnimationContext_CopyFalse,0x80135DB8,0x21
asm/non_matchings/code/z_skelanime/AnimationContext_MoveActor.s,AnimationContext_MoveActor,0x80135E3C,0x2B
asm/non_matchings/code/z_skelanime/AnimationContext_Update.s,AnimationContext_Update,0x80135EE8,0x28
asm/non_matchings/code/z_skelanime/SkelAnime_InitLinkAnimetion.s,SkelAnime_InitLinkAnimetion,0x80135F88,0x48
asm/non_matchings/code/z_skelanime/LinkAnimation_SetUpdateFunction.s,LinkAnimation_SetUpdateFunction,0x801360A8,0xE
asm/non_matchings/code/z_skelanime/LinkAnimation_Update.s,LinkAnimation_Update,0x801360E0,0x9
asm/non_matchings/code/z_skelanime/LinkAnimation_Morph.s,LinkAnimation_Morph,0x80136104,0x2E
asm/non_matchings/code/z_skelanime/LinkAnimation_AnimateFrame.s,LinkAnimation_AnimateFrame,0x801361BC,0x33
asm/non_matchings/code/z_skelanime/LinkAnimation_Loop.s,LinkAnimation_Loop,0x80136288,0x25
asm/non_matchings/code/z_skelanime/LinkAnimation_Once.s,LinkAnimation_Once,0x8013631C,0x35
asm/non_matchings/code/z_skelanime/SkelAnime_InitPlayerAnimetion.s,SkelAnime_InitPlayerAnimetion,0x80135F88,0x48
asm/non_matchings/code/z_skelanime/PlayerAnimation_SetUpdateFunction.s,PlayerAnimation_SetUpdateFunction,0x801360A8,0xE
asm/non_matchings/code/z_skelanime/PlayerAnimation_Update.s,PlayerAnimation_Update,0x801360E0,0x9
asm/non_matchings/code/z_skelanime/PlayerAnimation_Morph.s,PlayerAnimation_Morph,0x80136104,0x2E
asm/non_matchings/code/z_skelanime/PlayerAnimation_AnimateFrame.s,PlayerAnimation_AnimateFrame,0x801361BC,0x33
asm/non_matchings/code/z_skelanime/PlayerAnimation_Loop.s,PlayerAnimation_Loop,0x80136288,0x25
asm/non_matchings/code/z_skelanime/PlayerAnimation_Once.s,PlayerAnimation_Once,0x8013631C,0x35
asm/non_matchings/code/z_skelanime/Animation_SetMorph.s,Animation_SetMorph,0x801363F0,0x9
asm/non_matchings/code/z_skelanime/LinkAnimation_Change.s,LinkAnimation_Change,0x80136414,0x5E
asm/non_matchings/code/z_skelanime/LinkAnimation_ChangeDefaultStop.s,LinkAnimation_ChangeDefaultStop,0x8013658C,0x18
asm/non_matchings/code/z_skelanime/LinkAnimation_ChangePlaybackStop.s,LinkAnimation_ChangePlaybackStop,0x801365EC,0x19
asm/non_matchings/code/z_skelanime/LinkAnimation_ChangeDefaultRepeat.s,LinkAnimation_ChangeDefaultRepeat,0x80136650,0x17
asm/non_matchings/code/z_skelanime/LinkAnimation_ChangePlaybackRepeat.s,LinkAnimation_ChangePlaybackRepeat,0x801366AC,0x18
asm/non_matchings/code/z_skelanime/LinkAnimation_CopyJointToMorph.s,LinkAnimation_CopyJointToMorph,0x8013670C,0xC
asm/non_matchings/code/z_skelanime/LinkAnimation_CopyMorphToJoint.s,LinkAnimation_CopyMorphToJoint,0x8013673C,0xC
asm/non_matchings/code/z_skelanime/LinkAnimation_LoadToMorph.s,LinkAnimation_LoadToMorph,0x8013676C,0x11
asm/non_matchings/code/z_skelanime/LinkAnimation_LoadToJoint.s,LinkAnimation_LoadToJoint,0x801367B0,0x11
asm/non_matchings/code/z_skelanime/LinkAnimation_InterpJointMorph.s,LinkAnimation_InterpJointMorph,0x801367F4,0xE
asm/non_matchings/code/z_skelanime/LinkAnimation_BlendToJoint.s,LinkAnimation_BlendToJoint,0x8013682C,0x28
asm/non_matchings/code/z_skelanime/LinkAnimation_BlendToMorph.s,LinkAnimation_BlendToMorph,0x801368CC,0x28
asm/non_matchings/code/z_skelanime/LinkAnimation_EndLoop.s,LinkAnimation_EndLoop,0x8013696C,0x9
asm/non_matchings/code/z_skelanime/PlayerAnimation_Change.s,PlayerAnimation_Change,0x80136414,0x5E
asm/non_matchings/code/z_skelanime/PlayerAnimation_ChangeDefaultStop.s,PlayerAnimation_ChangeDefaultStop,0x8013658C,0x18
asm/non_matchings/code/z_skelanime/PlayerAnimation_ChangePlaybackStop.s,PlayerAnimation_ChangePlaybackStop,0x801365EC,0x19
asm/non_matchings/code/z_skelanime/PlayerAnimation_ChangeDefaultRepeat.s,PlayerAnimation_ChangeDefaultRepeat,0x80136650,0x17
asm/non_matchings/code/z_skelanime/PlayerAnimation_ChangePlaybackRepeat.s,PlayerAnimation_ChangePlaybackRepeat,0x801366AC,0x18
asm/non_matchings/code/z_skelanime/PlayerAnimation_CopyJointToMorph.s,PlayerAnimation_CopyJointToMorph,0x8013670C,0xC
asm/non_matchings/code/z_skelanime/PlayerAnimation_CopyMorphToJoint.s,PlayerAnimation_CopyMorphToJoint,0x8013673C,0xC
asm/non_matchings/code/z_skelanime/PlayerAnimation_LoadToMorph.s,PlayerAnimation_LoadToMorph,0x8013676C,0x11
asm/non_matchings/code/z_skelanime/PlayerAnimation_LoadToJoint.s,PlayerAnimation_LoadToJoint,0x801367B0,0x11
asm/non_matchings/code/z_skelanime/PlayerAnimation_InterpJointMorph.s,PlayerAnimation_InterpJointMorph,0x801367F4,0xE
asm/non_matchings/code/z_skelanime/PlayerAnimation_BlendToJoint.s,PlayerAnimation_BlendToJoint,0x8013682C,0x28
asm/non_matchings/code/z_skelanime/PlayerAnimation_BlendToMorph.s,PlayerAnimation_BlendToMorph,0x801368CC,0x28
asm/non_matchings/code/z_skelanime/PlayerAnimation_EndLoop.s,PlayerAnimation_EndLoop,0x8013696C,0x9
asm/non_matchings/code/z_skelanime/Animation_OnFrameImpl.s,Animation_OnFrameImpl,0x80136990,0x2E
asm/non_matchings/code/z_skelanime/LinkAnimation_OnFrame.s,LinkAnimation_OnFrame,0x80136A48,0xD
asm/non_matchings/code/z_skelanime/PlayerAnimation_OnFrame.s,PlayerAnimation_OnFrame,0x80136A48,0xD
asm/non_matchings/code/z_skelanime/SkelAnime_Init.s,SkelAnime_Init,0x80136A7C,0x2D
asm/non_matchings/code/z_skelanime/SkelAnime_InitFlex.s,SkelAnime_InitFlex,0x80136B30,0x2F
asm/non_matchings/code/z_skelanime/SkelAnime_InitSkin.s,SkelAnime_InitSkin,0x80136BEC,0x26
1 asm/non_matchings/code/z_en_a_keep/EnAObj_Init.s EnAObj_Init 0x800A5AC0 0x2B
2051 asm/non_matchings/code/z_skelanime/SkelAnime_DrawLimbSV2.s SkelAnime_DrawLimbSV2 0x80134B54 0x9A
2052 asm/non_matchings/code/z_skelanime/SkelAnime_DrawFlex.s SkelAnime_DrawFlex 0x80134DBC 0x90
2053 asm/non_matchings/code/z_skelanime/SkelAnime_GetFrameData2.s SkelAnime_GetFrameData2 0x80134FFC 0xF6
2054 asm/non_matchings/code/z_skelanime/Animation_GetLimbCount2.s asm/non_matchings/code/z_skelanime/Animation_GetLimbCountLegacy.s Animation_GetLimbCount2 Animation_GetLimbCountLegacy 0x801353D4 0x9
2055 asm/non_matchings/code/z_skelanime/SkelAnime_GetTotalFrames2.s SkelAnime_GetTotalFrames2 0x801353F8 0x9
2056 asm/non_matchings/code/z_skelanime/SkelAnime_GetFrameCount2.s SkelAnime_GetFrameCount2 0x8013541C 0xB
2057 asm/non_matchings/code/z_skelanime/SkelAnime_InterpFrameTable.s SkelAnime_InterpFrameTable 0x80135448 0x120
2072 asm/non_matchings/code/z_skelanime/AnimationContext_CopyFalse.s AnimationContext_CopyFalse 0x80135DB8 0x21
2073 asm/non_matchings/code/z_skelanime/AnimationContext_MoveActor.s AnimationContext_MoveActor 0x80135E3C 0x2B
2074 asm/non_matchings/code/z_skelanime/AnimationContext_Update.s AnimationContext_Update 0x80135EE8 0x28
2075 asm/non_matchings/code/z_skelanime/SkelAnime_InitLinkAnimetion.s asm/non_matchings/code/z_skelanime/SkelAnime_InitPlayerAnimetion.s SkelAnime_InitLinkAnimetion SkelAnime_InitPlayerAnimetion 0x80135F88 0x48
2076 asm/non_matchings/code/z_skelanime/LinkAnimation_SetUpdateFunction.s asm/non_matchings/code/z_skelanime/PlayerAnimation_SetUpdateFunction.s LinkAnimation_SetUpdateFunction PlayerAnimation_SetUpdateFunction 0x801360A8 0xE
2077 asm/non_matchings/code/z_skelanime/LinkAnimation_Update.s asm/non_matchings/code/z_skelanime/PlayerAnimation_Update.s LinkAnimation_Update PlayerAnimation_Update 0x801360E0 0x9
2078 asm/non_matchings/code/z_skelanime/LinkAnimation_Morph.s asm/non_matchings/code/z_skelanime/PlayerAnimation_Morph.s LinkAnimation_Morph PlayerAnimation_Morph 0x80136104 0x2E
2079 asm/non_matchings/code/z_skelanime/LinkAnimation_AnimateFrame.s asm/non_matchings/code/z_skelanime/PlayerAnimation_AnimateFrame.s LinkAnimation_AnimateFrame PlayerAnimation_AnimateFrame 0x801361BC 0x33
2080 asm/non_matchings/code/z_skelanime/LinkAnimation_Loop.s asm/non_matchings/code/z_skelanime/PlayerAnimation_Loop.s LinkAnimation_Loop PlayerAnimation_Loop 0x80136288 0x25
2081 asm/non_matchings/code/z_skelanime/LinkAnimation_Once.s asm/non_matchings/code/z_skelanime/PlayerAnimation_Once.s LinkAnimation_Once PlayerAnimation_Once 0x8013631C 0x35
2082 asm/non_matchings/code/z_skelanime/Animation_SetMorph.s Animation_SetMorph 0x801363F0 0x9
2083 asm/non_matchings/code/z_skelanime/LinkAnimation_Change.s asm/non_matchings/code/z_skelanime/PlayerAnimation_Change.s LinkAnimation_Change PlayerAnimation_Change 0x80136414 0x5E
2084 asm/non_matchings/code/z_skelanime/LinkAnimation_ChangeDefaultStop.s asm/non_matchings/code/z_skelanime/PlayerAnimation_ChangeDefaultStop.s LinkAnimation_ChangeDefaultStop PlayerAnimation_ChangeDefaultStop 0x8013658C 0x18
2085 asm/non_matchings/code/z_skelanime/LinkAnimation_ChangePlaybackStop.s asm/non_matchings/code/z_skelanime/PlayerAnimation_ChangePlaybackStop.s LinkAnimation_ChangePlaybackStop PlayerAnimation_ChangePlaybackStop 0x801365EC 0x19
2086 asm/non_matchings/code/z_skelanime/LinkAnimation_ChangeDefaultRepeat.s asm/non_matchings/code/z_skelanime/PlayerAnimation_ChangeDefaultRepeat.s LinkAnimation_ChangeDefaultRepeat PlayerAnimation_ChangeDefaultRepeat 0x80136650 0x17
2087 asm/non_matchings/code/z_skelanime/LinkAnimation_ChangePlaybackRepeat.s asm/non_matchings/code/z_skelanime/PlayerAnimation_ChangePlaybackRepeat.s LinkAnimation_ChangePlaybackRepeat PlayerAnimation_ChangePlaybackRepeat 0x801366AC 0x18
2088 asm/non_matchings/code/z_skelanime/LinkAnimation_CopyJointToMorph.s asm/non_matchings/code/z_skelanime/PlayerAnimation_CopyJointToMorph.s LinkAnimation_CopyJointToMorph PlayerAnimation_CopyJointToMorph 0x8013670C 0xC
2089 asm/non_matchings/code/z_skelanime/LinkAnimation_CopyMorphToJoint.s asm/non_matchings/code/z_skelanime/PlayerAnimation_CopyMorphToJoint.s LinkAnimation_CopyMorphToJoint PlayerAnimation_CopyMorphToJoint 0x8013673C 0xC
2090 asm/non_matchings/code/z_skelanime/LinkAnimation_LoadToMorph.s asm/non_matchings/code/z_skelanime/PlayerAnimation_LoadToMorph.s LinkAnimation_LoadToMorph PlayerAnimation_LoadToMorph 0x8013676C 0x11
2091 asm/non_matchings/code/z_skelanime/LinkAnimation_LoadToJoint.s asm/non_matchings/code/z_skelanime/PlayerAnimation_LoadToJoint.s LinkAnimation_LoadToJoint PlayerAnimation_LoadToJoint 0x801367B0 0x11
2092 asm/non_matchings/code/z_skelanime/LinkAnimation_InterpJointMorph.s asm/non_matchings/code/z_skelanime/PlayerAnimation_InterpJointMorph.s LinkAnimation_InterpJointMorph PlayerAnimation_InterpJointMorph 0x801367F4 0xE
2093 asm/non_matchings/code/z_skelanime/LinkAnimation_BlendToJoint.s asm/non_matchings/code/z_skelanime/PlayerAnimation_BlendToJoint.s LinkAnimation_BlendToJoint PlayerAnimation_BlendToJoint 0x8013682C 0x28
2094 asm/non_matchings/code/z_skelanime/LinkAnimation_BlendToMorph.s asm/non_matchings/code/z_skelanime/PlayerAnimation_BlendToMorph.s LinkAnimation_BlendToMorph PlayerAnimation_BlendToMorph 0x801368CC 0x28
2095 asm/non_matchings/code/z_skelanime/LinkAnimation_EndLoop.s asm/non_matchings/code/z_skelanime/PlayerAnimation_EndLoop.s LinkAnimation_EndLoop PlayerAnimation_EndLoop 0x8013696C 0x9
2096 asm/non_matchings/code/z_skelanime/Animation_OnFrameImpl.s Animation_OnFrameImpl 0x80136990 0x2E
2097 asm/non_matchings/code/z_skelanime/LinkAnimation_OnFrame.s asm/non_matchings/code/z_skelanime/PlayerAnimation_OnFrame.s LinkAnimation_OnFrame PlayerAnimation_OnFrame 0x80136A48 0xD
2098 asm/non_matchings/code/z_skelanime/SkelAnime_Init.s SkelAnime_Init 0x80136A7C 0x2D
2099 asm/non_matchings/code/z_skelanime/SkelAnime_InitFlex.s SkelAnime_InitFlex 0x80136B30 0x2F
2100 asm/non_matchings/code/z_skelanime/SkelAnime_InitSkin.s SkelAnime_InitSkin 0x80136BEC 0x26