Default to 1024x768 for new users, not 640x480
640x480 is too small to render some dialogs correctly, and is much smaller than even a small laptop screen. Smaller resolutions are still supported, if the user chooses to switch.
This commit is contained in:
parent
11d7344625
commit
4a8d7c7574
|
@ -128,8 +128,8 @@ int ReadConfigFile()
|
||||||
CGameCfg.GammaLevel = 0;
|
CGameCfg.GammaLevel = 0;
|
||||||
GameCfg.LastPlayer = {};
|
GameCfg.LastPlayer = {};
|
||||||
CGameCfg.LastMission = "";
|
CGameCfg.LastMission = "";
|
||||||
GameCfg.ResolutionX = 640;
|
GameCfg.ResolutionX = 1024;
|
||||||
GameCfg.ResolutionY = 480;
|
GameCfg.ResolutionY = 768;
|
||||||
GameCfg.AspectX = 3;
|
GameCfg.AspectX = 3;
|
||||||
GameCfg.AspectY = 4;
|
GameCfg.AspectY = 4;
|
||||||
CGameCfg.WindowMode = false;
|
CGameCfg.WindowMode = false;
|
||||||
|
|
|
@ -187,7 +187,9 @@ void reset_palette_add()
|
||||||
PaletteBlueAdd = 0;
|
PaletteBlueAdd = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
screen_mode Game_screen_mode{640, 480};
|
constexpr screen_mode initial_small_game_screen_mode{320, 200};
|
||||||
|
constexpr screen_mode initial_large_game_screen_mode{1024, 768};
|
||||||
|
screen_mode Game_screen_mode = initial_large_game_screen_mode;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -211,7 +213,7 @@ void init_cockpit()
|
||||||
#if defined(DXX_BUILD_DESCENT_II)
|
#if defined(DXX_BUILD_DESCENT_II)
|
||||||
int HiresGFXAvailable = !GameArg.GfxSkipHiresGFX;
|
int HiresGFXAvailable = !GameArg.GfxSkipHiresGFX;
|
||||||
#endif
|
#endif
|
||||||
auto full_screen_mode = HiresGFXAvailable ? screen_mode{640, 480} : screen_mode{320, 200};
|
auto full_screen_mode = HiresGFXAvailable ? initial_large_game_screen_mode : initial_small_game_screen_mode;
|
||||||
if (Game_screen_mode != full_screen_mode) {
|
if (Game_screen_mode != full_screen_mode) {
|
||||||
PlayerCfg.CockpitMode[1] = CM_FULL_SCREEN;
|
PlayerCfg.CockpitMode[1] = CM_FULL_SCREEN;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue