// HORNY // Surprisingly, I've put in actual effort into this compatibility thing (even // if it's just sort of partial). // Demo-chan has no pp in this body that they can stick into the girls, so all // they get is the headpats. There's some sort of crazy magic going on here, // that makes the demon gals fall to their knees instantly. Saya thinks it // might be a side effect of teaching them the "blow kiss" spell (which has the // same effect). // Obviously, all the standard weapons work, and these gals appear to be of the // masochistic kind. This is generally not very effective compared to the pats // and smooches, but it's there, if you're willing to hurt them (I wouldn't). Class SWWMHDoomHandler : StaticEventHandler { ui int timer; ui TextureID scr; bool detected; override void OnRegister() { for ( int i=0; i 150) ) return; if ( !scr ) scr = TexMan.CheckForTexture("graphics/hdscreen.png"); double ar = Screen.GetAspectRatio(); Vector2 tsize = TexMan.GetScaledSize(scr); Vector2 vsize = (Screen.GetWidth(),Screen.GetHeight()); if ( (tsize.x > vsize.x) || (tsize.y > vsize.y) ) { double sar = tsize.x/tsize.y; if ( sar > ar ) vsize = (tsize.x,tsize.x/ar); else if ( sar < ar ) vsize = (tsize.y*ar,tsize.y); else vsize = tsize; } double alph = clamp(2.5-(timer+e.FracTic)/50.,0.,.25)*4.; Screen.DrawTexture(scr,false,(vsize.x-tsize.x)/2.,(vsize.y-tsize.y)/2.,DTA_VirtualWidthF,vsize.x,DTA_VirtualHeightF,vsize.y,DTA_KeepRatio,true,DTA_Alpha,alph); } }