mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 05:41:45 +00:00
- Updated ZDBSP nodebuilder version 1.12
- Re-enabled UDMF comments for element indices (should work with ZDBSP now) @ Added test case for triangulation
This commit is contained in:
parent
052e0a1d63
commit
1a2d335e4d
4 changed files with 30 additions and 4 deletions
Binary file not shown.
|
@ -677,15 +677,11 @@ namespace CodeImp.DoomBuilder.IO
|
|||
// Output recursive structure
|
||||
if(whitespace) { db.Append(leveltabs); db.Append(newline); }
|
||||
db.Append(leveltabs); db.Append(de.Current.Key);
|
||||
/*
|
||||
* Disabled writing comments to UDMF TEXTMAP, because ZDBSP can't handle this properly yet.
|
||||
*
|
||||
if(!string.IsNullOrEmpty(c.Comment))
|
||||
{
|
||||
if(whitespace) db.Append("\t");
|
||||
db.Append("// " + c.Comment);
|
||||
}
|
||||
*/
|
||||
db.Append(newline);
|
||||
db.Append(leveltabs); db.Append("{"); db.Append(newline);
|
||||
db.Append(OutputStructure(c, level + 1, newline, whitespace));
|
||||
|
|
30
Tests/Triangulation/triangulation_m.dbs
Normal file
30
Tests/Triangulation/triangulation_m.dbs
Normal file
|
@ -0,0 +1,30 @@
|
|||
type = "Doom Builder Map Settings Configuration";
|
||||
gameconfig = "ZDoom_DoomHexen.cfg";
|
||||
strictpatches = 0;
|
||||
|
||||
maps
|
||||
{
|
||||
|
||||
SAD01
|
||||
{
|
||||
|
||||
grid
|
||||
{
|
||||
backoffsety = 0;
|
||||
backoffsetx = 0;
|
||||
backscalex = 100;
|
||||
gridsize = 32;
|
||||
background = "";
|
||||
backsource = 0;
|
||||
backscaley = 100;
|
||||
}
|
||||
|
||||
|
||||
resources
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
BIN
Tests/Triangulation/triangulation_m.wad
Normal file
BIN
Tests/Triangulation/triangulation_m.wad
Normal file
Binary file not shown.
Loading…
Reference in a new issue