diff --git a/language.version b/language.version index b7f4b9a65..cebaed755 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1081 \cu(Thu 4 Jan 20:14:18 CET 2024)\c-"; -SWWM_SHORTVER="\cw1.3pre r1081 \cu(2024-01-04 20:14:18)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1082 \cu(Thu 4 Jan 22:49:10 CET 2024)\c-"; +SWWM_SHORTVER="\cw1.3pre r1082 \cu(2024-01-04 22:49:10)\c-"; diff --git a/zscript/menu/swwm_achievementmenu.zsc b/zscript/menu/swwm_achievementmenu.zsc index 0fdda5b7c..e6e77a8ad 100644 --- a/zscript/menu/swwm_achievementmenu.zsc +++ b/zscript/menu/swwm_achievementmenu.zsc @@ -13,6 +13,7 @@ Class SWWMAchievementMenu : GenericMenu int ofs, maxofs; // physical scroll offset, and offset limit int completed, incomplete, total; Font mSmallFont, mTinyFont; + int glowcol; override void Init( Menu parent ) { @@ -48,6 +49,7 @@ Class SWWMAchievementMenu : GenericMenu BaseBox = TexMan.CheckForTexture("graphics/Achievements/NoAchievement.png"); mSmallFont = Font.GetFont('TewiFontOutline'); mTinyFont = Font.GetFont('MiniwiFontOutline'); + glowcol = Font.FindFontColor('MiniWhiteFlash'); } override void Ticker() @@ -119,13 +121,15 @@ Class SWWMAchievementMenu : GenericMenu { str = StringTable.Localize("$SWWM_AC_COMPLETE1"); xx = (Screen.GetWidth()-mSmallFont.StringWidth(str)*CleanXFac_1)/2; - Screen.DrawText(mSmallFont,Font.CR_FIRE,xx,yy,str,DTA_CleanNoMove_1,true,DTA_ColorOverlay,Color(int(64+64*sin(MSTimeF()/3.6)),255,255,255)); + Screen.DrawText(mSmallFont,Font.CR_FIRE,xx,yy,str,DTA_CleanNoMove_1,true); + Screen.DrawText(mSmallFont,glowcol,xx,yy,str,DTA_CleanNoMove_1,true,DTA_LegacyRenderStyle,STYLE_Add,DTA_Alpha,max(0.,.1+.2*sin(MSTimeF()/3.6))); yy += mSmallFont.GetHeight()*CleanYFac_1; // spanish hotfix needed int gnd = players[consoleplayer].GetGender(); str = String.Format(StringTable.Localize("$SWWM_AC_COMPLETE2"),(gnd==1)?"a":""); xx = (Screen.GetWidth()-mSmallFont.StringWidth(str)*CleanXFac_1)/2; - Screen.DrawText(mSmallFont,Font.CR_FIRE,xx,yy,str,DTA_CleanNoMove_1,true,DTA_ColorOverlay,Color(int(64+64*sin(MSTimeF()/3.6)),255,255,255)); + Screen.DrawText(mSmallFont,Font.CR_FIRE,xx,yy,str,DTA_CleanNoMove_1,true); + Screen.DrawText(mSmallFont,glowcol,xx,yy,str,DTA_CleanNoMove_1,true,DTA_LegacyRenderStyle,STYLE_Add,DTA_Alpha,max(0.,.1+.2*sin(MSTimeF()/3.6))); return; } String str1 = StringTable.Localize("$SWWM_AC_UNLOCKED");