summaryrefslogtreecommitdiff
path: root/include/item_icon.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-02-11 19:22:06 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2018-02-11 19:22:06 -0500
commitea347199a21f7a6c01a395e507db872ac1781e79 (patch)
tree625ec0a6469b40573d165ceee0855e969af45929 /include/item_icon.h
parentf39053ee3023b02139784f88d346b3b57853c307 (diff)
parent14a76793e596d612efd273169c4172922c270f13 (diff)
Merge branch 'master' into link
Diffstat (limited to 'include/item_icon.h')
-rw-r--r--include/item_icon.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/include/item_icon.h b/include/item_icon.h
index a43b72f39..b702b2045 100644
--- a/include/item_icon.h
+++ b/include/item_icon.h
@@ -1,17 +1,16 @@
-//
-// Created by scott on 10/20/2017.
-//
-
#ifndef GUARD_ITEM_ICON_H
#define GUARD_ITEM_ICON_H
-extern EWRAM_DATA void *gUnknown_0203CEBC;
-extern EWRAM_DATA void *gUnknown_0203CEC0;
+extern void *gItemIconDecompressionBuffer;
+extern void *gItemIcon4x4Buffer;
-extern const struct SpriteTemplate gUnknown_08614FF4;
+extern const struct SpriteTemplate gItemIconSpriteTemplate;
bool8 AllocItemIconTemporaryBuffers(void);
-void CopyItemIconPicTo4x4Buffer(void *src, void *dest);
void FreeItemIconTemporaryBuffers(void);
+void CopyItemIconPicTo4x4Buffer(const void *src, void *dest);
+u8 AddItemIconSprite(u16 tilesTag, u16 paletteTag, u16 itemId);
+u8 AddCustomItemIconSprite(struct SpriteTemplate *customSpriteTemplate, u16 tilesTag, u16 paletteTag, u16 itemId);
+const void *GetItemIconPicOrPalette(u16 itemId, u8 which);
#endif //GUARD_ITEM_ICON_H