pmd-red/include/sprite.h

48 lines
1.2 KiB
C
Raw Normal View History

#ifndef GUARD_SPRITE_H
#define GUARD_SPRITE_H
2024-09-22 12:48:27 +00:00
#include "structs/axdata.h"
#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
typedef struct UnkSpriteLink
2023-08-11 10:24:48 +00:00
{
struct UnkSpriteLink *unk0;
SpriteOAM *unk4;
} UnkSpriteLink;
2023-08-11 10:34:31 +00:00
2023-08-11 10:24:48 +00:00
// size: 0x808
typedef struct SpriteList
2023-08-11 10:24:48 +00:00
{
UnkSpriteLink sprites[256];
2023-08-11 10:24:48 +00:00
u32 unk800;
u32 unk804;
} SpriteList;
2023-08-11 10:24:48 +00:00
// size: 0xC
typedef struct unkStruct_20266B0
{
/* 0x0 */ s32 byteCount;
/* 0x4 */ void *src;
/* 0x8 */ void *dest;
} unkStruct_20266B0;
2023-09-02 11:43:05 +00:00
void AddSprite(SpriteOAM *, s32, UnkSpriteMem *, unkStruct_2039DB0 *);
void BlinkSavingIcon(void);
2023-08-11 16:13:01 +00:00
void CopySpritesToOam(void);
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);
void sub_8005304(void);
void sub_800533C(ax_pose **, UnkSpriteMem **, axdata1 *, u16 *, bool8);
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);
void RunAxAnimationFrame(struct axObject *);
2024-09-22 12:38:40 +00:00
#endif // GUARD_SPRITE_H