Revert "Localize Mortal Rifle popups."
This reverts commit a475af5e8b.
Due to the font used, these are not serializable.
This commit is contained in:
parent
a475af5e8b
commit
64156a9fcf
3 changed files with 4 additions and 12 deletions
|
|
@ -221,11 +221,8 @@ extend Class MisterRifle
|
|||
str = StringTable.Localize("$SWWM_MRLOW");
|
||||
fw = MortalFontMed.StringWidth(str);
|
||||
fh = MortalFontMed.GetHeight();
|
||||
double scl = min(1.,224./fw);
|
||||
fw = int(fw*scl);
|
||||
fh = int(fh*scl);
|
||||
DrawWindowFrame(128-fw/2,72-fh/2,fw,fh,2,-2,true);
|
||||
TouchScreen.DrawText(MortalFontMed,Font.FindFontColor("MiniBrass"),128-fw/2,72-fh/2,str,DTA_ColorOverlay,(gametic%8>=4)?0x80000000:0x000000,DTA_ScaleX,scl,DTA_ScaleY,scl);
|
||||
TouchScreen.DrawText(MortalFontMed,Font.FindFontColor("MiniBrass"),128-fw/2,72-fh/2,str,DTA_ColorOverlay,(gametic%8>=4)?0x80000000:0x000000);
|
||||
}
|
||||
if ( noammotic && (noammotic > gametic) )
|
||||
{
|
||||
|
|
@ -233,11 +230,8 @@ extend Class MisterRifle
|
|||
str = StringTable.Localize("$SWWM_MRNONE");
|
||||
fw = MortalFontBig.StringWidth(str);
|
||||
fh = MortalFontBig.GetHeight();
|
||||
double scl = min(1.,224./fw);
|
||||
fw = int(fw*scl);
|
||||
fh = int(fh*scl);
|
||||
DrawWindowFrame(128-fw/2,72-fh/2,fw,fh,4,-4,true);
|
||||
TouchScreen.DrawText(MortalFontBig,Font.FindFontColor("MiniRed"),128-fw/2,72-fh/2,str,DTA_ColorOverlay,(gametic%16>=8)?0x80000000:0x000000,DTA_ScaleX,scl,DTA_ScaleY,scl);
|
||||
TouchScreen.DrawText(MortalFontBig,Font.FindFontColor("MiniRed"),128-fw/2,72-fh/2,str,DTA_ColorOverlay,(gametic%16>=8)?0x80000000:0x000000);
|
||||
}
|
||||
// Holo sub-screen
|
||||
if ( !AmmoLed ) AmmoLed = TexMan.GetCanvas("MORTLED2");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue