Function TCOD_sys_update_char¶
Defined in File sys.h
Function Documentation¶
-
void TCOD_sys_update_char(int asciiCode, int font_x, int font_y, const TCOD_Image *img, int x, int y)¶
Upload a tile to the active tileset.
asciiCodeis the Unicode codepoint for this tile.font_xandfont_yare the tile-coordinates on the active tilemap.imgis the tile to upload.xandyare the upper-left pixel-coordinates of the tile on theimg.