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.
params
is a non-NULL pointer to a TCOD_ContextParams struct. See its documentation for info on the parameters.out
is the output for theTCOD_Context
, must not be NULL.New in version 1.16.