mirror of
https://github.com/FireEmblemUniverse/fireemblem8u.git
synced 2024-11-26 22:50:45 +00:00
51 lines
1.8 KiB
C
51 lines
1.8 KiB
C
#ifndef GUARD_BM_UDISP_H
|
|
#define GUARD_BM_UDISP_H
|
|
|
|
#define UNITSPRITE_MAX 0xD0
|
|
#define UNITSPRITE_ID_BITS 7
|
|
|
|
// ??? sub_8026618(???);
|
|
void ApplyUnitSpritePalettes(void);
|
|
// ??? sub_8026670(???);
|
|
void ResetUnitSprites(void);
|
|
// ??? ResetUnitSpritesB(???);
|
|
int StartUiSMS(int smsId, int frameId);
|
|
int StartWorldMapSMS(int smsId, int frameId, int slot);
|
|
int UseUnitSprite(u32);
|
|
int ApplyUnitSpriteUiImage16x16(int, u32);
|
|
int ApplyUnitSpriteImage16x16(int, u32);
|
|
int ApplyUnitSpriteImage16x32(int, u32);
|
|
int ApplyUnitSpriteImage32x32(int, u32);
|
|
void TornOutUnitSprite(struct Unit * unit, int time);
|
|
void SyncUnitSpriteSheet(void);
|
|
void ForceSyncUnitSpriteSheet(void);
|
|
void sub_8026FF4(int id, u8* ptr);
|
|
void SetStandingMuFacing(int id, u8* ptr);
|
|
void SetStandingMuFacingWM(int frameId, u8* dst);
|
|
int GetUnitDisplayedSpritePalette(const struct Unit * unit);
|
|
int GetUnitSpritePalette(const struct Unit* unit);
|
|
void RefreshUnitSprites(void);
|
|
struct SMSHandle * AddUnitSprite(int);
|
|
void PutUnitSpritesOam(void);
|
|
// ??? PutChapterMarkedTileIconOam(???);
|
|
void PutUnitSpriteIconsOam(void);
|
|
// ??? sub_8027A30(???);
|
|
void ResetUnitSpriteHover(void);
|
|
void UnitSpriteHoverUpdate(void);
|
|
s8 IsUnitSpriteHoverEnabledAt(int, int);
|
|
void PutUnitSprite(int, int, int, struct Unit*);
|
|
void PutUnitSpriteForClassId(int layer, int x, int y, u16 oam2, int class);
|
|
// ??? sub_8027CFC(???);
|
|
void sub_8027DB4(int layer, int x, int y, u16 oam2base, int classId, int id);
|
|
void sub_8027E4C(int layer, int x, int y, int oam2, struct Unit* unit);
|
|
// void SMS_DisplayOne(int class, int layer, int x, int y, int oam2, s8 isBlend);
|
|
void PutBlendWindowUnitSprite(int, int, int, int, struct Unit*);
|
|
// ??? sub_8028100(???);
|
|
void HideUnitSprite(struct Unit* unit);
|
|
void ShowUnitSprite(struct Unit* unit);
|
|
u8 GetUnitSpriteHideFlag(struct Unit*);
|
|
// ??? sub_8028160(???);
|
|
|
|
|
|
#endif // GUARD_BM_UDISP_H
|