Segment
From ZDoom Wiki
Segs are to sub-sectors what linedefs are to sectors; they make up the shape of the sub-sectors. The most relevant information on them can be found on the NODES page.
Specification
| Bytes | Data type | Description |
|---|---|---|
| 0-1 | Unsigned short | Beginning vertex |
| 2-3 | Unsigned short | Ending vertex |
| 4-5 | Signed short | Angle: 0x0000 = East, 0x4000=North, 0x8000=South, 0xC000=West |
| 6-7 | Unsigned short | Linedef |
| 8-9 | Signed short | Direction |
| 10-11 | Signed short | Offset |
