- fixed incomplete commit.
I have no idea where the rest of this stuff went...
This commit is contained in:
parent
de375ce187
commit
65b01bd16d
7 changed files with 14 additions and 11 deletions
|
|
@ -815,6 +815,7 @@ public:
|
|||
|
||||
void PrintSections(FSectionContainer &container)
|
||||
{
|
||||
auto Level = &level;
|
||||
for (unsigned i = 0; i < container.allSections.Size(); i++)
|
||||
{
|
||||
auto §ion = container.allSections[i];
|
||||
|
|
@ -861,21 +862,21 @@ void PrintSections(FSectionContainer &container)
|
|||
//
|
||||
//=============================================================================
|
||||
|
||||
void CreateSections(FSectionContainer &container)
|
||||
void CreateSections(FLevelLocals *Level)
|
||||
{
|
||||
FSectionCreator creat;
|
||||
FSectionCreator creat(Level);
|
||||
creat.GroupSubsectors();
|
||||
creat.MakeOutlines();
|
||||
creat.MergeLines();
|
||||
creat.FindOuterLoops();
|
||||
creat.GroupSections();
|
||||
creat.ConstructOutput(container);
|
||||
creat.ConstructOutput(Level->sections);
|
||||
creat.FixMissingReferences();
|
||||
}
|
||||
|
||||
CCMD(printsections)
|
||||
{
|
||||
PrintSections(Level->sections);
|
||||
PrintSections(level.sections);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue