2023-08-06 07:10:51 +00:00
|
|
|
#ifndef GUARD_SPRITE_H
|
|
|
|
#define GUARD_SPRITE_H
|
|
|
|
|
2024-09-22 12:48:27 +00:00
|
|
|
#include "structs/axdata.h"
|
2023-08-12 15:57:50 +00:00
|
|
|
#include "ground_sprite.h"
|
2023-09-21 02:26:35 +00:00
|
|
|
#include "structs/str_position.h"
|
2023-08-26 14:29:55 +00:00
|
|
|
#include "sprite_oam.h"
|
2023-08-11 14:35:00 +00:00
|
|
|
|
2023-08-11 10:24:48 +00:00
|
|
|
// size: 0x8
|
2023-09-02 05:46:26 +00:00
|
|
|
typedef struct UnkSpriteLink
|
2023-08-11 10:24:48 +00:00
|
|
|
{
|
|
|
|
struct UnkSpriteLink *unk0;
|
2023-09-02 05:46:26 +00:00
|
|
|
SpriteOAM *unk4;
|
|
|
|
} UnkSpriteLink;
|
2023-08-11 10:34:31 +00:00
|
|
|
|
2023-08-11 10:24:48 +00:00
|
|
|
// size: 0x808
|
2023-09-02 05:46:26 +00:00
|
|
|
typedef struct SpriteList
|
2023-08-11 10:24:48 +00:00
|
|
|
{
|
2023-09-02 05:46:26 +00:00
|
|
|
UnkSpriteLink sprites[256];
|
2023-08-11 10:24:48 +00:00
|
|
|
u32 unk800;
|
|
|
|
u32 unk804;
|
2023-09-02 05:46:26 +00:00
|
|
|
} SpriteList;
|
2023-08-11 10:24:48 +00:00
|
|
|
|
2023-08-15 10:47:56 +00:00
|
|
|
// size: 0xC
|
2023-09-02 05:46:26 +00:00
|
|
|
typedef struct unkStruct_20266B0
|
2023-08-15 10:47:56 +00:00
|
|
|
{
|
|
|
|
/* 0x0 */ s32 byteCount;
|
|
|
|
/* 0x4 */ void *src;
|
|
|
|
/* 0x8 */ void *dest;
|
2023-09-02 05:46:26 +00:00
|
|
|
} unkStruct_20266B0;
|
2023-08-15 10:47:56 +00:00
|
|
|
|
2023-09-02 11:43:05 +00:00
|
|
|
void AddSprite(SpriteOAM *, s32, UnkSpriteMem *, unkStruct_2039DB0 *);
|
2023-08-11 17:53:04 +00:00
|
|
|
void BlinkSavingIcon(void);
|
2023-08-11 16:13:01 +00:00
|
|
|
void CopySpritesToOam(void);
|
2023-08-06 07:10:51 +00:00
|
|
|
void InitSprites(void);
|
2023-08-11 10:24:48 +00:00
|
|
|
void ResetSprites(bool8);
|
2024-11-12 15:08:43 +00:00
|
|
|
void SetSavingIconCoords(DungeonPos *);
|
2023-09-02 11:43:05 +00:00
|
|
|
void sub_8004E8C(unkStruct_2039DB0 *);
|
2023-08-11 14:38:45 +00:00
|
|
|
void sub_8005180(void);
|
2023-08-15 10:47:56 +00:00
|
|
|
void sub_8005304(void);
|
2023-09-02 05:46:26 +00:00
|
|
|
void sub_800533C(ax_pose **, UnkSpriteMem **, axdata1 *, u16 *, bool8);
|
2024-09-26 20:52:56 +00:00
|
|
|
void AxResInitFile(axdata *, OpenedFile *, u32, u32, u32, u32, bool8);
|
|
|
|
void AxResInit(axdata *, axmain *, u32, u32, u32, u32, bool8);
|
|
|
|
void AxResInitUnorientedFile(axdata *, OpenedFile *, u32, u32, u32, bool8);
|
2024-10-28 18:58:00 +00:00
|
|
|
void RunAxAnimationFrame(struct axObject *);
|
2023-08-06 07:10:51 +00:00
|
|
|
|
2024-09-22 12:38:40 +00:00
|
|
|
#endif // GUARD_SPRITE_H
|