Skip to content

[Enhancement] Read SKYDEFS when searching for used textures #197

Description

@electricbrass

Currently, using WTexScan on a wad with SKYDEFS and UMAPINFO lumps as below, and which does not otherwise use SKY2, will result in SKY2 being left out of the list.

{
  "type": "skydefs",
  "version": "1.0.0",
  "metadata": { },
  "data":
  {
    "skies":
    [
      {
        "type": 2,
        "name": "SKY1",
        "mid": 100,
        "scrollx": 0,
        "scrolly": 0,
        "scalex": 1,
        "scaley": 1,
        "fire": null,
        "foregroundtex":
        {
          "name": "SKY2",
          "mid": 100,
          "scrollx": 0,
          "scrolly": 0,
          "scalex": 1,
          "scaley": 1
        }
      }
    ],
    "flatmapping": null
  }
}
map MAP01 {
    skytexture = "SKY1"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNice-to-haves and things that can actually help current behavior.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions