Skip to content

Commit

Permalink
Display in 640x480 with music for first run without configuration file (
Browse files Browse the repository at this point in the history
#42)

close #25
close #12
  • Loading branch information
ihhub committed Sep 9, 2019
1 parent 9a02d31 commit c05cde8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fheroes2/system/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ std::string Settings::GetVersion(void)
}

/* constructor */
Settings::Settings() : debug(DEFAULT_DEBUG), video_mode(0, 0), game_difficulty(Difficulty::NORMAL),
Settings::Settings() : debug(DEFAULT_DEBUG), video_mode(640, 480), game_difficulty(Difficulty::NORMAL),
font_normal("dejavusans.ttf"), font_small("dejavusans.ttf"), size_normal(15), size_small(10),
sound_volume(6), music_volume(6), heroes_speed(DEFAULT_SPEED_DELAY), ai_speed(DEFAULT_SPEED_DELAY), scroll_speed(SCROLL_NORMAL), battle_speed(DEFAULT_SPEED_DELAY),
blit_speed(0), game_type(0), preferably_count_players(0), port(DEFAULT_PORT), memory_limit(0)
Expand All @@ -224,6 +224,7 @@ Settings::Settings() : debug(DEFAULT_DEBUG), video_mode(0, 0), game_difficulty(D
opt_global.SetModes(GLOBAL_SHOWICONS);
opt_global.SetModes(GLOBAL_SHOWBUTTONS);
opt_global.SetModes(GLOBAL_SHOWSTATUS);
opt_global.SetModes(GLOBAL_MUSIC_MIDI);
if(System::isEmbededDevice())
{
opt_global.SetModes(GLOBAL_POCKETPC);
Expand Down

0 comments on commit c05cde8

Please sign in to comment.