mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-05-30 00:31:54 +00:00
Made two Hexen maps compatibility options data driven
This commit is contained in:
parent
5874d01a73
commit
c22017f981
2 changed files with 6 additions and 8 deletions
|
@ -470,14 +470,6 @@ void CheckCompatibility(MapData *map)
|
||||||
ii_compatflags = COMPATF_SHORTTEX|COMPATF_LIGHT;
|
ii_compatflags = COMPATF_SHORTTEX|COMPATF_LIGHT;
|
||||||
if (gameinfo.flags & GI_COMPATSTAIRS) ii_compatflags |= COMPATF_STAIRINDEX;
|
if (gameinfo.flags & GI_COMPATSTAIRS) ii_compatflags |= COMPATF_STAIRINDEX;
|
||||||
}
|
}
|
||||||
else if (Wads.GetLumpFile(map->lumpnum) == 1 && (gameinfo.flags & GI_COMPATPOLY1) && Wads.CheckLumpName(map->lumpnum, "MAP36"))
|
|
||||||
{
|
|
||||||
ii_compatflags = COMPATF_POLYOBJ;
|
|
||||||
}
|
|
||||||
else if (Wads.GetLumpFile(map->lumpnum) == 2 && (gameinfo.flags & GI_COMPATPOLY2) && Wads.CheckLumpName(map->lumpnum, "MAP47"))
|
|
||||||
{
|
|
||||||
ii_compatflags = COMPATF_POLYOBJ;
|
|
||||||
}
|
|
||||||
|
|
||||||
map->GetChecksum(md5.Bytes);
|
map->GetChecksum(md5.Bytes);
|
||||||
|
|
||||||
|
|
|
@ -763,3 +763,9 @@ CA3773ED313E8899311F3DD0CA195A68 // e3m6
|
||||||
setsectorlight 138 192
|
setsectorlight 138 192
|
||||||
setwalltexture 3431 back top BRKGRY01
|
setwalltexture 3431 back top BRKGRY01
|
||||||
}
|
}
|
||||||
|
|
||||||
|
3FFAF2F624C1B4BB6F581DCF7B99CBA7 // hexen.wad MAP36
|
||||||
|
7DC65D5029DD834481CD716B3D71388A // hexdd.wad MAP47
|
||||||
|
{
|
||||||
|
polyobj
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue