From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:BSP (Quake)" |
|---|
| claim | "A Quake BSP node (lump 5) is 24 bytes: int32 plane, two int16 children (negative c = leaf -(c+1)), int16 bounding box, uint16 first face and face count." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:BSP (Quake)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "dnode_t" |
|---|
| size | "0x18" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "int32_t" |
|---|
| name | "planenum" |
|---|
|
| offset | "0x4" |
|---|
| size | 4 |
|---|
| type | "int16_t[2]" |
|---|
| name | "children" |
|---|
| notes | ">= 0 node index; < 0 leaf number -(c+1)" |
|---|
|
| offset | "0x8" |
|---|
| size | 6 |
|---|
| type | "int16_t[3]" |
|---|
| name | "mins" |
|---|
|
| offset | "0xE" |
|---|
| size | 6 |
|---|
| type | "int16_t[3]" |
|---|
| name | "maxs" |
|---|
|
| offset | "0x14" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "firstface" |
|---|
|
| offset | "0x16" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "numfaces" |
|---|
| notes | "counts both sides" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "WinQuake/bspfile.h dnode_t (commit bf4ac42)." |
|---|
|
| type | "runtime_test" |
|---|
| detail | "Node lump length is a multiple of 24 in all 23 LibreQuake v0.09-beta BSPs." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "BSP node" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T04:20:51.435Z" |
|---|
| verifications | |
|---|