Function TCOD_context_new¶
Defined in File context_init.h
Function Documentation¶
-
TCOD_Error TCOD_context_new(const TCOD_ContextParams *params, TCOD_Context **out)
Create a new context with the given parameters.
paramsis a non-NULL pointer to a TCOD_ContextParams struct. See its documentation for info on the parameters.outis the output for theTCOD_Context, must not be NULL.Added in version 1.16.