mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- disallow changing the line spacing for option menus.
With the VGA font this makes no sense anymore.
This commit is contained in:
parent
6bf487dac3
commit
6e9e75c02c
2 changed files with 2 additions and 13 deletions
|
@ -910,7 +910,7 @@ static void ParseOptionSettings(FScanner &sc)
|
|||
else if (sc.Compare("Linespacing"))
|
||||
{
|
||||
sc.MustGetNumber();
|
||||
OptionSettings.mLinespacing = sc.Number;
|
||||
// ignored
|
||||
}
|
||||
else if (sc.Compare("LabelOffset"))
|
||||
{
|
||||
|
@ -1402,6 +1402,7 @@ void M_ParseMenuDefs()
|
|||
DefaultOptionMenuSettings = Create<DOptionMenuDescriptor>();
|
||||
DefaultListMenuSettings->Reset();
|
||||
DefaultOptionMenuSettings->Reset();
|
||||
OptionSettings.mLinespacing = 17;
|
||||
|
||||
int IWADMenu = fileSystem.CheckNumForName("MENUDEF", ns_global, fileSystem.GetIwadNum());
|
||||
|
||||
|
|
|
@ -344,18 +344,6 @@ OptionValue AutoOffOn
|
|||
1, "$OPTVAL_ON"
|
||||
}
|
||||
|
||||
OptionMenuSettings
|
||||
{
|
||||
// These can be overridden if a different menu fonts requires it.
|
||||
Linespacing 17
|
||||
/*
|
||||
IfGame(Heretic, Hexen)
|
||||
{
|
||||
Linespacing 9
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
DefaultOptionMenu
|
||||
{
|
||||
Position -15
|
||||
|
|
Loading…
Reference in a new issue