Function TCOD_console_from_xp¶
Defined in File console_rexpaint.h
Function Documentation¶
-
TCOD_Console *TCOD_console_from_xp(const char *filename)
Return a new console loaded from a REXPaint
.xpfile.- Parameters:
filename – [in] A path to the REXPaint file.
- Returns:
A new TCOD_Console* object. New consoles will need to be deleted with a call to TCOD_console_delete. Returns NULL on an error.