Decompile modelConstrainOrWrapAnimFrame

This commit is contained in:
Ryan Dwyer
2021-04-30 17:02:55 +10:00
parent e5342ff0d7
commit 0471a2fafd
4 changed files with 37 additions and 154 deletions
+2 -1
View File
@@ -293,7 +293,8 @@
#define ANIM_SKEDAR_JUMPAIR 0x0385
#define ANIM_SKEDAR_RUNNING 0x0394
#define ANIMFLAG_02 0x02
#define ANIMFLAG_LOOP 0x01
#define ANIMFLAG_02 0x02
#define AUDIOCHANNELFLAG_IDLE 0x0001
#define AUDIOCHANNELFLAG_0002 0x0002
+1 -1
View File
@@ -57,7 +57,7 @@ f32 modelGetAnimEndFrame(struct model *model);
s32 modelGetNumAnimFrames(struct model *model);
f32 modelGetAnimSpeed(struct model *model);
f32 modelGetAbsAnimSpeed(struct model *model);
u32 func0001d320(void);
s32 modelConstrainOrWrapAnimFrame(s32 arg0, s16 arg1, f32 arg2);
void modelCopyAnimForMerge(struct model *model, f32 arg1);
void func0001d62c(struct model *model, s16 animnum, s32 flip, f32 fstartframe, f32 speed, f32 arg5);
bool modelIsAnimMerging(struct model *model);
-8
View File
@@ -6019,14 +6019,6 @@ struct modelthing {
/*0x16*/ u16 unk16;
};
struct g_Anims {
u32 unk00;
u32 unk04;
u16 unk08;
u8 unk0a;
u8 unk0b;
};
struct animheader {
/*0x00*/ u16 numframes;
/*0x02*/ u16 framelen; // in bytes