- made several arrays holding sector related data dynamic.

This commit is contained in:
Christoph Oelckers 2021-12-06 20:08:32 +01:00
parent 2a07159c8d
commit 1a3b9f8ac0
11 changed files with 50 additions and 50 deletions

View file

@ -22,9 +22,8 @@ struct Section
// giving 25% more may be a bit high as normally this should be small numbers only.
extern SectionLine sectionLines[MAXWALLS + (MAXWALLS >> 2)];
extern Section sections[MAXSECTORS + (MAXSECTORS >> 2)];
extern TArray<Section> Sections;
extern TArray<int> sectionspersector[MAXSECTORS]; // reverse map, mainly for the automap
extern int numsections;
extern int numsectionlines;