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