From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:WAD (Doom engine)" |
|---|
| claim | "PLAYPAL holds 14 palettes of 768 bytes (0 normal, 1-8 red damage/berserk, 9-12 item pickup, 13 radiation suit); COLORMAP holds 34 maps of 256 indices (0-31 light levels, 32 invulnerability, 33 black)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:WAD (Doom engine)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | function | "ST_doPaletteStuff, R_InitColormaps" |
|---|
| effect | "palette n at PLAYPAL + n*768; colormap n at COLORMAP + n*256" |
|---|
| condition | "Doom and Doom II" |
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "linuxdoom-1.10/st_stuff.c (STARTREDPALS 1, NUMREDPALS 8, STARTBONUSPALS 9, NUMBONUSPALS 4, RADIATIONPAL 13, pal + palette*768); r_main.h NUMCOLORMAPS 32; p_user.c INVERSECOLORMAP 32." |
|---|
|
| type | "runtime_test" |
|---|
| detail | "Freedoom 0.13.0: PLAYPAL 10752 bytes (14*768), COLORMAP 8704 bytes (34*256)." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "PLAYPAL and COLORMAP layout" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T03:43:16.969Z" |
|---|
| verifications | |
|---|