Function TCOD_console_set_fade

Function Documentation

void TCOD_console_set_fade(uint8_t val, TCOD_color_t fade_color)

Fade the color of the display.

Parameters
  • val – Where at 255 colors are normal and at 0 colors are completely faded.

  • fade_color – Color to fade towards.

    Deprecated since version 1.19: This function will not work with libtcod contexts.