- added additional hires namespaces to prevent name conflicts for hires packages #873
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since hires replaced all textures of the same name there could not be any name
conflicts in hires texture packs . This is a problem for Doom where STEP1/STEP2 are wall texture names as well as flat names. Add additional optional directories 'hires/flats', 'hires/sprites', 'hires/graphics', and 'hires/walltextures' which specify the usetype for the texture and only replace textures of the same type.
Also add 'HF_', 'HS_', 'HG_', and 'HW_' markers for wad namespacing.
Both 'NeuralNet' and 'DHTP' hires texture packs encounter this issue. See some discussion of it in regard to DHTP here.
I believe they work around the issue by renaming the flat image files and redefining them using a TEXTURES lump. But this doesn't seem like the 'right' fix to me, just a workaround.
I tested this with both a folder structure and a test wad replacing all flats, sprites, graphics, and wall textures. It is easiest to notice in e1m1, the flat used for the pillars in the left room is one of the STEP1/STEP2 flats, and is normally overridden by the image meant for the wall texture without the change.