Add support for E1M4B and E1M8B as part of Wadfusion.
This commit is contained in:
parent
8f4a7445c6
commit
d47eb2f1e3
6 changed files with 57 additions and 5 deletions
|
|
@ -86,6 +86,31 @@ Class SWWMLevelCompatibility : LevelPostProcessor
|
|||
for ( int i=118; i<=125; i++ )
|
||||
SetThingEdNum(i,0);
|
||||
break;
|
||||
case 'A1F105211112747EE50BA520462A471E':
|
||||
{
|
||||
// E1M8B
|
||||
level.nextsecretmap = level.nextmap; // so the handler can detect this
|
||||
level.nextmap = "E2M1";
|
||||
// no damage in exit sector
|
||||
SetSectorSpecial(538,0);
|
||||
// paint it black
|
||||
for ( int i=1; i<4; i++ )
|
||||
level.Sectors[538].SetSpecialColor(i,"Black");
|
||||
// teleport sequence
|
||||
static const int exitlines[] =
|
||||
{
|
||||
3048, 3055, 3073,
|
||||
3074, 3075, 3076,
|
||||
3077, 3078, 3079,
|
||||
3080, 3081, 3082
|
||||
};
|
||||
for ( int i=0; i<12; i++ )
|
||||
SetLineSpecial(exitlines[i],ACS_Execute,-Int('E1M8_KNOCKOUT'));
|
||||
// remove enemies
|
||||
for ( int i=183; i<=190; i++ )
|
||||
SetThingEdNum(i,0);
|
||||
break;
|
||||
}
|
||||
// Doom E2M8
|
||||
case 'EFFE91DF41AD41F6973C06F0AD67DDB9':
|
||||
level.nextsecretmap = level.nextmap; // so the handler can detect this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue