Function TCOD_context_new

Function Documentation

TCOD_Error TCOD_context_new(const TCOD_ContextParams *params, TCOD_Context **out)

Create a new context with the given parameters.

params is a non-NULL pointer to a TCOD_ContextParams struct. See its documentation for info on the parameters.

out is the output for the TCOD_Context, must not be NULL.

New in version 1.16.