by Matthew S. Fell
These are the beginning and end points for LINEDEF s and SEGS. Each VERTEX's record is 4 bytes in 2 short fields:
The structure of the DOOM WAD VERTEX | ||
---|---|---|
Offset | Size | Purpose |
0 | short | X-coordinate. |
0 | short | Y-coordinate. |
On the automap within the game, with the grid on (press 'G'), the lines are 128 units apart (0x80), two lines = 256 (0x100).
Note:: the coordinate system used for the locating of VERTEXES and the heights of the sectors corresponds to pixels, for purposes of texture-mapping. So a sector that's 128 high, or a multiple of 128, is pretty typical, since many wall textures are 128 pixels high.
And yes, the correct plural of "vertex" is "vertices". It's just that id don't use it in their WAD resources, so neither can we here in the UDS!
↑ Menu ↑ | HTML-Version new styled on Nov 2008 by Dieter Heinrich | ↑ top ↑ |