From 335927bd5cf798bcaf888a68ee8f3419136d38a4 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 22 Sep 2014 00:18:20 +0000 Subject: [PATCH] textures: Add dummy entries for colormaps. Add some dummy texture entries that match the colormaps stored in the single player IWADs. This allows levels that use colormaps to at least be loaded in non-Boom compatible source ports, even though the rest of the levels might not work properly. It doesn't seem to do any harm. --- lumps/textures/textures.cfg | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/lumps/textures/textures.cfg b/lumps/textures/textures.cfg index f283bc98..4ff637ea 100644 --- a/lumps/textures/textures.cfg +++ b/lumps/textures/textures.cfg @@ -2929,3 +2929,29 @@ PORAN 64 128 * PORAN 0 0 PWHITE 64 128 * PWHITE 0 0 + +; These are actually colormaps included in the Freedoom IWADs. +; They don't need texture entries, but the colormap names are used +; on property transfer lines, to apply a colormap to a sector or +; region. This can cause source ports that aren't Boom compatible +; to bomb out with invalid texture errors. +; While technically Freedoom is only for Boom-compatible source +; ports, it's nice to be at least able to load the level, and +; having dummy texture entries for the colormaps doesn't seem to +; do any harm (I checked several source ports to check colormaps +; were still applied correctly). +WATERMAP 128 128 +* WALL24_1 0 0 +BLOODMAP 128 128 +* WALL24_1 0 0 +BLUEMAP 128 128 +* WALL24_1 0 0 +LAVAMAP 128 128 +* WALL24_1 0 0 +NUKEMAP 128 128 +* WALL24_1 0 0 +FOGMAP 128 128 +* WALL24_1 0 0 +MFADEMAP 128 128 +* WALL24_1 0 0 +