Small tweaks to the BD screen.

This commit is contained in:
Mari the Deer 2025-02-12 12:10:17 +01:00
commit 41f065fdd0
5 changed files with 7 additions and 7 deletions

View file

@ -85,12 +85,12 @@ Class SWWMBrutalHandler : StaticEventHandler
eztex[6] = TexMan.CheckForTexture("graphics/BDScreen/BDBubble3.png");
for ( int i=0; i<6; i++ ) ezstate[i] = false;
for ( int i=0; i<4; i++ ) ezslide[i] = 2800.;
eztext[0] = "Really\nnow\n!?";
eztext[0] = "Eeeeeh?\nReally\nnow\n!?";
eztext[1] = "\c[BDRed]Brutal\nDoom\c-?\n\nThat's\ncringe";
eztext[2] = "Only a\ncomplete\nfool\nwould try\nto load\n\c[BDRed]Brutal Doom\c-\nwith\nother game-\nplay mods,\nright?";
eztext[3] = "Ha\nha\nha\nha";
eztext[4] = "Ki\nhi\nhi\nhi";
eztextpos[0] = (2520.,120.);
eztextpos[0] = (2500.,100.);
eztextpos[1] = (1620.,1580.);
eztextpos[2] = (80.,140.);
eztextpos[3] = (100.,1660.);
@ -184,10 +184,9 @@ Class SWWMBrutalHandler : StaticEventHandler
double fact = clamp(((timer+e.fractic)-300.)/100.,0.,1.);
Screen.Dim("Red",fact,0,0,Screen.GetWidth(),Screen.GetHeight(),STYLE_Add);
rss = MSTime()/10;
pos.x += RandomShiver()*64.*hs*fact*fact;
pos.y += RandomShiver()*64.*hs*fact*fact;
pos.x += RandomShiver()*128.*hs*fact*fact;
pos.y += RandomShiver()*128.*hs*fact*fact;
}
Screen.DrawTexture(eztex[0],false,pos.x,pos.y,DTA_ScaleX,hs,DTA_ScaleY,hs);
Screen.SetClipRect(int(pos.x),int(pos.y),int(2800.*hs),int(2100.*hs));
Screen.Dim("White",1.,int(pos.x),int(pos.y),int(2800.*hs),int(2100.*hs));
rss = MSTime()/40;
@ -217,6 +216,7 @@ Class SWWMBrutalHandler : StaticEventHandler
}
}
Screen.ClearClipRect();
Screen.DrawTexture(eztex[0],false,pos.x,pos.y,DTA_ScaleX,hs,DTA_ScaleY,hs);
if ( timer > 300 )
Screen.Dim("Red",clamp(((timer+e.fractic)-350.)/50.,0.,1.),0,0,Screen.GetWidth(),Screen.GetHeight(),STYLE_Translucent);
}