Function TCOD_sys_update_char

Function Documentation

void TCOD_sys_update_char(int asciiCode, int font_x, int font_y, TCOD_image_t img, int x, int y)

Upload a tile to the active tileset.

asciiCode is the Unicode codepoint for this tile.

font_x and font_y are the tile-coordinates on the active tilemap.

img is the tile to upload.

x and y are the upper-left pixel-coordinates of the tile on the img.