Function TCOD_console_set_char_background

Function Documentation

void TCOD_console_set_char_background(TCOD_Console *con, int x, int y, TCOD_color_t col, TCOD_bkgnd_flag_t flag)

Blend a background color onto a console tile.

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.

  • col – The background color to blend.

  • flag – The blend mode to use.