mm
mm copied to clipboard
Player preparation 1
This PR brings over some changes in preparation for player_actor, mainly stuff used outside of the overlay itself.
- New player enums:
PlayerDoorType,PlayerModelGroup,PlayerLimb,PlayerBodyPart,PlayerCsMode,PlayerInitMode PlayerAnimationFrame: Represents one frame of animation of player. This is added because player animations are kinda special and are not plain Vec3s but have an extra member for the face info.- Some Player members were named
- Many forward function declaration added to
functions.hand some other fixes. - Named functions:
func_800B75A0->Actor_GetSlopeDirection: This function was part ofz_player.con OoT but moved toz_actor.con MM.func_800B90F4->Actor_DeactivateLens
- Start using some player enum types on some player related functions when it still matches.
- Change SkelAnime functions related to player animations to take a
void*instead of aVec3s*for jointTable and morphTable - Add placeholders to the
ItemId,GetItemID,GetItemDrawID,PlayerActionParamenums - Add
alignment.hheader
I'm opening this PR as a draft because m2c currently does not like PLAYER_LIMB_BUF_SIZE. See discussion here: https://discord.com/channels/688807550715560050/703351323445428306/1013302791239893123
I'll undraft this since m2c updated and now the macro is not a problem anymore