NDSummary.OnToolTipsLoaded("File:tile.h",{826:"
Bank managment functions.
",827:"
inline void Tile_SetBankPage(
u8 page
)
Set page number where pattern are located in VRAM. Must be called before load data there.
",828:"
void Tile_LoadBankEx(
u8 bank,
const u8* data,
u16 offset,
u16 num
)
Load data to the given bank (in the selected page ; see Tile_SetBankPage).
",829:"
inline u32 Tile_GetBankAddressEx(
u8 bank,
u16 offset
)
Get the VRAM address at a given offset in a given bank.
",830:"
Get the VRAM start address of a given bank.
",831:"
inline void Tile_LoadBank(
u8 bank,
const u8* data,
u16 num
)
Load data to the given bank (in the selected page ; see Tile_SetBankPage).
",832:"
inline void Tile_FillBank(
u8 bank,
u8 value
)
Fill the whole bank with the given color.
",833:"
Tiles draw functions.
",834:"
inline void Tile_SelectBank(
u8 bank
)
Set current pattern bank. Must be called at least once before using drawing functions.
",835:"
inline void Tile_SetDrawPage(
u8 page
)
Set page number where to draw in VRAM. Must be called at least once before using drawing functions.
",836:"
inline void Tile_DrawTile(
u8 x,
u8 y,
u8 tile
)
Draw a tile at the given coordinate.
",837:"
inline void Tile_FillTile(
u8 x,
u8 y,
u8 color
)
Fill a cell at the given position with the given color.
",838:"
void Tile_DrawMapChunk(
u8 x,
u8 y,
const u8* map,
u8 width,
u8 height
)
Drawn a chunk of tilemap at a given coordinate.
",839:"
inline void Tile_DrawBlock(
u8 dx,
u8 dy,
u8 sx,
u8 sy,
u8 width,
u8 height
)
Drawn a block of tilemap at a given coordinate.
",840:"
void Tile_DrawScreen(
const u8* map
)
Draw a whole screen with using a tilemap.
",841:"
inline void Tile_FillScreen(
u8 color
)
Fill the screen with the given color.
"});