// SHAMEFUL DISPLAY // At this point there's no clearer way to tell people to stop combining // incompatible mods. // The BD crowd never listens, never learns, you can't just mix up gameplay // mods and expect everything to work. // You also can't expect modders to put in the effort needed to go and add // compatibility for a mod that wouldn't even make any sense to add // compatibility for because both replace the same things and are entirely // different beasts with different styles altogether. // Just stop. Put that gray matter to use. Do you really think it's worth it? // Don't do this shit. Class SWWMBrutalHandler : StaticEventHandler { ui int timer; ui TextureID scr; bool detected; String which, whichshort; override void OnRegister() { if ( swwm_iseriouslywanttoplaythiswithbd ) return; for ( int i=0; i \cx┃\c-\n" "\cx┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\c-"); S_StartSound("compat/warn",CHAN_YOUDONEFUCKEDUP,CHANF_UI|CHANF_NOPAUSE|CHANF_OVERLAP,1,ATTN_NONE); } override void WorldLoaded( WorldEvent e ) { // get rid of ourselves if not needed if ( !detected && !bDestroyed ) Destroy(); } override void UiTick() { if ( !detected ) return; if ( gamestate == GS_LEVEL ) { if ( timer == 1 ) { S_StartSound("brutal/ezmodo",CHAN_YOUDONEFUCKEDUP,CHANF_UI|CHANF_NOPAUSE|CHANF_OVERLAP,1,ATTN_NONE); S_StartSound("brutal/ezmodo",CHAN_YOUDONEFUCKEDUP,CHANF_UI|CHANF_NOPAUSE|CHANF_OVERLAP,1,ATTN_NONE); } else if ( timer == 350 ) ThrowAbortException("This manual abort is for your own safety"); timer++; } else timer = 0; } override void WorldTick() { if ( !detected ) return; for ( int i=0; i 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; } Screen.DrawTexture(scr,false,(vsize.x-tsize.x)/2.+FRandom[bdscreen](-1,1)*max(timer-40,0)**3*.000003,(vsize.y-tsize.y)/2.+FRandom[bdscreen](-1,1)*max(timer-40,0)**3*.000003,DTA_VirtualWidthF,vsize.x,DTA_VirtualHeightF,vsize.y,DTA_KeepRatio,true,DTA_Alpha,min(1.,timer/50.)); Screen.Dim("Red",(timer/70.)-3.5,0,0,Screen.GetWidth(),Screen.GetHeight()); } }