- moved renderinfo.cpp entriely into the map loader.
This commit is contained in:
parent
e66e594dd0
commit
0e904286e8
5 changed files with 109 additions and 120 deletions
|
|
@ -567,3 +567,25 @@ CCMD(dumpgeometry)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
CCMD(listmapsections)
|
||||
{
|
||||
for (int i = 0; i < 100; i++)
|
||||
{
|
||||
for (auto &sub : level.subsectors)
|
||||
{
|
||||
if (sub.mapsection == i)
|
||||
{
|
||||
Printf("Mapsection %d, sector %d, line %d\n", i, sub.render_sector->Index(), sub.firstline->linedef->Index());
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue