- export common formulae to functions instead of copy-pasting them
- screen bevel now enlarges also when screenblocks <= 11 - make intermission and status bar scaling game-specific in the config - add scaling customization for classic ui flat scaling - make screen border flat scale up - inter_classic_scaling now defaults to true - fixed: last commit I accidentally left hardcoded testing values and did not change them back to check for the texture's original size - implement cvar 'inter_classic_scaling' to render the intermission flat as if it were 320x200
This commit is contained in:
parent
0f0768652a
commit
6e3ec96250
5 changed files with 107 additions and 24 deletions
|
|
@ -73,6 +73,8 @@ extern int NoWipe;
|
|||
CVAR(Bool, nointerscrollabort, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
|
||||
CVAR(Bool, inter_subtitles, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
|
||||
|
||||
CVAR(Bool, inter_classic_scaling, true, CVAR_ARCHIVE);
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// This also gets used by the title loop.
|
||||
|
|
@ -221,7 +223,7 @@ void DIntermissionScreen::Drawer ()
|
|||
}
|
||||
else
|
||||
{
|
||||
twod->AddFlatFill(0,0, twod->GetWidth(), twod->GetHeight(), TexMan.GetGameTexture(mBackground));
|
||||
twod->AddFlatFill(0,0, twod->GetWidth(), twod->GetHeight(), TexMan.GetGameTexture(mBackground), (inter_classic_scaling ? -1 : 0));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue