changeResolution

Changes the resolution of the game. This should preferebly only be of the following resolutions: 800x600, 1024x768 or 1280x720. However any resolutions are acceptable but may have side-effects attached such as invalid rendering etc. All set resolutions are saved to a res.ini file in the data folder allowing for resolutions to be kept across instances of the game.

void
changeResolution
(
size_t width
,
size_t height
,)

Parameters

width size_t

The width of the resolution.

height size_t

The height of the resolution.

fullScreen bool

A boolean determining whether the game is full-screen or not.

Meta