Document function UpdateAnim

This commit is contained in:
Luciano Ciccariello 2023-02-12 10:58:18 +00:00
parent 173757031f
commit 0d8120f335
5 changed files with 7 additions and 6 deletions

View File

@ -894,6 +894,7 @@ DrawHudRichter = 0x80100750;
SetPolyRect = 0x80107330;
CopyMapOverlayCallback = 0x801074BC;
UpdateEntityAlucard = 0x8010A5BC;
UpdateAnim = 0x8010DDA0;
AccelerateX = 0x8010E390;
GetFreeDraEntity = 0x8011879C;
func_801315F8 = 0x801315F8;

View File

@ -608,7 +608,7 @@ typedef struct {
/* 8003C7BC */ void (*CheckCollision)(s32 x, s32 y, CollisionResult* res,
s32 unk);
/* 8003C7C0 */ void (*func_80102CD8)(s32 arg0);
/* 8003C7C4 */ void* func_8010DDA0;
/* 8003C7C4 */ void (*UpdateAnim)(FrameProperty* frameProps, s32* arg1);
/* 8003C7C8 */ void (*AccelerateX)(s32 value);
/* 8003C7CC */ Entity* (*GetFreeDraEntity)(s16 start, s16 end);
/* 8003C7D0 */ void* func_800FE728;

View File

@ -1143,9 +1143,9 @@ INCLUDE_ASM("asm/dra/nonmatchings/5D874", func_8010DB38);
INCLUDE_ASM("asm/dra/nonmatchings/5D874", func_8010DBFC);
#ifndef NON_EQUIVALENT
INCLUDE_ASM("asm/dra/nonmatchings/5D874", func_8010DDA0);
INCLUDE_ASM("asm/dra/nonmatchings/5D874", UpdateAnim);
#else
void func_8010DDA0(FrameProperty* frameProps, s32* arg1) {
void UpdateAnim(FrameProperty* frameProps, s32* arg1) {
AnimationFrame* animFrame;
s8* frameProp;
if (g_CurrentEntity->animFrameDuration == -1) {

View File

@ -364,7 +364,7 @@ loop_1: // !FAKE: this should be a for loop
func_80106590(entity);
goto label;
} else if (entity->unk34 & 0x100000) {
func_8010DDA0(NULL, &D_800ACFB4);
UpdateAnim(NULL, D_800ACFB4);
}
}
}

View File

@ -138,7 +138,7 @@ extern Unkstruct_800ACEC6 D_800ACEC6;
extern u8 D_800ACF4C[];
extern s16 D_800ACF8A[]; // collection of sounds?
extern s16 D_800ACF60[]; // collection of sounds?
extern s32 D_800ACFB4;
extern s32 D_800ACFB4[];
extern s32 D_800ADC44;
extern s32 D_800AE270[];
extern s32* D_800AE294; // might not really be a pointer
@ -480,7 +480,7 @@ void func_801073C0(void);
void func_801092E8(s32);
void SetPolyRect(POLY_GT4* poly, s32 x, s32 y, s32 width, s32 height);
void func_8010D584(s16 arg0);
void func_8010DDA0(FrameProperty* frameProps, s32*);
void UpdateAnim(FrameProperty* frameProps, s32*);
void func_8010DFF0(s32, s32);
void func_8010E0A8(void);
void func_8010E0B8(void);