f3bebcd12c
# Conflicts: # include/battle_anim.h # include/global.h # include/pokemon.h # src/battle_message.c # src/battle_script_commands.c # src/data/pokemon/base_stats.h
30 lines
1.3 KiB
C
30 lines
1.3 KiB
C
#ifndef GUARD_DECOMPRESS_H
|
|
#define GUARD_DECOMPRESS_H
|
|
|
|
#include "sprite.h"
|
|
|
|
extern u8 gDecompressionBuffer[0x4000];
|
|
|
|
void LZDecompressWram(const u32 *src, void *dest);
|
|
void LZDecompressVram(const u32 *src, void *dest);
|
|
|
|
u16 LoadCompressedSpriteSheet(const struct CompressedSpriteSheet *src);
|
|
void LoadCompressedSpriteSheetOverrideBuffer(const struct CompressedSpriteSheet *src, void *buffer);
|
|
bool8 LoadCompressedSpriteSheetUsingHeap(const struct CompressedSpriteSheet* src);
|
|
|
|
void LoadCompressedSpritePalette(const struct CompressedSpritePalette *src);
|
|
void LoadCompressedSpritePaletteOverrideBuffer(const struct CompressedSpritePalette *src, void *buffer);
|
|
bool8 LoadCompressedSpritePaletteUsingHeap(const struct CompressedSpritePalette *src);
|
|
|
|
void DecompressPicFromTable(const struct CompressedSpriteSheet *src, void* buffer, s32 species);
|
|
|
|
void DecompressPicFromTableGender(void* buffer, s32 species, u32 personality);
|
|
|
|
void HandleLoadSpecialPokePic(const struct CompressedSpriteSheet *src, void *dest, s32 species, u32 personality);
|
|
void HandleLoadSpecialPokePicCustom(const struct CompressedSpriteSheet *src, void *dest, s32 species, u32 personality, bool8 isFemale);
|
|
|
|
void LoadSpecialPokePic(const struct CompressedSpriteSheet *src, void *dest, s32 species, u32 personality, bool8 isFrontPic);
|
|
|
|
u32 GetDecompressedDataSize(const u32 *ptr);
|
|
|
|
#endif // GUARD_DECOMPRESS_H
|