- reinstate 320x200 with the following caveat: it only functions outside of menus and console, and only when the dialogues and logs use the default font, the game will temporarily switch to 640x400 in these situations
This commit is contained in:
parent
510a121b62
commit
4ff8922006
4 changed files with 59 additions and 8 deletions
|
|
@ -503,11 +503,19 @@ void FGameConfigFile::DoGlobalSetup ()
|
|||
{
|
||||
auto var = FindCVar("vid_scalemode", NULL);
|
||||
UCVarValue newvalue;
|
||||
newvalue.Int = 2;
|
||||
if (var != NULL)
|
||||
{
|
||||
UCVarValue v = var->GetGenericRep(CVAR_Int);
|
||||
if (v.Int == 3) var->SetGenericRep(newvalue, CVAR_Int);
|
||||
if (v.Int == 3) // 640x400
|
||||
{
|
||||
newvalue.Int = 2;
|
||||
var->SetGenericRep(newvalue, CVAR_Int);
|
||||
}
|
||||
if (v.Int == 2) // 320x200
|
||||
{
|
||||
newvalue.Int = 7;
|
||||
var->SetGenericRep(newvalue, CVAR_Int);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (last < 219)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue