- moved renderinfo.cpp entriely into the map loader.

This commit is contained in:
Christoph Oelckers 2018-12-28 15:51:32 +01:00
commit 0e904286e8
5 changed files with 109 additions and 120 deletions

View file

@ -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;
}
}
}
}