Basically I would create the necessary the DECORATE files for the Doom version and Strife version, put them in folders like Decorate/Doom/... and /Decorate/Strife/... under one PK3/PK7 file, and a lump that would point to the correct DECORATE lump for each IWAD.
I load up the mod with Strife, GZDoom will look up the file, say a lump called "IWAD", and read it. If Strife, the lump would have something in it to load the correct DECORATE lump. This DECORATE lump would naturally have the correct #includes for the correct DECORATE files in the Decorate folder.
Pseudo code in the form of C:
Code: Select all
if(IWAD = strife1.wad)
{
Decorate = DECORATE.strife; // Which would load all the DECORATE in /Decorate/Strife/...
}
else if(IWAD = doom.wad)
{
Decorate = DECORATE.doom; // Same thing, but instead in /Doom/...
}
else
{
Decorate = Decorate.doom2; // Same, but in /Doom2/...
}
Is this feature worth looking into? If it already exists in some form (that doesn't require ZScript, hopefully), then nevermind.