mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-15 14:08:42 +00:00
Changed: Use invalid screen mode by default (will be overridden by config files)
This commit is contained in:
parent
ac85ab1d79
commit
382e31d347
1 changed files with 3 additions and 3 deletions
|
@ -295,8 +295,8 @@ CClientConfig::CClientConfig()
|
||||||
SelectedSlot = 0; // Default is slot 0
|
SelectedSlot = 0; // Default is slot 0
|
||||||
|
|
||||||
Windowed = false; // Default is windowed mode.
|
Windowed = false; // Default is windowed mode.
|
||||||
Width = 800; // Default Width for the window.
|
Width = 0; // Default Width for the window (0 = current screen resolution).
|
||||||
Height = 600; // Default Height for the window.
|
Height = 0; // Default Height for the window (0 = current screen resolution).
|
||||||
Depth = 32; // Default Bit per Pixel.
|
Depth = 32; // Default Bit per Pixel.
|
||||||
Driver3D = DrvAuto; // Select best driver depending on hardware.
|
Driver3D = DrvAuto; // Select best driver depending on hardware.
|
||||||
Contrast = 0.f; // Default Monitor Contrast.
|
Contrast = 0.f; // Default Monitor Contrast.
|
||||||
|
@ -1747,7 +1747,7 @@ void CClientConfig::setValues()
|
||||||
// Allow warning display only first time.
|
// Allow warning display only first time.
|
||||||
DisplayCFGWarning= false;
|
DisplayCFGWarning= false;
|
||||||
|
|
||||||
// If it is the load time, bkup the ClientCfg into LastClientCfg
|
// If it is the load time, backup the ClientCfg into LastClientCfg
|
||||||
if(firstTimeSetValues)
|
if(firstTimeSetValues)
|
||||||
LastClientCfg = ClientCfg;
|
LastClientCfg = ClientCfg;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue