Compare commits

..

No commits in common. "c7a56af98e328ee5800376f7504455b6d384a2c2" and "fceaa55824a6d74ff226ff88dc9d1f01c95cd647" have entirely different histories.

2 changed files with 0 additions and 32 deletions

View File

@ -1,31 +0,0 @@
# SectorTagIterator
Iterates over sector indices with a specified tag.
```
class SectorTagIterator : Object
{
static SectorTagIterator Create(int tag, Line defline = null);
int Next();
int NextCompat(bool compat, int secnum);
}
```
- `Create`
Creates a new iterator over sectors with tag `tag`. TODO: I can't find where
`defline` is actually used. It is a mystery.
- `Next`
Returns the index of the current sector and advances the iterator. Returns
`-1` when the list is exhausted.
- `NextCompat`
If `compat` is `false`, acts exactly as `Next`. Otherwise, returns the
index of the current sector and advances the iterator in a manner
compatible with Doom's stair builders.
<!-- EOF -->

1
api.md
View File

@ -127,7 +127,6 @@ for [statistics drivers](https://doomwiki.org/wiki/Statistics_driver).
* [SecSpecial](api-level-SecSpecial.md)
* [Sector](api-level-Sector.md)
* [SectorEffect](api-level-SectorEffect.md)
* [SectorTagIterator](api-level-SectorTagIterator.md)
* [Side](api-level-Side.md)
* [Vertex](api-level-Vertex.md)