Tweaks to player voice handling, line counts are language strings now, instead of the old awkward method of counting them manually. Some adjustments to movement, jump/croush to move up/down when swimming and flying. Increased damages of Pusher, for balance. Fixed incorrect behaviour of armor damage absorption, which made the armor nuggets pretty much useless. Fix incorrect absorption factor of armor nuggets, making them heal at >10% instead of >100%.
62 lines
1.3 KiB
Text
62 lines
1.3 KiB
Text
Mixin Class SWWMStatScreen
|
|
{
|
|
TextureID bgtex;
|
|
|
|
override void StartMusic()
|
|
{
|
|
S_ChangeMusic("music/DRAGONY.XM");
|
|
}
|
|
private void drawSWWMBg()
|
|
{
|
|
if ( !bgtex ) bgtex = TexMan.CheckForTexture("graphics/InterBG.png",TexMan.Type_MiscPatch);
|
|
double ar = Screen.GetAspectRatio();
|
|
Vector2 tsize = TexMan.GetScaledSize(bgtex);
|
|
double sar = tsize.x/tsize.y;
|
|
Vector2 vsize;
|
|
if ( sar > ar ) vsize = (tsize.y*ar,tsize.y);
|
|
else if ( sar < ar ) vsize = (tsize.x,tsize.x/ar);
|
|
else vsize = tsize;
|
|
Screen.DrawTexture(bgtex,false,(vsize.x-tsize.x)/2,(vsize.y-tsize.y)/2,DTA_VirtualWidthF,vsize.x,DTA_VirtualHeightF,vsize.y,DTA_KeepRatio,true);
|
|
// TODO background pics (fanart, 4komas, etc.)
|
|
// TODO intermission tips at the bottom
|
|
}
|
|
override void drawShowNextLoc( void )
|
|
{
|
|
drawSWWMBg();
|
|
drawEL();
|
|
}
|
|
override void Drawer( void )
|
|
{
|
|
switch ( CurState )
|
|
{
|
|
case StatCount:
|
|
drawSWWMBg();
|
|
drawStats();
|
|
break;
|
|
case ShowNextLoc:
|
|
drawShowNextLoc();
|
|
break;
|
|
case LeavingIntermission:
|
|
break;
|
|
default:
|
|
drawNoState();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// placeholders, will do the actual custom stuff soon
|
|
Class SWWMStatScreen_SP : DoomStatusScreen
|
|
{
|
|
Mixin SWWMStatScreen;
|
|
}
|
|
|
|
Class SWWMStatScreen_Coop : CoopStatusScreen
|
|
{
|
|
Mixin SWWMStatScreen;
|
|
}
|
|
|
|
Class SWWMStatScreen_DM : DeathmatchStatusScreen
|
|
{
|
|
Mixin SWWMStatScreen;
|
|
}
|