Function tcod::new_context(const TCOD_ContextParams&)¶
Defined in File context_init.h
Function Documentation¶
-
inline auto tcod::new_context(const TCOD_ContextParams ¶ms) -> ContextPtr
Initialize and return a new libtcod context.
- Parameters
params – Options to configure the new context with.
- Returns
ContextPtr A pointer to the new context.
New in version 1.19.