Function TCOD_console_put_rgb

Function Documentation

void TCOD_console_put_rgb(TCOD_Console *console, int x, int y, int ch, const TCOD_color_t *fg, const TCOD_color_t *bg, TCOD_bkgnd_flag_t flag)

Place a single tile on a console at x,y.

If ch is 0 then the character code will not be updated.

If fg,bg is NULL then their respective colors will not be updated.