Add option fullscreen , make default to false
This commit is contained in:
parent
cb67e0439a
commit
b74b215f34
3 changed files with 5 additions and 2 deletions
|
@ -69,6 +69,7 @@ void CConfig::Load(const char *iniFileName)
|
|||
graphics->Get("VBO", &bUseVBO, false);
|
||||
graphics->Get("DisableG3DLog", &bDisableG3DLog, false);
|
||||
graphics->Get("VertexCache", &bVertexCache, true);
|
||||
graphics->Get("FullScreen", &bFullScreen, false);
|
||||
|
||||
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
|
||||
sound->Get("Enable", &bEnableSound, true);
|
||||
|
@ -122,6 +123,7 @@ void CConfig::Save()
|
|||
graphics->Set("VBO", bUseVBO);
|
||||
graphics->Set("DisableG3DLog", bDisableG3DLog);
|
||||
graphics->Set("VertexCache", bVertexCache);
|
||||
graphics->Set("FullScreen", bFullScreen);
|
||||
|
||||
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
|
||||
sound->Set("Enable", bEnableSound);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue