From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:WAD (Doom engine)" |
|---|
| claim | "Each patch placement in a TEXTURE1/TEXTURE2 record is 10 bytes: x and y origin, index into PNAMES, and two unused int16 fields." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:WAD (Doom engine)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "mappatch_t" |
|---|
| size | "0xA" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 2 |
|---|
| type | "int16_t" |
|---|
| name | "originx" |
|---|
|
| offset | "0x2" |
|---|
| size | 2 |
|---|
| type | "int16_t" |
|---|
| name | "originy" |
|---|
|
| offset | "0x4" |
|---|
| size | 2 |
|---|
| type | "int16_t" |
|---|
| name | "patch" |
|---|
|
| offset | "0x6" |
|---|
| size | 2 |
|---|
| type | "int16_t" |
|---|
| name | "stepdir (unused)" |
|---|
|
| offset | "0x8" |
|---|
| size | 2 |
|---|
| type | "int16_t" |
|---|
| name | "colormap (unused)" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "linuxdoom-1.10/r_data.c mappatch_t; R_InitTextures uses only originx, originy and patch." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "TEXTURE1 patch placement" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T03:43:16.901Z" |
|---|
| verifications | |
|---|