Commit b2cc3bdc authored by Romain Bignon's avatar Romain Bignon

enable fullscreen and high resolution by default on win32

parent 0e5b18c9
......@@ -74,15 +74,12 @@ bool Config::set_defaults(bool want_save)
port = 5460;
#ifdef WIN32
nick = getenv("USERNAME");
screen_width = 800;
screen_height = 600;
fullscreen = false;
#else
nick = getenv("USER");
#endif
screen_width = 1024;
screen_height = 768;
fullscreen = true;
#endif
color = 0;
nation = 0;
server_list.clear();
......@@ -473,9 +470,6 @@ TConfigForm::TConfigForm(ECImage *w)
Resolution->AddItem(false, TypToStr(resolutions[i].w) + "x" + TypToStr(resolutions[i].h), "");
FullScreen = AddComponent(new TCheckBox(Font::GetInstance(Font::Normal), 300, 365, _("Fullscreen"), white_color));
#ifdef WIN32
FullScreen->Hide();
#endif
Music = AddComponent(new TCheckBox(Font::GetInstance(Font::Normal), 300, 385, _("Music"), white_color));
Music->SetHint(_("If this is active, music files are in this directory:\n\n") +
std::string(PKGDATADIR_SOUND INGAME_MUSIC));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment