Added texture deposterization option

This commit is contained in:
Peter Thoman committed 2013-05-03 16:26:02 +02:00
1 parent ac9f271078
commit 3c2ee6bd65
7 files changed
+94 -9

No files matched your search

+2
View File
@@ -117,6 +117,7 @@ void Config::Load(const char *iniFileName)
#endif
graphics->Get("TexScalingLevel", &iTexScalingLevel, 1);
graphics->Get("TexScalingType", &iTexScalingType, 0);
graphics->Get("TexDeposterize", &bTexDeposterize, false);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Get("Enable", &bEnableSound, true);
@@ -200,6 +201,7 @@ void Config::Save()
graphics->Set("MipMap", bMipMap);
graphics->Set("TexScalingLevel", iTexScalingLevel);
graphics->Set("TexScalingType", iTexScalingType);
graphics->Set("TexDeposterize", bTexDeposterize);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Set("Enable", bEnableSound);