Added GL cel shading option for models

This commit is contained in:
Kevin Slaughter
2004-06-18 11:02:40 +00:00
parent 2102a978b6
commit b3f1d8f874
6 changed files with 78 additions and 71 deletions
+3 -3
View File
@@ -41,7 +41,7 @@ void PrefsManager::Init()
m_iMaxTextureResolution = 2048;
m_iRefreshRate = REFRESH_DEFAULT;
m_bOnlyDedicatedMenuButtons = false;
m_bCelShadeDancers = false; // Work-In-Progress.. disable by default.
m_bCelShadeModels = false; // Work-In-Progress.. disable by default.
#ifdef DEBUG
m_bShowStats = true;
#else
@@ -332,7 +332,7 @@ void PrefsManager::ReadPrefsFromFile( CString sIni )
ini.GetValue( "Options", "ScreenWidth", m_fScreenWidth );
ini.GetValue( "Options", "ScreenHeight", m_fScreenHeight );
#endif
ini.GetValue( "Options", "CelShadeDancers", m_bCelShadeDancers );
ini.GetValue( "Options", "CelShadeModels", m_bCelShadeModels );
ini.GetValue( "Options", "DisplayWidth", m_iDisplayWidth );
ini.GetValue( "Options", "DisplayHeight", m_iDisplayHeight );
ini.GetValue( "Options", "DisplayColorDepth", m_iDisplayColorDepth );
@@ -564,7 +564,7 @@ void PrefsManager::SaveGlobalPrefsToDisk() const
IniFile ini;
ini.SetValue( "Options", "Windowed", m_bWindowed );
ini.SetValue( "Options", "CelShadeDancers", m_bCelShadeDancers );
ini.SetValue( "Options", "CelShadeModels", m_bCelShadeModels );
ini.SetValue( "Options", "DisplayWidth", m_iDisplayWidth );
ini.SetValue( "Options", "DisplayHeight", m_iDisplayHeight );
ini.SetValue( "Options", "DisplayColorDepth", m_iDisplayColorDepth );