Revamp texture caching system

This commit is contained in:
Chris Danford
2003-04-18 23:55:20 +00:00
parent 0fcd675396
commit 74d7bcd2bf
11 changed files with 216 additions and 63 deletions
@@ -157,6 +157,7 @@ void ScreenAppearanceOptions::ExportOptions()
int iSelectedTheme = m_iSelectedOption[0][AO_THEME];
CString sNewTheme = m_OptionRow[AO_THEME].choices[iSelectedTheme];
THEME->SwitchTheme( sNewTheme );
TEXTUREMAN->DoDelayedDelete(); // delete all textures that don't have references
int iSelectedSkin = m_iSelectedOption[0][AO_SKIN];
CString sNewSkin = m_OptionRow[AO_SKIN].choices[iSelectedSkin];