Function TCOD_console_new

Function Documentation

TCOD_Console *TCOD_console_new(int w, int h)

Return a new console with a specific number of columns and rows.

Parameters
  • w – Number of columns.

  • h – Number of columns.

Returns

A pointer to the new console, or NULL on error.