|
libtcod
|
Context initialization module. More...
Go to the source code of this file.
Namespaces | |
| namespace | tcod |
| The libtcod namespace. | |
Functions | |
| TCOD_Error | TCOD_context_new (const TCOD_ContextParams *params, TCOD_Context **out) |
| Create a new context with the given parameters. | |
| auto | tcod::new_context (const TCOD_ContextParams ¶ms, TCOD_Error &out_code) -> ContextPtr |
| Initialize and return a new libtcod context. | |
| auto | tcod::new_context (const TCOD_ContextParams ¶ms) -> ContextPtr |
| Initialize and return a new libtcod context. | |
Context initialization module.
| 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.
embed:rst:leading-asterisk .. versionadded:: 1.16