Skip to content

Commit

Permalink
Default to fullscreen on, tweak default window res
Browse files Browse the repository at this point in the history
It makes more sense as a game to start with fullscreen enabled. As for the default res,
it's unlikely to be used (only crops up if the saved resolution value is invalid), but
it makes sense to use a more modern widescreen resolution.
  • Loading branch information
Vultraz committed Feb 16, 2018
1 parent f773996 commit 5c9380e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/preferences/general.cpp
Expand Up @@ -67,8 +67,8 @@ namespace preferences {
const int min_window_width = 800;
const int min_window_height = 600;

const int def_window_width = 1024;
const int def_window_height = 768;
const int def_window_width = 1280;
const int def_window_height = 720;

const int min_font_scaling = 80;
const int max_font_scaling = 150;
Expand Down Expand Up @@ -395,7 +395,7 @@ bool maximized()

bool fullscreen()
{
return get("fullscreen", false);
return get("fullscreen", true);
}

void _set_resolution(const point& res)
Expand Down

0 comments on commit 5c9380e

Please sign in to comment.