Function TCOD_console_print

Function Documentation

void TCOD_console_print(TCOD_Console *con, int x, int y, const char *fmt, ...)

Print a string on a console, using default colors and alignment.

Parameters
  • con – A console pointer.

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

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

  • fmt – A format string as if passed to printf.

  • ... – Variadic arguments as if passed to printf.