pokeemerald/include/text_window.h

23 lines
780 B
C
Raw Normal View History

2017-09-01 17:43:26 +00:00
#ifndef GUARD_TEXT_WINDOW_H
#define GUARD_TEXT_WINDOW_H
struct TilesPal
{
2017-12-09 20:23:40 +00:00
u32 *tiles;
u16 *pal;
2017-09-01 17:43:26 +00:00
};
2018-01-16 17:59:06 +00:00
const struct TilesPal* GetWindowFrameTilesPal(u8 id);
2017-09-01 17:43:26 +00:00
void copy_textbox_border_tile_patterns_to_vram(u8 windowId, u16 destOffset, u8 palOffset);
void sub_809882C(u8 windowId, u16 destOffset, u8 palOffset);
void sub_80987D4(u8 windowId, u8 frameId, u16 destOffset, u8 palOffset);
void box_border_load_tiles_and_pal(u8 windowId, u16 destOffset, u8 palOffset);
void sub_8098858(u8 windowId, u16 tileNum, u8 palNum);
void sub_80989E0(u8 windowId, u16 tileNum, u8 palNum);
void rbox_fill_rectangle(u8 windowId);
const u16* stdpal_get(u8 id);
2017-11-08 17:05:47 +00:00
const u16* GetOverworldTextboxPalettePtr(void);
2017-09-01 17:43:26 +00:00
void sub_8098C6C(u8 bg, u16 destOffset, u8 palOffset);
#endif // GUARD_TEXT_WINDOW_H