Function TCOD_console_put_char_ex

Function Documentation

void TCOD_console_put_char_ex(TCOD_Console *con, int x, int y, int c, TCOD_color_t fore, TCOD_color_t back)

Draw a character on the console with the given colors.

Parameters
  • con – A console pointer.

  • x – The X coordinate, the left-most position being 0.

  • y – The Y coordinate, the top-most position being 0.

  • c – The character code to place.

  • fore – The foreground color.

  • back – The background color. This color will not be blended.