Function TCOD_console_load_xp

Function Documentation

bool TCOD_console_load_xp(TCOD_Console *con, const char *filename)

Update a console from a REXPaint .xp file.

In C++, you can pass the filepath directly to the :any:TCODConsole constructor to load a REXPaint file.

Parameters
  • con[out] A console instance to update from the REXPaint file.

  • filename[in] A path to the REXPaint file.