mirror of
https://github.com/celisej567/LibBSP.git
synced 2026-09-11 20:09:36 +03:00
Merge branch 'master' of https://github.com/wfowler1/LibBSP
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user