This commit is contained in:
Will
2016-03-18 00:46:23 -06:00
2 changed files with 6 additions and 2 deletions

View File

@@ -170,15 +170,18 @@ namespace LibBSP {
structLength = 12;
break;
}
case MapType.STEF2:
case MapType.MOHAA:
case MapType.STEF2Demo:
case MapType.Quake3:
case MapType.CoD:
case MapType.FAKK: {
structLength = 44;
break;
}
case MapType.STEF2:
case MapType.STEF2Demo: {
structLength = 48;
break;
}
case MapType.Raven: {
structLength = 80;
break;

View File

@@ -51,6 +51,7 @@ namespace LibBSP {
texture = lines[2];
switch (lines[0]) {
// TODO: MoHRadiant terrain?
case "terrainDef": {
for (int i = 2; i < lines.Length; ++i) {
string[] line = lines[i].Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);