- added an option to use the new console font for centered messages.
Like the notification messages, this is optional to not affect existing settings.
This commit is contained in:
parent
ed1615babb
commit
60c5350e8b
10 changed files with 60 additions and 39 deletions
|
|
@ -623,7 +623,7 @@ void FParser::SF_Tip(void)
|
|||
if (t_argc>0 && Script->trigger &&
|
||||
Script->trigger->CheckLocalView())
|
||||
{
|
||||
C_MidPrint(SmallFont, GetFormatString(0).GetChars());
|
||||
C_MidPrint(nullptr, GetFormatString(0).GetChars());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -643,7 +643,7 @@ void FParser::SF_TimedTip(void)
|
|||
{
|
||||
float saved = con_midtime;
|
||||
con_midtime = intvalue(t_argv[0])/100.0f;
|
||||
C_MidPrint(SmallFont, GetFormatString(1).GetChars());
|
||||
C_MidPrint(nullptr, GetFormatString(1).GetChars());
|
||||
con_midtime=saved;
|
||||
}
|
||||
}
|
||||
|
|
@ -662,7 +662,7 @@ void FParser::SF_PlayerTip(void)
|
|||
int plnum = T_GetPlayerNum(t_argv[0]);
|
||||
if (plnum!=-1 && Level->Players[plnum]->mo->CheckLocalView())
|
||||
{
|
||||
C_MidPrint(SmallFont, GetFormatString(1).GetChars());
|
||||
C_MidPrint(nullptr, GetFormatString(1).GetChars());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue