Add support for saving animated icons

Add support for exporting animated DSi icons as GIF using the
header-only gif.h library.
This commit is contained in:
Rayyan Ansari
2023-11-23 18:48:05 +00:00
parent 544fefa27f
commit 679c37ddce
6 changed files with 942 additions and 29 deletions

View File

@ -62,11 +62,10 @@ void UndoStateLoad();
void EnableCheats(bool enable);
ARCodeFile* GetCheatFile();
void ROMIcon(const u8 (&data)[512], const u16 (&palette)[16], u32* iconRef);
void ROMIcon(const u8 (&data)[512], const u16 (&palette)[16], u32 (&iconRef)[32*32]);
void AnimatedROMIcon(const u8 (&data)[8][512], const u16 (&palette)[8][16],
const u16 (&sequence)[64], u32 (&animatedTexRef)[32 * 32 * 64],
const u16 (&sequence)[64], u32 (&animatedIconRef)[64][32*32],
std::vector<int> &animatedSequenceRef);
}
#endif // ROMMANAGER_H