Rename remapped anim frames to repeat anim frames and improve documentation

This commit is contained in:
Ryan Dwyer
2022-12-04 13:57:04 +10:00
parent ac256277d2
commit 45524f06b2
6 changed files with 110 additions and 88 deletions
+4 -4
View File
@@ -247,10 +247,10 @@
#define AMMODE_VIEW 1
#define AMMODE_EDIT 2 // unused
#define ANIMFLAG_LOOP 0x01
#define ANIMFLAG_02 0x02
#define ANIMFLAG_HASREMAPPEDFRAMES 0x04
#define ANIMFLAG_HASCUTSKIPFRAMES 0x08
#define ANIMFLAG_LOOP 0x01
#define ANIMFLAG_ABSOLUTETRANSLATION 0x02
#define ANIMFLAG_HASREPEATFRAMES 0x04
#define ANIMFLAG_HASCUTSKIPFRAMES 0x08
#define ANIMFIELD_S16_ROTATE 0x01
#define ANIMFIELD_S16_TRANSLATE 0x02
+1 -1
View File
@@ -12,7 +12,7 @@ bool animHasFrames(s16 animnum);
s32 animGetNumAnimations(void);
u8 *animDma(u8 *dst, u32 segoffset, u32 len);
s32 animGetRemappedFrame(s16 animnum, s32 frame);
bool animRemapFrame(s16 animnum, s32 frame, s32 *frameptr);
bool animRemapFrameForLoad(s16 animnum, s32 frame, s32 *frameptr);
bool animIsFrameCutSkipped(s16 animnum, s32 frame);
u8 animLoadFrame(s16 animnum, s32 framenum);
void animForgetFrameBirths(void);