Skip to content

Commit

Permalink
Increase default resolution to 1024x720 rather than 640x480
Browse files Browse the repository at this point in the history
Makes first impressions of the game a little better.
  • Loading branch information
perim committed Dec 4, 2016
1 parent 2beec76 commit 9b0fa9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/configuration.cpp
Expand Up @@ -152,9 +152,9 @@ bool loadConfig()
war_SetColouredCursor(ini.value("coloredCursor", true).toBool());
// this should be enabled on all systems by default
war_SetVsync(ini.value("vsync", true).toBool());
// 640x480 is minimum that we will support
int width = ini.value("width", 640).toInt();
int height = ini.value("height", 480).toInt();
// 640x480 is minimum that we will support, but default to something more sensible
int width = ini.value("width", 1024).toInt();
int height = ini.value("height", 720).toInt();
int screen = ini.value("screen", 0).toInt();
if (width < 640 || height < 480) // sanity check
{
Expand Down

4 comments on commit 9b0fa9e

@kaynix
Copy link

@kaynix kaynix commented on 9b0fa9e Dec 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may be 1024x768 ? (so ratio would be 4:3), if 720p so.... 1280x720

@perim
Copy link
Member Author

@perim perim commented on 9b0fa9e Dec 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yes, of course. Thanks!

@kaynix
Copy link

@kaynix kaynix commented on 9b0fa9e Dec 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw will you upscale GUI for new res ? I suppose its just x2 everywhere, or not ?

@perim
Copy link
Member Author

@perim perim commented on 9b0fa9e Dec 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The GUI elements do not scale.

Please sign in to comment.