Function tcod::new_context(const TCOD_ContextParams&)

Function Documentation

inline auto tcod::new_context(const TCOD_ContextParams &params) -> 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.