- remove vid_tft and vid_nowidescreen and associated menu option. Their functionality was supersceded and extended by vid_aspect==3 (which has the same effect as setting both to true anyhow), and it was mostly just redundant.

This commit is contained in:
Rachael Alexanderson 2017-10-10 06:38:07 -04:00
commit fc0ae896b2
3 changed files with 0 additions and 64 deletions

View file

@ -1592,16 +1592,6 @@ void V_Shutdown()
V_ClearFonts();
}
EXTERN_CVAR (Bool, vid_tft)
CUSTOM_CVAR (Bool, vid_nowidescreen, false, CVAR_GLOBALCONFIG|CVAR_ARCHIVE)
{
setsizeneeded = true;
if (StatusBar != NULL)
{
StatusBar->CallScreenSizeChanged();
}
}
CUSTOM_CVAR (Int, vid_aspect, 0, CVAR_GLOBALCONFIG|CVAR_ARCHIVE)
{
setsizeneeded = true;
@ -1632,17 +1622,6 @@ int ActiveFakeRatio(int width, int height)
{
fakeratio = 0;
}
if (vid_nowidescreen)
{
if (!vid_tft)
{
fakeratio = 0;
}
else
{
fakeratio = (height * 5 / 4 == width) ? 4 : 0;
}
}
return fakeratio;
}