From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:WAD (Doom engine)" |
|---|
| claim | "TEXTURE1/TEXTURE2 begin with int32 count and int32 offsets; each texture record is 22 bytes (name, int32 masked, int16 width, int16 height, obsolete int32 column directory, int16 patch count) followed by 10-byte patch placements." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:WAD (Doom engine)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "maptexture_t" |
|---|
| size | "0x16" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 8 |
|---|
| type | "char[8]" |
|---|
| name | "name" |
|---|
|
| offset | "0x8" |
|---|
| size | 4 |
|---|
| type | "int32_t" |
|---|
| name | "masked" |
|---|
|
| offset | "0xC" |
|---|
| size | 2 |
|---|
| type | "int16_t" |
|---|
| name | "width" |
|---|
|
| offset | "0xE" |
|---|
| size | 2 |
|---|
| type | "int16_t" |
|---|
| name | "height" |
|---|
|
| offset | "0x10" |
|---|
| size | 4 |
|---|
| type | "int32_t" |
|---|
| name | "columndirectory (obsolete)" |
|---|
|
| offset | "0x14" |
|---|
| size | 2 |
|---|
| type | "int16_t" |
|---|
| name | "patchcount" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "linuxdoom-1.10/r_data.c maptexture_t (boolean is an enum, 4 bytes) and R_InitTextures." |
|---|
|
| type | "runtime_test" |
|---|
| detail | "Freedoom 0.13.0: 801+162 textures in freedoom1.wad and 963 in freedoom2.wad parse with this layout." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "TEXTURE1 texture record" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T03:43:16.825Z" |
|---|
| verifications | |
|---|