mirror of https://github.com/zeldaret/mm.git
Document object_wf (#796)
* Document object_wf * Respond to Elliptic's review * Fix warning
This commit is contained in:
parent
02f4785df8
commit
0ccd71c2da
|
@ -1,110 +1,142 @@
|
|||
<Root>
|
||||
<!-- Assets for Wolfos and White Wolfos -->
|
||||
<File Name="object_wf" Segment="6">
|
||||
<Texture Name="object_wf_Tex_000000" OutName="tex_000000" Format="rgba16" Width="8" Height="16" Offset="0x0" />
|
||||
<Texture Name="object_wf_Tex_000100" OutName="tex_000100" Format="rgba16" Width="8" Height="8" Offset="0x100" />
|
||||
<Texture Name="object_wf_Tex_000180" OutName="tex_000180" Format="rgba16" Width="8" Height="8" Offset="0x180" />
|
||||
<Texture Name="object_wf_Tex_000200" OutName="tex_000200" Format="rgba16" Width="8" Height="8" Offset="0x200" />
|
||||
<Texture Name="object_wf_Tex_000280" OutName="tex_000280" Format="rgba16" Width="8" Height="8" Offset="0x280" />
|
||||
<Texture Name="object_wf_Tex_000300" OutName="tex_000300" Format="rgba16" Width="16" Height="16" Offset="0x300" />
|
||||
<DList Name="object_wf_DL_001A20" Offset="0x1A20" />
|
||||
<DList Name="object_wf_DL_001AE8" Offset="0x1AE8" />
|
||||
<DList Name="object_wf_DL_001BD8" Offset="0x1BD8" />
|
||||
<DList Name="object_wf_DL_001CC8" Offset="0x1CC8" />
|
||||
<DList Name="object_wf_DL_001D98" Offset="0x1D98" />
|
||||
<DList Name="object_wf_DL_001E98" Offset="0x1E98" />
|
||||
<DList Name="object_wf_DL_001F88" Offset="0x1F88" />
|
||||
<DList Name="object_wf_DL_002078" Offset="0x2078" />
|
||||
<DList Name="object_wf_DL_002148" Offset="0x2148" />
|
||||
<DList Name="object_wf_DL_002248" Offset="0x2248" />
|
||||
<DList Name="object_wf_DL_002368" Offset="0x2368" />
|
||||
<DList Name="object_wf_DL_002490" Offset="0x2490" />
|
||||
<DList Name="object_wf_DL_0025A0" Offset="0x25A0" />
|
||||
<DList Name="object_wf_DL_0026C8" Offset="0x26C8" />
|
||||
<Texture Name="object_wf_Tex_0027D8" OutName="tex_0027D8" Format="rgba16" Width="16" Height="16" Offset="0x27D8" />
|
||||
<Texture Name="object_wf_Tex_0029D8" OutName="tex_0029D8" Format="rgba16" Width="16" Height="16" Offset="0x29D8" />
|
||||
<DList Name="object_wf_DL_003488" Offset="0x3488" />
|
||||
<DList Name="object_wf_DL_003528" Offset="0x3528" />
|
||||
<DList Name="object_wf_DL_0035F0" Offset="0x35F0" />
|
||||
<DList Name="object_wf_DL_0036B8" Offset="0x36B8" />
|
||||
<DList Name="object_wf_DL_0039D8" Offset="0x39D8" />
|
||||
<Limb Name="object_wf_Standardlimb_003A70" Type="Standard" EnumName="OBJECT_WF_1_LIMB_01" Offset="0x3A70" />
|
||||
<Limb Name="object_wf_Standardlimb_003A7C" Type="Standard" EnumName="OBJECT_WF_1_LIMB_02" Offset="0x3A7C" />
|
||||
<Limb Name="object_wf_Standardlimb_003A88" Type="Standard" EnumName="OBJECT_WF_1_LIMB_03" Offset="0x3A88" />
|
||||
<Limb Name="object_wf_Standardlimb_003A94" Type="Standard" EnumName="OBJECT_WF_1_LIMB_04" Offset="0x3A94" />
|
||||
<Limb Name="object_wf_Standardlimb_003AA0" Type="Standard" EnumName="OBJECT_WF_1_LIMB_05" Offset="0x3AA0" />
|
||||
<Limb Name="object_wf_Standardlimb_003AAC" Type="Standard" EnumName="OBJECT_WF_1_LIMB_06" Offset="0x3AAC" />
|
||||
<Limb Name="object_wf_Standardlimb_003AB8" Type="Standard" EnumName="OBJECT_WF_1_LIMB_07" Offset="0x3AB8" />
|
||||
<Limb Name="object_wf_Standardlimb_003AC4" Type="Standard" EnumName="OBJECT_WF_1_LIMB_08" Offset="0x3AC4" />
|
||||
<Limb Name="object_wf_Standardlimb_003AD0" Type="Standard" EnumName="OBJECT_WF_1_LIMB_09" Offset="0x3AD0" />
|
||||
<Limb Name="object_wf_Standardlimb_003ADC" Type="Standard" EnumName="OBJECT_WF_1_LIMB_0A" Offset="0x3ADC" />
|
||||
<Limb Name="object_wf_Standardlimb_003AE8" Type="Standard" EnumName="OBJECT_WF_1_LIMB_0B" Offset="0x3AE8" />
|
||||
<Limb Name="object_wf_Standardlimb_003AF4" Type="Standard" EnumName="OBJECT_WF_1_LIMB_0C" Offset="0x3AF4" />
|
||||
<Limb Name="object_wf_Standardlimb_003B00" Type="Standard" EnumName="OBJECT_WF_1_LIMB_0D" Offset="0x3B00" />
|
||||
<Limb Name="object_wf_Standardlimb_003B0C" Type="Standard" EnumName="OBJECT_WF_1_LIMB_0E" Offset="0x3B0C" />
|
||||
<Limb Name="object_wf_Standardlimb_003B18" Type="Standard" EnumName="OBJECT_WF_1_LIMB_0F" Offset="0x3B18" />
|
||||
<Limb Name="object_wf_Standardlimb_003B24" Type="Standard" EnumName="OBJECT_WF_1_LIMB_10" Offset="0x3B24" />
|
||||
<Limb Name="object_wf_Standardlimb_003B30" Type="Standard" EnumName="OBJECT_WF_1_LIMB_11" Offset="0x3B30" />
|
||||
<Limb Name="object_wf_Standardlimb_003B3C" Type="Standard" EnumName="OBJECT_WF_1_LIMB_12" Offset="0x3B3C" />
|
||||
<Limb Name="object_wf_Standardlimb_003B48" Type="Standard" EnumName="OBJECT_WF_1_LIMB_13" Offset="0x3B48" />
|
||||
<Limb Name="object_wf_Standardlimb_003B54" Type="Standard" EnumName="OBJECT_WF_1_LIMB_14" Offset="0x3B54" />
|
||||
<Limb Name="object_wf_Standardlimb_003B60" Type="Standard" EnumName="OBJECT_WF_1_LIMB_15" Offset="0x3B60" />
|
||||
<Skeleton Name="object_wf_Skel_003BC0" Type="Flex" LimbType="Standard" LimbNone="OBJECT_WF_1_LIMB_NONE" LimbMax="OBJECT_WF_1_LIMB_MAX" EnumName="object_wf_1_Limbs" Offset="0x3BC0" />
|
||||
<Animation Name="object_wf_Anim_004638" Offset="0x4638" />
|
||||
<Animation Name="object_wf_Anim_004A90" Offset="0x4A90" />
|
||||
<Animation Name="object_wf_Anim_004C44" Offset="0x4C44" />
|
||||
<Animation Name="object_wf_Anim_0053D0" Offset="0x53D0" />
|
||||
<Animation Name="object_wf_Anim_005700" Offset="0x5700" />
|
||||
<DList Name="object_wf_DL_006D10" Offset="0x6D10" />
|
||||
<DList Name="object_wf_DL_006DD8" Offset="0x6DD8" />
|
||||
<DList Name="object_wf_DL_006EC8" Offset="0x6EC8" />
|
||||
<DList Name="object_wf_DL_006FB8" Offset="0x6FB8" />
|
||||
<DList Name="object_wf_DL_007088" Offset="0x7088" />
|
||||
<DList Name="object_wf_DL_007188" Offset="0x7188" />
|
||||
<DList Name="object_wf_DL_007278" Offset="0x7278" />
|
||||
<DList Name="object_wf_DL_007368" Offset="0x7368" />
|
||||
<DList Name="object_wf_DL_007438" Offset="0x7438" />
|
||||
<DList Name="object_wf_DL_007538" Offset="0x7538" />
|
||||
<DList Name="object_wf_DL_007658" Offset="0x7658" />
|
||||
<DList Name="object_wf_DL_007770" Offset="0x7770" />
|
||||
<DList Name="object_wf_DL_007880" Offset="0x7880" />
|
||||
<DList Name="object_wf_DL_007998" Offset="0x7998" />
|
||||
<Texture Name="object_wf_Tex_007AA8" OutName="tex_007AA8" Format="rgba16" Width="16" Height="16" Offset="0x7AA8" />
|
||||
<Texture Name="object_wf_Tex_007CA8" OutName="tex_007CA8" Format="rgba16" Width="16" Height="32" Offset="0x7CA8" />
|
||||
<Texture Name="object_wf_Tex_0080A8" OutName="tex_0080A8" Format="rgba16" Width="8" Height="8" Offset="0x80A8" />
|
||||
<Texture Name="object_wf_Tex_008128" OutName="tex_008128" Format="rgba16" Width="8" Height="8" Offset="0x8128" />
|
||||
<Texture Name="object_wf_Tex_0081A8" OutName="tex_0081A8" Format="rgba16" Width="8" Height="8" Offset="0x81A8" />
|
||||
<Texture Name="object_wf_Tex_008228" OutName="tex_008228" Format="rgba16" Width="8" Height="8" Offset="0x8228" />
|
||||
<Texture Name="object_wf_Tex_0082A8" OutName="tex_0082A8" Format="rgba16" Width="16" Height="16" Offset="0x82A8" />
|
||||
<Texture Name="object_wf_Tex_0084A8" OutName="tex_0084A8" Format="rgba16" Width="16" Height="16" Offset="0x84A8" />
|
||||
<DList Name="object_wf_DL_008E98" Offset="0x8E98" />
|
||||
<DList Name="object_wf_DL_008F38" Offset="0x8F38" />
|
||||
<DList Name="object_wf_DL_009000" Offset="0x9000" />
|
||||
<DList Name="object_wf_DL_0090C8" Offset="0x90C8" />
|
||||
<DList Name="object_wf_DL_0093E8" Offset="0x93E8" />
|
||||
<Limb Name="object_wf_Standardlimb_009480" Type="Standard" EnumName="OBJECT_WF_2_LIMB_01" Offset="0x9480" />
|
||||
<Limb Name="object_wf_Standardlimb_00948C" Type="Standard" EnumName="OBJECT_WF_2_LIMB_02" Offset="0x948C" />
|
||||
<Limb Name="object_wf_Standardlimb_009498" Type="Standard" EnumName="OBJECT_WF_2_LIMB_03" Offset="0x9498" />
|
||||
<Limb Name="object_wf_Standardlimb_0094A4" Type="Standard" EnumName="OBJECT_WF_2_LIMB_04" Offset="0x94A4" />
|
||||
<Limb Name="object_wf_Standardlimb_0094B0" Type="Standard" EnumName="OBJECT_WF_2_LIMB_05" Offset="0x94B0" />
|
||||
<Limb Name="object_wf_Standardlimb_0094BC" Type="Standard" EnumName="OBJECT_WF_2_LIMB_06" Offset="0x94BC" />
|
||||
<Limb Name="object_wf_Standardlimb_0094C8" Type="Standard" EnumName="OBJECT_WF_2_LIMB_07" Offset="0x94C8" />
|
||||
<Limb Name="object_wf_Standardlimb_0094D4" Type="Standard" EnumName="OBJECT_WF_2_LIMB_08" Offset="0x94D4" />
|
||||
<Limb Name="object_wf_Standardlimb_0094E0" Type="Standard" EnumName="OBJECT_WF_2_LIMB_09" Offset="0x94E0" />
|
||||
<Limb Name="object_wf_Standardlimb_0094EC" Type="Standard" EnumName="OBJECT_WF_2_LIMB_0A" Offset="0x94EC" />
|
||||
<Limb Name="object_wf_Standardlimb_0094F8" Type="Standard" EnumName="OBJECT_WF_2_LIMB_0B" Offset="0x94F8" />
|
||||
<Limb Name="object_wf_Standardlimb_009504" Type="Standard" EnumName="OBJECT_WF_2_LIMB_0C" Offset="0x9504" />
|
||||
<Limb Name="object_wf_Standardlimb_009510" Type="Standard" EnumName="OBJECT_WF_2_LIMB_0D" Offset="0x9510" />
|
||||
<Limb Name="object_wf_Standardlimb_00951C" Type="Standard" EnumName="OBJECT_WF_2_LIMB_0E" Offset="0x951C" />
|
||||
<Limb Name="object_wf_Standardlimb_009528" Type="Standard" EnumName="OBJECT_WF_2_LIMB_0F" Offset="0x9528" />
|
||||
<Limb Name="object_wf_Standardlimb_009534" Type="Standard" EnumName="OBJECT_WF_2_LIMB_10" Offset="0x9534" />
|
||||
<Limb Name="object_wf_Standardlimb_009540" Type="Standard" EnumName="OBJECT_WF_2_LIMB_11" Offset="0x9540" />
|
||||
<Limb Name="object_wf_Standardlimb_00954C" Type="Standard" EnumName="OBJECT_WF_2_LIMB_12" Offset="0x954C" />
|
||||
<Limb Name="object_wf_Standardlimb_009558" Type="Standard" EnumName="OBJECT_WF_2_LIMB_13" Offset="0x9558" />
|
||||
<Limb Name="object_wf_Standardlimb_009564" Type="Standard" EnumName="OBJECT_WF_2_LIMB_14" Offset="0x9564" />
|
||||
<Limb Name="object_wf_Standardlimb_009570" Type="Standard" EnumName="OBJECT_WF_2_LIMB_15" Offset="0x9570" />
|
||||
<Skeleton Name="object_wf_Skel_0095D0" Type="Flex" LimbType="Standard" LimbNone="OBJECT_WF_2_LIMB_NONE" LimbMax="OBJECT_WF_2_LIMB_MAX" EnumName="object_wf_2_Limbs" Offset="0x95D0" />
|
||||
<Animation Name="object_wf_Anim_009808" Offset="0x9808" />
|
||||
<Animation Name="object_wf_Anim_009A50" Offset="0x9A50" />
|
||||
<Animation Name="object_wf_Anim_00A3CC" Offset="0xA3CC" />
|
||||
<!-- White Wolfos Textures -->
|
||||
<Texture Name="gWolfosWhiteFurTex" OutName="wolfos_white_fur" Format="rgba16" Width="8" Height="16" Offset="0x0" />
|
||||
<Texture Name="gWolfosWhiteToothClawTex" OutName="wolfos_white_tooth_claw" Format="rgba16" Width="8" Height="8" Offset="0x100" />
|
||||
<Texture Name="gWolfosWhiteMouthTex" OutName="wolfos_white_mouth" Format="rgba16" Width="8" Height="8" Offset="0x180" />
|
||||
<Texture Name="gWolfosWhiteTongueTex" OutName="wolfos_white_tongue" Format="rgba16" Width="8" Height="8" Offset="0x200" />
|
||||
<Texture Name="gWolfosWhiteNostrilTex" OutName="wolfos_white_nostril" Format="rgba16" Width="8" Height="8" Offset="0x280" />
|
||||
|
||||
<!-- White Wolfos Eye Textures -->
|
||||
<Texture Name="gWolfosWhiteEyeOpenTex" OutName="wolfos_white_eye_open" Format="rgba16" Width="16" Height="16" Offset="0x300" />
|
||||
|
||||
<!-- White Wolfos Limb DisplayLists -->
|
||||
<DList Name="gWolfosWhiteAbdomenDL" Offset="0x1A20" />
|
||||
<DList Name="gWolfosWhiteBackRightThighDL" Offset="0x1AE8" />
|
||||
<DList Name="gWolfosWhiteBackRightShinDL" Offset="0x1BD8" />
|
||||
<DList Name="gWolfosWhiteBackRightPasternDL" Offset="0x1CC8" />
|
||||
<DList Name="gWolfosWhiteBackRightPawDL" Offset="0x1D98" />
|
||||
<DList Name="gWolfosWhiteBackLeftThighDL" Offset="0x1E98" />
|
||||
<DList Name="gWolfosWhiteBackLeftShinDL" Offset="0x1F88" />
|
||||
<DList Name="gWolfosWhiteBackLeftPasternDL" Offset="0x2078" />
|
||||
<DList Name="gWolfosWhiteBackLeftPawDL" Offset="0x2148" />
|
||||
<DList Name="gWolfosWhiteThoraxDL" Offset="0x2248" />
|
||||
<DList Name="gWolfosWhiteFrontLeftUpperLegDL" Offset="0x2368" />
|
||||
<DList Name="gWolfosWhiteFrontLeftLowerLegDL" Offset="0x2490" />
|
||||
<DList Name="gWolfosWhiteFrontRightUpperLegDL" Offset="0x25A0" />
|
||||
<DList Name="gWolfosWhiteFrontRightLowerLegDL" Offset="0x26C8" />
|
||||
|
||||
<!-- White Wolfos Eye Textures -->
|
||||
<Texture Name="gWolfosWhiteEyeHalfTex" OutName="wolfos_white_eye_half" Format="rgba16" Width="16" Height="16" Offset="0x27D8" />
|
||||
<Texture Name="gWolfosWhiteEyeNarrowTex" OutName="wolfos_white_eye_narrow" Format="rgba16" Width="16" Height="16" Offset="0x29D8" />
|
||||
|
||||
<!-- White Wolfos Limb DisplayLists -->
|
||||
<DList Name="gWolfosWhiteTailDL" Offset="0x3488" />
|
||||
<DList Name="gWolfosWhiteFrontLeftClawDL" Offset="0x3528" />
|
||||
<DList Name="gWolfosWhiteFrontRightClawDL" Offset="0x35F0" />
|
||||
<DList Name="gWolfosWhiteHeadDL" Offset="0x36B8" />
|
||||
<DList Name="gWolfosWhiteEyesDL" Offset="0x39D8" />
|
||||
|
||||
<!-- White Wolfos Limbs -->
|
||||
<Limb Name="gWolfosWhiteRootLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_ROOT" Offset="0x3A70" />
|
||||
<Limb Name="gWolfosWhiteBackLeftThighLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_BACK_LEFT_THIGH" Offset="0x3A7C" />
|
||||
<Limb Name="gWolfosWhiteBackLeftShinLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_BACK_LEFT_SHIN" Offset="0x3A88" />
|
||||
<Limb Name="gWolfosWhiteBackLeftPasternLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_BACK_LEFT_PASTERN" Offset="0x3A94" />
|
||||
<Limb Name="gWolfosWhiteBackLeftPawLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_BACK_LEFT_PAW" Offset="0x3AA0" />
|
||||
<Limb Name="gWolfosWhiteTailLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_TAIL" Offset="0x3AAC" />
|
||||
<Limb Name="gWolfosWhiteAbdomenLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_ABDOMEN" Offset="0x3AB8" />
|
||||
<Limb Name="gWolfosWhiteBackRightThighLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_BACK_RIGHT_THIGH" Offset="0x3AC4" />
|
||||
<Limb Name="gWolfosWhiteBackRightShinLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_BACK_RIGHT_SHIN" Offset="0x3AD0" />
|
||||
<Limb Name="gWolfosWhiteBackRightPasternLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_BACK_RIGHT_PASTERN" Offset="0x3ADC" />
|
||||
<Limb Name="gWolfosWhiteBackRightPawLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_BACK_RIGHT_PAW" Offset="0x3AE8" />
|
||||
<Limb Name="gWolfosWhiteThoraxLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_THORAX" Offset="0x3AF4" />
|
||||
<Limb Name="gWolfosWhiteFrontRightUpperLegLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_FRONT_RIGHT_UPPER_LEG" Offset="0x3B00" />
|
||||
<Limb Name="gWolfosWhiteFrontRightLowerLegLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_FRONT_RIGHT_LOWER_LEG" Offset="0x3B0C" />
|
||||
<Limb Name="gWolfosWhiteFrontRightClawLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_FRONT_RIGHT_CLAW" Offset="0x3B18" />
|
||||
<Limb Name="gWolfosWhiteHeadRootLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_HEAD_ROOT" Offset="0x3B24" />
|
||||
<Limb Name="gWolfosWhiteHeadLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_HEAD" Offset="0x3B30" />
|
||||
<Limb Name="gWolfosWhiteEyesLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_EYES" Offset="0x3B3C" />
|
||||
<Limb Name="gWolfosWhiteFrontLeftUpperLegLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_FRONT_LEFT_UPPER_LEG" Offset="0x3B48" />
|
||||
<Limb Name="gWolfosWhiteFrontLeftLowerLegLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_FRONT_LEFT_LOWER_LEG" Offset="0x3B54" />
|
||||
<Limb Name="gWolfosWhiteFrontLeftClawLimb" Type="Standard" EnumName="WOLFOS_WHITE_LIMB_FRONT_LEFT_CLAW" Offset="0x3B60" />
|
||||
|
||||
<!-- White Wolfos Skeleton -->
|
||||
<Skeleton Name="gWolfosWhiteSkel" Type="Flex" LimbType="Standard" LimbNone="WOLFOS_WHITE_LIMB_NONE" LimbMax="WOLFOS_WHITE_LIMB_MAX" EnumName="WolfosWhiteLimbs" Offset="0x3BC0" />
|
||||
|
||||
<!-- Wolfos/White Wolfos Animations -->
|
||||
<Animation Name="gWolfosSlashingAnim" Offset="0x4638" /> <!-- Original name is "wolfman_attack" -->
|
||||
<Animation Name="gWolfosBackflippingAnim" Offset="0x4A90" /> <!-- Original name is "wolfman_back_jump" -->
|
||||
<Animation Name="gWolfosBlockingAnim" Offset="0x4C44" /> <!-- Original name is "wolfman_defense" -->
|
||||
<Animation Name="gWolfosRearingUpFallingOverAnim" Offset="0x53D0" /> <!-- Original name is "wolfman_down" -->
|
||||
<Animation Name="gWolfosRunningAnim" Offset="0x5700" /> <!-- Original name is "wolfman_run" -->
|
||||
|
||||
<!-- Wolfos Limb DisplayLists -->
|
||||
<DList Name="gWolfosNormalAbdomenDL" Offset="0x6D10" />
|
||||
<DList Name="gWolfosNormalBackRightThighDL" Offset="0x6DD8" />
|
||||
<DList Name="gWolfosNormalBackRightShinDL" Offset="0x6EC8" />
|
||||
<DList Name="gWolfosNormalBackRightPasternDL" Offset="0x6FB8" />
|
||||
<DList Name="gWolfosNormalBackRightPawDL" Offset="0x7088" />
|
||||
<DList Name="gWolfosNormalBackLeftThighDL" Offset="0x7188" />
|
||||
<DList Name="gWolfosNormalBackLeftShinDL" Offset="0x7278" />
|
||||
<DList Name="gWolfosNormalBackLeftPasternDL" Offset="0x7368" />
|
||||
<DList Name="gWolfosNormalBackLeftPawDL" Offset="0x7438" />
|
||||
<DList Name="gWolfosNormalThoraxDL" Offset="0x7538" />
|
||||
<DList Name="gWolfosNormalFrontLeftUpperLegDL" Offset="0x7658" />
|
||||
<DList Name="gWolfosNormalFrontLeftLowerLegDL" Offset="0x7770" />
|
||||
<DList Name="gWolfosNormalFrontRightUpperLegDL" Offset="0x7880" />
|
||||
<DList Name="gWolfosNormalFrontRightLowerLegDL" Offset="0x7998" />
|
||||
|
||||
<!-- Wolfos Eye Textures -->
|
||||
<Texture Name="gWolfosNormalEyeOpenTex" OutName="wolfos_normal_eye_open" Format="rgba16" Width="16" Height="16" Offset="0x7AA8" />
|
||||
|
||||
<!-- Wolfos Textures -->
|
||||
<Texture Name="gWolfosNormalFurTex" OutName="wolfos_normal_fur" Format="rgba16" Width="16" Height="32" Offset="0x7CA8" />
|
||||
<Texture Name="gWolfosNormalMouthTex" OutName="wolfos_normal_mouth" Format="rgba16" Width="8" Height="8" Offset="0x80A8" />
|
||||
<Texture Name="gWolfosNormalTongueTex" OutName="wolfos_normal_tongue" Format="rgba16" Width="8" Height="8" Offset="0x8128" />
|
||||
<Texture Name="gWolfosNormalToothClawTex" OutName="wolfos_normal_tooth_claw" Format="rgba16" Width="8" Height="8" Offset="0x81A8" />
|
||||
<Texture Name="gWolfosNormalNostrilTex" OutName="wolfos_normal_nostril" Format="rgba16" Width="8" Height="8" Offset="0x8228" />
|
||||
|
||||
<!-- Wolfos Eye Textures -->
|
||||
<Texture Name="gWolfosNormalEyeHalfTex" OutName="wolfos_normal_eye_half" Format="rgba16" Width="16" Height="16" Offset="0x82A8" />
|
||||
<Texture Name="gWolfosNormalEyeNarrowTex" OutName="wolfos_normal_eye_narrow" Format="rgba16" Width="16" Height="16" Offset="0x84A8" />
|
||||
|
||||
<!-- Wolfos Limb DisplayLists -->
|
||||
<DList Name="gWolfosNormalTailDL" Offset="0x8E98" />
|
||||
<DList Name="gWolfosNormalFrontLeftClawDL" Offset="0x8F38" />
|
||||
<DList Name="gWolfosNormalFrontRightClawDL" Offset="0x9000" />
|
||||
<DList Name="gWolfosNormalHeadDL" Offset="0x90C8" />
|
||||
<DList Name="gWolfosNormalEyesDL" Offset="0x93E8" />
|
||||
|
||||
<!-- Wolfos Limbs -->
|
||||
<Limb Name="gWolfosNormalRootLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_ROOT" Offset="0x9480" />
|
||||
<Limb Name="gWolfosNormalBackLeftThighLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_BACK_LEFT_THIGH" Offset="0x948C" />
|
||||
<Limb Name="gWolfosNormalBackLeftShinLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_BACK_LEFT_SHIN" Offset="0x9498" />
|
||||
<Limb Name="gWolfosNormalBackLeftPasternLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_BACK_LEFT_PASTERN" Offset="0x94A4" />
|
||||
<Limb Name="gWolfosNormalBackLeftPawLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_BACK_LEFT_PAW" Offset="0x94B0" />
|
||||
<Limb Name="gWolfosNormalTailLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_TAIL" Offset="0x94BC" />
|
||||
<Limb Name="gWolfosNormalAbdomenLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_ABDOMEN" Offset="0x94C8" />
|
||||
<Limb Name="gWolfosNormalBackRightThighLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_BACK_RIGHT_THIGH" Offset="0x94D4" />
|
||||
<Limb Name="gWolfosNormalBackRightShinLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_BACK_RIGHT_SHIN" Offset="0x94E0" />
|
||||
<Limb Name="gWolfosNormalBackRightPasternLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_BACK_RIGHT_PASTERN" Offset="0x94EC" />
|
||||
<Limb Name="gWolfosNormalBackRightPawLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_BACK_RIGHT_PAW" Offset="0x94F8" />
|
||||
<Limb Name="gWolfosNormalThoraxLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_THORAX" Offset="0x9504" />
|
||||
<Limb Name="gWolfosNormalFrontRightUpperLegLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_FRONT_RIGHT_UPPER_LEG" Offset="0x9510" />
|
||||
<Limb Name="gWolfosNormalFrontRightLowerLegLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_FRONT_RIGHT_LOWER_LEG" Offset="0x951C" />
|
||||
<Limb Name="gWolfosNormalFrontRightClawLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_FRONT_RIGHT_CLAW" Offset="0x9528" />
|
||||
<Limb Name="gWolfosNormalHeadRootLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_HEAD_ROOT" Offset="0x9534" />
|
||||
<Limb Name="gWolfosNormalHeadLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_HEAD" Offset="0x9540" />
|
||||
<Limb Name="gWolfosNormalEyesLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_EYES" Offset="0x954C" />
|
||||
<Limb Name="gWolfosNormalFrontLeftUpperLegLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_FRONT_LEFT_UPPER_LEG" Offset="0x9558" />
|
||||
<Limb Name="gWolfosNormalFrontLeftLowerLegLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_FRONT_LEFT_LOWER_LEG" Offset="0x9564" />
|
||||
<Limb Name="gWolfosNormalFrontLeftClawLimb" Type="Standard" EnumName="WOLFOS_NORMAL_LIMB_FRONT_LEFT_CLAW" Offset="0x9570" />
|
||||
|
||||
<!-- Wolfos Skeleton -->
|
||||
<Skeleton Name="gWolfosNormalSkel" Type="Flex" LimbType="Standard" LimbNone="WOLFOS_NORMAL_LIMB_NONE" LimbMax="WOLFOS_NORMAL_LIMB_MAX" EnumName="WolfosNormalLimbs" Offset="0x95D0" />
|
||||
|
||||
<!-- Wolfos/White Wolfos Animations -->
|
||||
<Animation Name="gWolfosSidesteppingAnim" Offset="0x9808" /> <!-- Original name is "wolfman_side_walk" -->
|
||||
<Animation Name="gWolfosDamagedAnim" Offset="0x9A50" /> <!-- Originla name is "wolfman_tail_hit" -->
|
||||
<Animation Name="gWolfosWaitingAnim" Offset="0xA3CC" /> <!-- Original name is "wolfman_wait" -->
|
||||
</File>
|
||||
</Root>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#include "z_en_syateki_wf.h"
|
||||
#include "overlays/actors/ovl_En_Syateki_Man/z_en_syateki_man.h"
|
||||
#include "objects/object_wf/object_wf.h"
|
||||
|
||||
#define FLAGS (ACTOR_FLAG_10 | ACTOR_FLAG_20 | ACTOR_FLAG_8000000)
|
||||
|
||||
|
@ -115,13 +114,13 @@ const ActorInit En_Syateki_Wf_InitVars = {
|
|||
};
|
||||
|
||||
static AnimationInfo sAnimations[] = {
|
||||
{ &object_wf_Anim_00A3CC, 2.0f, 0.0f, 0.0f, ANIMMODE_LOOP, -1.0f },
|
||||
{ &object_wf_Anim_005700, 1.0f, 0.0f, 0.0f, ANIMMODE_LOOP, -8.0f },
|
||||
{ &object_wf_Anim_005700, 1.0f, 0.0f, 4.0f, ANIMMODE_ONCE, 1.0f },
|
||||
{ &object_wf_Anim_005700, 1.0f, 4.0f, 8.0f, ANIMMODE_ONCE, 1.0f },
|
||||
{ &object_wf_Anim_004A90, 1.0f, 0.0f, 0.0f, ANIMMODE_ONCE, -1.0f },
|
||||
{ &object_wf_Anim_009A50, 1.0f, 0.0f, 0.0f, ANIMMODE_ONCE, 8.0f },
|
||||
{ &object_wf_Anim_0053D0, 1.0f, 0.0f, 0.0f, ANIMMODE_ONCE, -1.0f },
|
||||
{ &gWolfosWaitingAnim, 2.0f, 0.0f, 0.0f, ANIMMODE_LOOP, -1.0f },
|
||||
{ &gWolfosRunningAnim, 1.0f, 0.0f, 0.0f, ANIMMODE_LOOP, -8.0f },
|
||||
{ &gWolfosRunningAnim, 1.0f, 0.0f, 4.0f, ANIMMODE_ONCE, 1.0f },
|
||||
{ &gWolfosRunningAnim, 1.0f, 4.0f, 8.0f, ANIMMODE_ONCE, 1.0f },
|
||||
{ &gWolfosBackflippingAnim, 1.0f, 0.0f, 0.0f, ANIMMODE_ONCE, -1.0f },
|
||||
{ &gWolfosDamagedAnim, 1.0f, 0.0f, 0.0f, ANIMMODE_ONCE, 8.0f },
|
||||
{ &gWolfosRearingUpFallingOverAnim, 1.0f, 0.0f, 0.0f, ANIMMODE_ONCE, -1.0f },
|
||||
};
|
||||
|
||||
static InitChainEntry sInitChain[] = {
|
||||
|
@ -134,10 +133,10 @@ static Vec3f D_80A20FC4 = { 0.0f, 0.5f, 0.0f };
|
|||
static Vec3f D_80A20FD0 = { 1200.0f, 0.0f, 0.0f };
|
||||
|
||||
static TexturePtr sEyeTextures[] = {
|
||||
object_wf_Tex_007AA8,
|
||||
object_wf_Tex_0082A8,
|
||||
object_wf_Tex_0084A8,
|
||||
object_wf_Tex_0082A8,
|
||||
gWolfosNormalEyeOpenTex,
|
||||
gWolfosNormalEyeHalfTex,
|
||||
gWolfosNormalEyeNarrowTex,
|
||||
gWolfosNormalEyeHalfTex,
|
||||
};
|
||||
|
||||
void EnSyatekiWf_Init(Actor* thisx, GlobalContext* globalCtx) {
|
||||
|
@ -181,11 +180,11 @@ void EnSyatekiWf_Init(Actor* thisx, GlobalContext* globalCtx) {
|
|||
Collider_InitCylinder(globalCtx, &this->unk_300);
|
||||
Collider_SetCylinder(globalCtx, &this->unk_300, &this->actor, &sCylinderInit2);
|
||||
Collider_InitJntSph(globalCtx, &this->unk_34C);
|
||||
Collider_SetJntSph(globalCtx, &this->unk_34C, &this->actor, &sJntSphInit, &this->unk_36C);
|
||||
Collider_SetJntSph(globalCtx, &this->unk_34C, &this->actor, &sJntSphInit, this->unk_36C);
|
||||
this->unk_34C.elements->dim.worldSphere.radius = sJntSphInit.elements[0].dim.modelSphere.radius;
|
||||
|
||||
SkelAnime_InitFlex(globalCtx, &this->skelAnime, &object_wf_Skel_0095D0, &object_wf_Anim_00A3CC, this->jointTable,
|
||||
this->morphTable, 22);
|
||||
SkelAnime_InitFlex(globalCtx, &this->skelAnime, &gWolfosNormalSkel, &gWolfosWaitingAnim, this->jointTable,
|
||||
this->morphTable, WOLFOS_NORMAL_LIMB_MAX);
|
||||
Actor_SetScale(&this->actor, 0.01f);
|
||||
this->actor.hintId = 0x4C;
|
||||
|
||||
|
@ -461,7 +460,7 @@ void EnSyatekiWf_PostLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dLi
|
|||
Vec3f sp18;
|
||||
|
||||
Collider_UpdateSpheres(limbIndex, &this->unk_34C);
|
||||
if (limbIndex == OBJECT_WF_2_LIMB_06) {
|
||||
if (limbIndex == WOLFOS_NORMAL_LIMB_TAIL) {
|
||||
Matrix_MultiplyVector3fByState(&D_80A20FD0, &sp18);
|
||||
this->unk_300.dim.pos.x = sp18.x;
|
||||
this->unk_300.dim.pos.y = sp18.y;
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#define Z_EN_SYATEKI_WF_H
|
||||
|
||||
#include "global.h"
|
||||
#include "objects/object_wf/object_wf.h"
|
||||
|
||||
#define EN_SYATEKI_WF_GET_PARAM_F0(thisx) (((thisx)->params & 0xF0) >> 4)
|
||||
#define EN_SYATEKI_WF_GET_PARAM_FF00(thisx) (((thisx)->params & 0xFF00) >> 8)
|
||||
|
@ -13,8 +14,8 @@ typedef void (*EnSyatekiWfActionFunc)(struct EnSyatekiWf*, GlobalContext*);
|
|||
typedef struct EnSyatekiWf {
|
||||
/* 0x000 */ Actor actor;
|
||||
/* 0x144 */ SkelAnime skelAnime;
|
||||
/* 0x188 */ Vec3s jointTable[22];
|
||||
/* 0x20C */ Vec3s morphTable[22];
|
||||
/* 0x188 */ Vec3s jointTable[WOLFOS_NORMAL_LIMB_MAX];
|
||||
/* 0x20C */ Vec3s morphTable[WOLFOS_NORMAL_LIMB_MAX];
|
||||
/* 0x290 */ UNK_TYPE1 unk_290[0x4];
|
||||
/* 0x294 */ EnSyatekiWfActionFunc actionFunc;
|
||||
/* 0x298 */ s16 unk_298;
|
||||
|
@ -29,7 +30,7 @@ typedef struct EnSyatekiWf {
|
|||
/* 0x2B4 */ ColliderCylinder unk_2B4;
|
||||
/* 0x300 */ ColliderCylinder unk_300;
|
||||
/* 0x34C */ ColliderJntSph unk_34C;
|
||||
/* 0x36C */ ColliderJntSphElement unk_36C;
|
||||
/* 0x36C */ ColliderJntSphElement unk_36C[1];
|
||||
/* 0x3AC */ UNK_TYPE1 unk_3AC[0x20];
|
||||
} EnSyatekiWf; // size = 0x3CC
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include "z_en_wf.h"
|
||||
#include "overlays/actors/ovl_En_Bom_Chu/z_en_bom_chu.h"
|
||||
#include "overlays/actors/ovl_Obj_Ice_Poly/z_obj_ice_poly.h"
|
||||
#include "objects/object_wf/object_wf.h"
|
||||
|
||||
#define FLAGS (ACTOR_FLAG_1 | ACTOR_FLAG_4 | ACTOR_FLAG_10 | ACTOR_FLAG_400)
|
||||
|
||||
|
@ -240,18 +239,18 @@ static DamageTable sDamageTable2 = {
|
|||
|
||||
static CollisionCheckInfoInit sColChkInfoInit = { 8, 50, 100, MASS_HEAVY };
|
||||
|
||||
static TexturePtr D_809942B0[] = {
|
||||
object_wf_Tex_007AA8,
|
||||
object_wf_Tex_0082A8,
|
||||
object_wf_Tex_0084A8,
|
||||
object_wf_Tex_0082A8,
|
||||
static TexturePtr sNormalEyeTextures[] = {
|
||||
gWolfosNormalEyeOpenTex,
|
||||
gWolfosNormalEyeHalfTex,
|
||||
gWolfosNormalEyeNarrowTex,
|
||||
gWolfosNormalEyeHalfTex,
|
||||
};
|
||||
|
||||
static TexturePtr D_809942C0[] = {
|
||||
object_wf_Tex_000300,
|
||||
object_wf_Tex_0027D8,
|
||||
object_wf_Tex_0029D8,
|
||||
object_wf_Tex_0027D8,
|
||||
static TexturePtr sWhiteEyeTextures[] = {
|
||||
gWolfosWhiteEyeOpenTex,
|
||||
gWolfosWhiteEyeHalfTex,
|
||||
gWolfosWhiteEyeNarrowTex,
|
||||
gWolfosWhiteEyeHalfTex,
|
||||
};
|
||||
|
||||
static InitChainEntry sInitChain[] = {
|
||||
|
@ -318,16 +317,16 @@ void EnWf_Init(Actor* thisx, GlobalContext* globalCtx) {
|
|||
Actor_SetScale(&this->actor, 0.0075f);
|
||||
|
||||
if (this->actor.params == 0) {
|
||||
SkelAnime_InitFlex(globalCtx, &this->skelAnime, &object_wf_Skel_0095D0, &object_wf_Anim_00A3CC,
|
||||
this->jointTable, this->morphTable, 22);
|
||||
SkelAnime_InitFlex(globalCtx, &this->skelAnime, &gWolfosNormalSkel, &gWolfosWaitingAnim, this->jointTable,
|
||||
this->morphTable, WOLFOS_NORMAL_LIMB_MAX);
|
||||
this->actor.hintId = 0x4C;
|
||||
CollisionCheck_SetInfo(&this->actor.colChkInfo, &sDamageTable2, &sColChkInfoInit);
|
||||
this->collider1.elements[0].info.toucher.damage = 8;
|
||||
this->collider1.elements[1].info.toucher.damage = 8;
|
||||
this->actor.colChkInfo.health = 6;
|
||||
} else {
|
||||
SkelAnime_InitFlex(globalCtx, &this->skelAnime, &object_wf_Skel_003BC0, &object_wf_Anim_00A3CC,
|
||||
this->jointTable, this->morphTable, 22);
|
||||
SkelAnime_InitFlex(globalCtx, &this->skelAnime, &gWolfosWhiteSkel, &gWolfosWaitingAnim, this->jointTable,
|
||||
this->morphTable, WOLFOS_WHITE_LIMB_MAX);
|
||||
this->actor.hintId = 0x57;
|
||||
CollisionCheck_SetInfo(&this->actor.colChkInfo, &sDamageTable1, &sColChkInfoInit);
|
||||
}
|
||||
|
@ -342,9 +341,9 @@ void EnWf_Init(Actor* thisx, GlobalContext* globalCtx) {
|
|||
func_800BC154(globalCtx, &globalCtx->actorCtx, &this->actor, 5);
|
||||
|
||||
if (D_809942D8 == 0) {
|
||||
for (i = 0; i < ARRAY_COUNT(D_809942B0); i++) {
|
||||
D_809942B0[i] = Lib_SegmentedToVirtual(D_809942B0[i]);
|
||||
D_809942C0[i] = Lib_SegmentedToVirtual(D_809942C0[i]);
|
||||
for (i = 0; i < ARRAY_COUNT(sNormalEyeTextures); i++) {
|
||||
sNormalEyeTextures[i] = Lib_SegmentedToVirtual(sNormalEyeTextures[i]);
|
||||
sWhiteEyeTextures[i] = Lib_SegmentedToVirtual(sWhiteEyeTextures[i]);
|
||||
}
|
||||
D_809942D8 = 1;
|
||||
}
|
||||
|
@ -382,14 +381,14 @@ void func_80990854(EnWf* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
}
|
||||
|
||||
void func_809908E0(EnWf* this) {
|
||||
if (this->unk_294 != 0) {
|
||||
this->unk_294++;
|
||||
if (this->unk_294 == 4) {
|
||||
this->unk_294 = 0;
|
||||
void EnWf_Blink(EnWf* this) {
|
||||
if (this->eyeIndex != 0) {
|
||||
this->eyeIndex++;
|
||||
if (this->eyeIndex == 4) {
|
||||
this->eyeIndex = 0;
|
||||
}
|
||||
} else if (Rand_ZeroOne() < 0.05f) {
|
||||
this->unk_294 = 1;
|
||||
this->eyeIndex = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -550,7 +549,7 @@ void func_80990F50(EnWf* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
|
||||
void func_80990FC8(EnWf* this) {
|
||||
Animation_Change(&this->skelAnime, &object_wf_Anim_0053D0, 0.5f, 0.0f, 7.0f, 3, 0.0f);
|
||||
Animation_Change(&this->skelAnime, &gWolfosRearingUpFallingOverAnim, 0.5f, 0.0f, 7.0f, 3, 0.0f);
|
||||
this->unk_2A0 = 5;
|
||||
this->actor.flags |= ACTOR_FLAG_1;
|
||||
this->actionFunc = func_80991040;
|
||||
|
@ -573,7 +572,7 @@ void func_80991040(EnWf* this, GlobalContext* globalCtx) {
|
|||
void func_809910F0(EnWf* this) {
|
||||
this->collider2.base.acFlags &= ~AC_ON;
|
||||
this->actor.speedXZ = 0.0f;
|
||||
Animation_Change(&this->skelAnime, &object_wf_Anim_0053D0, 0.5f, 0.0f, 7.0f, 3, -5.0f);
|
||||
Animation_Change(&this->skelAnime, &gWolfosRearingUpFallingOverAnim, 0.5f, 0.0f, 7.0f, 3, -5.0f);
|
||||
this->unk_2A0 = 5;
|
||||
this->actionFunc = func_80991174;
|
||||
}
|
||||
|
@ -592,7 +591,7 @@ void func_80991174(EnWf* this, GlobalContext* globalCtx) {
|
|||
|
||||
void func_80991200(EnWf* this) {
|
||||
this->collider2.base.acFlags |= AC_ON;
|
||||
Animation_MorphToLoop(&this->skelAnime, &object_wf_Anim_00A3CC, -4.0f);
|
||||
Animation_MorphToLoop(&this->skelAnime, &gWolfosWaitingAnim, -4.0f);
|
||||
this->unk_2A0 = (s32)Rand_ZeroFloat(10.0f) + 2;
|
||||
this->actor.world.rot.y = this->actor.shape.rot.y;
|
||||
this->actionFunc = func_80991280;
|
||||
|
@ -643,7 +642,7 @@ void func_80991280(EnWf* this, GlobalContext* globalCtx) {
|
|||
|
||||
void func_80991438(EnWf* this) {
|
||||
this->collider2.base.acFlags |= AC_ON;
|
||||
Animation_MorphToLoop(&this->skelAnime, &object_wf_Anim_005700, -4.0f);
|
||||
Animation_MorphToLoop(&this->skelAnime, &gWolfosRunningAnim, -4.0f);
|
||||
this->actor.world.rot.y = this->actor.shape.rot.y;
|
||||
this->actor.speedXZ = 8.0f;
|
||||
this->actionFunc = func_8099149C;
|
||||
|
@ -704,7 +703,7 @@ void func_8099149C(EnWf* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
|
||||
void func_80991738(EnWf* this) {
|
||||
Animation_MorphToLoop(&this->skelAnime, &object_wf_Anim_009808, -4.0f);
|
||||
Animation_MorphToLoop(&this->skelAnime, &gWolfosSidesteppingAnim, -4.0f);
|
||||
this->actionFunc = func_8099177C;
|
||||
}
|
||||
|
||||
|
@ -756,7 +755,7 @@ void func_8099177C(EnWf* this, GlobalContext* globalCtx) {
|
|||
|
||||
void func_80991948(EnWf* this) {
|
||||
this->collider2.base.acFlags |= AC_ON;
|
||||
Animation_MorphToLoop(&this->skelAnime, &object_wf_Anim_005700, -4.0f);
|
||||
Animation_MorphToLoop(&this->skelAnime, &gWolfosRunningAnim, -4.0f);
|
||||
if (Rand_ZeroOne() > 0.5f) {
|
||||
this->unk_29A = 16000;
|
||||
} else {
|
||||
|
@ -810,7 +809,7 @@ void func_809919F4(EnWf* this, GlobalContext* globalCtx) {
|
|||
|
||||
void func_80991C04(EnWf* this) {
|
||||
this->collider2.base.acFlags |= AC_ON;
|
||||
Animation_PlayOnce(&this->skelAnime, &object_wf_Anim_004638);
|
||||
Animation_PlayOnce(&this->skelAnime, &gWolfosSlashingAnim);
|
||||
this->collider1.base.atFlags &= ~AT_BOUNCED;
|
||||
this->actor.shape.rot.y = this->actor.yawTowardsPlayer;
|
||||
this->unk_2A0 = 7;
|
||||
|
@ -880,7 +879,7 @@ void func_80991FD8(EnWf* this) {
|
|||
if (this->skelAnime.curFrame > 15.0f) {
|
||||
phi_f0 = 15.0f;
|
||||
}
|
||||
Animation_Change(&this->skelAnime, &object_wf_Anim_004638, -0.5f, this->skelAnime.curFrame - 1.0f, phi_f0, 3, 0.0f);
|
||||
Animation_Change(&this->skelAnime, &gWolfosSlashingAnim, -0.5f, this->skelAnime.curFrame - 1.0f, phi_f0, 3, 0.0f);
|
||||
this->collider1.base.atFlags &= ~AT_ON;
|
||||
this->actionFunc = func_80992068;
|
||||
}
|
||||
|
@ -923,7 +922,7 @@ void func_80992068(EnWf* this, GlobalContext* globalCtx) {
|
|||
|
||||
void func_8099223C(EnWf* this) {
|
||||
this->collider2.base.acFlags &= ~AC_ON;
|
||||
Animation_MorphToPlayOnce(&this->skelAnime, &object_wf_Anim_004A90, -3.0f);
|
||||
Animation_MorphToPlayOnce(&this->skelAnime, &gWolfosBackflippingAnim, -3.0f);
|
||||
this->unk_2A0 = 0;
|
||||
this->actor.speedXZ = -6.0f;
|
||||
this->actor.shape.rot.y = this->actor.yawTowardsPlayer;
|
||||
|
@ -973,7 +972,7 @@ void func_809923E4(EnWf* this, GlobalContext* globalCtx) {
|
|||
|
||||
void func_8099245C(EnWf* this) {
|
||||
this->collider2.base.acFlags &= ~AC_ON;
|
||||
Animation_MorphToPlayOnce(&this->skelAnime, &object_wf_Anim_009A50, -4.0f);
|
||||
Animation_MorphToPlayOnce(&this->skelAnime, &gWolfosDamagedAnim, -4.0f);
|
||||
if (this->actor.bgCheckFlags & 1) {
|
||||
this->actor.speedXZ = -4.0f;
|
||||
}
|
||||
|
@ -1021,8 +1020,8 @@ void func_809924EC(EnWf* this, GlobalContext* globalCtx) {
|
|||
|
||||
void func_809926D0(EnWf* this) {
|
||||
this->collider2.base.acFlags &= ~AC_ON;
|
||||
Animation_Change(&this->skelAnime, &object_wf_Anim_004A90, -1.0f,
|
||||
Animation_GetLastFrame(&object_wf_Anim_004A90.common), 0.0f, 2, -3.0f);
|
||||
Animation_Change(&this->skelAnime, &gWolfosBackflippingAnim, -1.0f,
|
||||
Animation_GetLastFrame(&gWolfosBackflippingAnim.common), 0.0f, 2, -3.0f);
|
||||
this->unk_2A0 = 0;
|
||||
this->actor.speedXZ = 6.5f;
|
||||
this->actor.velocity.y = 15.0f;
|
||||
|
@ -1053,8 +1052,8 @@ void func_8099282C(EnWf* this) {
|
|||
this->collider1.base.atFlags &= ~AT_ON;
|
||||
this->unk_2A0 = 10;
|
||||
this->actor.speedXZ = 0.0f;
|
||||
Animation_Change(&this->skelAnime, &object_wf_Anim_004C44, -1.0f,
|
||||
Animation_GetLastFrame(&object_wf_Anim_004C44.common), 0.0f, 2, -2.0f);
|
||||
Animation_Change(&this->skelAnime, &gWolfosBlockingAnim, -1.0f, Animation_GetLastFrame(&gWolfosBlockingAnim.common),
|
||||
0.0f, 2, -2.0f);
|
||||
this->actionFunc = func_809928CC;
|
||||
}
|
||||
|
||||
|
@ -1091,7 +1090,7 @@ void func_80992A74(EnWf* this, GlobalContext* globalCtx) {
|
|||
f32 temp_f0;
|
||||
|
||||
this->collider2.base.acFlags |= AC_ON;
|
||||
Animation_MorphToLoop(&this->skelAnime, &object_wf_Anim_005700, -4.0f);
|
||||
Animation_MorphToLoop(&this->skelAnime, &gWolfosRunningAnim, -4.0f);
|
||||
player = GET_PLAYER(globalCtx);
|
||||
temp_f0 = Math_SinS((player->actor.shape.rot.y + this->unk_29A) - this->actor.yawTowardsPlayer);
|
||||
if (temp_f0 > 0.0f) {
|
||||
|
@ -1153,7 +1152,7 @@ void func_80992B8C(EnWf* this, GlobalContext* globalCtx) {
|
|||
|
||||
void func_80992D6C(EnWf* this) {
|
||||
this->collider2.base.acFlags &= ~AC_ON;
|
||||
Animation_MorphToPlayOnce(&this->skelAnime, &object_wf_Anim_0053D0, -4.0f);
|
||||
Animation_MorphToPlayOnce(&this->skelAnime, &gWolfosRearingUpFallingOverAnim, -4.0f);
|
||||
this->actor.world.rot.y = this->actor.yawTowardsPlayer;
|
||||
if (this->actor.bgCheckFlags & 1) {
|
||||
this->actor.speedXZ = -6.0f;
|
||||
|
@ -1205,7 +1204,7 @@ void func_80992E0C(EnWf* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
|
||||
void func_80992FD4(EnWf* this) {
|
||||
Animation_MorphToLoop(&this->skelAnime, &object_wf_Anim_00A3CC, -4.0f);
|
||||
Animation_MorphToLoop(&this->skelAnime, &gWolfosWaitingAnim, -4.0f);
|
||||
this->actionFunc = func_80993018;
|
||||
}
|
||||
|
||||
|
@ -1232,7 +1231,7 @@ void func_80993018(EnWf* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
|
||||
void func_80993148(EnWf* this) {
|
||||
Animation_MorphToLoop(&this->skelAnime, &object_wf_Anim_005700, -4.0f);
|
||||
Animation_MorphToLoop(&this->skelAnime, &gWolfosRunningAnim, -4.0f);
|
||||
this->actor.speedXZ = 0.0f;
|
||||
this->actionFunc = func_80993194;
|
||||
}
|
||||
|
@ -1277,7 +1276,7 @@ void func_80993194(EnWf* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
|
||||
void func_80993350(EnWf* this) {
|
||||
Animation_MorphToLoop(&this->skelAnime, &object_wf_Anim_005700, -4.0f);
|
||||
Animation_MorphToLoop(&this->skelAnime, &gWolfosRunningAnim, -4.0f);
|
||||
Actor_PlaySfxAtPos(&this->actor, NA_SE_EN_WOLFOS_APPEAR);
|
||||
this->actionFunc = func_809933A0;
|
||||
}
|
||||
|
@ -1317,7 +1316,7 @@ void func_809933A0(EnWf* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
|
||||
void func_80993524(EnWf* this) {
|
||||
Animation_MorphToLoop(&this->skelAnime, &object_wf_Anim_005700, -4.0f);
|
||||
Animation_MorphToLoop(&this->skelAnime, &gWolfosRunningAnim, -4.0f);
|
||||
this->actor.speedXZ = 6.0f;
|
||||
this->actor.world.rot.y = this->actor.shape.rot.y;
|
||||
this->actionFunc = func_8099357C;
|
||||
|
@ -1477,7 +1476,7 @@ void EnWf_Update(Actor* thisx, GlobalContext* globalCtx) {
|
|||
|
||||
func_8099386C(this, globalCtx);
|
||||
if (this->actionFunc != func_809923E4) {
|
||||
func_809908E0(this);
|
||||
EnWf_Blink(this);
|
||||
}
|
||||
|
||||
this->actionFunc(this, globalCtx);
|
||||
|
@ -1535,7 +1534,7 @@ void EnWf_Update(Actor* thisx, GlobalContext* globalCtx) {
|
|||
s32 EnWf_OverrideLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s* rot, Actor* thisx) {
|
||||
EnWf* this = THIS;
|
||||
|
||||
if ((limbIndex == 17) || (limbIndex == 18)) {
|
||||
if ((limbIndex == WOLFOS_NORMAL_LIMB_HEAD) || (limbIndex == WOLFOS_NORMAL_LIMB_EYES)) {
|
||||
rot->y -= this->unk_29E;
|
||||
}
|
||||
return false;
|
||||
|
@ -1554,7 +1553,7 @@ void EnWf_PostLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec
|
|||
Matrix_GetStateTranslation(&this->limbPos[D_809942FC[limbIndex]]);
|
||||
}
|
||||
|
||||
if (limbIndex == 6) {
|
||||
if (limbIndex == WOLFOS_NORMAL_LIMB_TAIL) {
|
||||
Matrix_GetStateTranslationAndScaledX(1200.0f, &sp20);
|
||||
this->collider3.dim.pos.x = sp20.x;
|
||||
this->collider3.dim.pos.y = sp20.y;
|
||||
|
@ -1571,9 +1570,9 @@ void EnWf_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
|||
func_8012C28C(globalCtx->state.gfxCtx);
|
||||
|
||||
if (this->actor.params == 0) {
|
||||
gSPSegment(POLY_OPA_DISP++, 0x08, D_809942B0[this->unk_294]);
|
||||
gSPSegment(POLY_OPA_DISP++, 0x08, sNormalEyeTextures[this->eyeIndex]);
|
||||
} else {
|
||||
gSPSegment(POLY_OPA_DISP++, 0x08, D_809942C0[this->unk_294]);
|
||||
gSPSegment(POLY_OPA_DISP++, 0x08, sWhiteEyeTextures[this->eyeIndex]);
|
||||
}
|
||||
|
||||
CLOSE_DISPS(globalCtx->state.gfxCtx);
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#define Z_EN_WF_H
|
||||
|
||||
#include "global.h"
|
||||
#include "objects/object_wf/object_wf.h"
|
||||
|
||||
struct EnWf;
|
||||
|
||||
|
@ -12,10 +13,10 @@ typedef void (*EnWfActionFunc)(struct EnWf*, GlobalContext*);
|
|||
typedef struct EnWf {
|
||||
/* 0x0000 */ Actor actor;
|
||||
/* 0x0144 */ SkelAnime skelAnime;
|
||||
/* 0x0188 */ Vec3s jointTable[22];
|
||||
/* 0x020C */ Vec3s morphTable[22];
|
||||
/* 0x0188 */ Vec3s jointTable[WOLFOS_NORMAL_LIMB_MAX];
|
||||
/* 0x020C */ Vec3s morphTable[WOLFOS_NORMAL_LIMB_MAX];
|
||||
/* 0x0290 */ EnWfActionFunc actionFunc;
|
||||
/* 0x0294 */ u8 unk_294;
|
||||
/* 0x0294 */ u8 eyeIndex;
|
||||
/* 0x0295 */ u8 unk_295;
|
||||
/* 0x0296 */ u8 drawDmgEffType;
|
||||
/* 0x0298 */ s16 unk_298;
|
||||
|
|
|
@ -8429,7 +8429,7 @@
|
|||
0x80990784:("EnWf_Destroy",),
|
||||
0x809907D4:("func_809907D4",),
|
||||
0x80990854:("func_80990854",),
|
||||
0x809908E0:("func_809908E0",),
|
||||
0x809908E0:("EnWf_Blink",),
|
||||
0x80990948:("func_80990948",),
|
||||
0x80990C6C:("func_80990C6C",),
|
||||
0x80990E4C:("func_80990E4C",),
|
||||
|
|
Loading…
Reference in New Issue