odamex icon indicating copy to clipboard operation
odamex copied to clipboard

Add default sky for mapinfo and umapinfo

Open bcahue opened this issue 7 months ago • 1 comments

Due to our patchwork support of MAPINFO combined with loose MAPINFO interpretations from other ports and lumps, it's in our best interest to match other ports and provide sensible defaults for maps where needed. This mainly affects us for skies.

The wad "PUSS23 Mappin Round the Doommas Tree.wad" has a defaultmap defined, but uses the actual graphic RSKY1 in for the sky instead of the texture that Odamex and DSDA expects, however, DSDA doesn't parse the defaultmap token, and provides a default sky for maps without a defined one. This allows DSDA to show a sky on every map, despite the WAD going above 32 maps.

In current Odamex stable, the wad shows AASHITTY as the sky for every map in the WAD. This patch provides sensible defaults for the sky, defaulting to the first sky defined in the IWAD (usually replaced via pwad patch) if one is not defined.

bcahue avatar Jun 30 '24 06:06 bcahue