4.10 support update (unfinished and untested).
This commit is contained in:
parent
eb624f15e3
commit
8e952f412f
80 changed files with 2343 additions and 2356 deletions
|
|
@ -161,7 +161,7 @@ Class SWWMLevelCompatibility : LevelPostProcessor
|
|||
SetThingArgument(nt,0,tiddy);
|
||||
nt = AddThing(4206930,(0,0,0));
|
||||
SetThingID(nt,tiddy);
|
||||
SetThingArgument(nt,0,0);
|
||||
SetThingArgument(nt,0,SWWMDLG_GOTCHAEND);
|
||||
break;
|
||||
// EQUINOX: various boss brain setups that could be cheesed with the Ynykron or silver bullet
|
||||
// Equinox MAP04
|
||||
|
|
@ -348,24 +348,23 @@ Class SWWMLevelCompatibility : LevelPostProcessor
|
|||
case 'AA4CA3FC891D13821ACCABD836E29EB5':
|
||||
case '9AA7780B46EC4471F630572798943D71':
|
||||
// sound sequence handling
|
||||
for ( int i=0; i<level.Lines.Size(); i++ )
|
||||
foreach ( l:level.Lines )
|
||||
{
|
||||
Line l = level.Lines[i];
|
||||
if ( !l.backsector ) continue;
|
||||
TextureID t;
|
||||
bool wolfdoor = false;
|
||||
for ( int k=0; k<3; k++ )
|
||||
for ( int i=0; i<3; i++ )
|
||||
{
|
||||
t = l.sidedef[0].GetTexture(k);
|
||||
t = l.sidedef[0].GetTexture(i);
|
||||
if ( t.IsValid() && ((TexMan.GetName(t) == "ZDOORF1") || (TexMan.GetName(t) == "ZDOORB1") || (TexMan.GetName(t) == "ZELDOOR")) )
|
||||
{
|
||||
wolfdoor = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ( !wolfdoor && l.sidedef[1] ) for ( int k=0; k<3; k++ )
|
||||
if ( !wolfdoor && l.sidedef[1] ) for ( int i=0; i<3; i++ )
|
||||
{
|
||||
t = l.sidedef[1].GetTexture(k);
|
||||
t = l.sidedef[1].GetTexture(i);
|
||||
if ( t.IsValid() && ((TexMan.GetName(t) == "ZDOORF1") || (TexMan.GetName(t) == "ZDOORB1") || (TexMan.GetName(t) == "ZELDOOR")) )
|
||||
{
|
||||
wolfdoor = true;
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ Class SWWMHDoomHandler : StaticEventHandler
|
|||
|
||||
override void OnRegister()
|
||||
{
|
||||
for ( int i=0; i<AllActorClasses.size(); i++ )
|
||||
foreach ( cls:AllActorClasses )
|
||||
{
|
||||
if ( AllActorClasses[i].GetClassName() != "HDoomPlayer" ) continue;
|
||||
if ( cls.GetClassName() != "HDoomPlayer" ) continue;
|
||||
detected = true;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,15 +21,15 @@ Class SWWMBrutalHandler : StaticEventHandler
|
|||
{
|
||||
if ( swwm_iseriouslywanttoplaythiswithbd )
|
||||
return;
|
||||
for ( int i=0; i<AllActorClasses.size(); i++ )
|
||||
foreach ( cls:AllActorClasses )
|
||||
{
|
||||
if ( AllActorClasses[i].GetClassName() == "BDoomer" )
|
||||
if ( cls.GetClassName() == "BDoomer" )
|
||||
{
|
||||
detected = true;
|
||||
which = "Brutal Doom";
|
||||
whichshort = "BD";
|
||||
}
|
||||
else if ( AllActorClasses[i].GetClassName() == "BrutalDoomer" )
|
||||
else if ( cls.GetClassName() == "BrutalDoomer" )
|
||||
{
|
||||
detected = true;
|
||||
which = "Project Brutality";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue