Function TCOD_context_recommended_console_size¶
Defined in File context.h
Function Documentation¶
-
TCOD_Error TCOD_context_recommended_console_size(struct TCOD_Context *context, float magnification, int *columns, int *rows)
Set
columns
androws
to the recommended console size for this context.magnification
determines the apparent size of the tiles on the output. Values of 0.0f or lower will default to 1.0f.New in version 1.16.