- update $musicalias to allow iwad remapping when used from game_support.pk3

- add music aliases for the unity version of Doom/Doom2 for digitized game soundtrack
- this fixes issue #1268
This commit is contained in:
Rachael Alexanderson 2021-01-06 06:30:54 -05:00
parent c28e53511c
commit 65c7b77997
3 changed files with 24 additions and 1 deletions

View file

@ -1176,7 +1176,7 @@ static void S_AddSNDINFO (int lump)
// do not set the alias if a later WAD defines its own music of this name
int file = fileSystem.GetFileContainer(lump);
int sndifile = fileSystem.GetFileContainer(sc.LumpNum);
if (file > sndifile)
if (!(sndifile == 1 && file <= fileSystem.GetIwadNum()) && (file > sndifile))
{
sc.MustGetString();
continue;

View file

@ -0,0 +1,9 @@
$musicalias d_inter d_e2m3
$musicalias d_e2m5 d_e1m7
$musicalias d_e3m5 d_e1m7
$musicalias d_e3m1 d_e2m9
$musicalias d_e3m4 d_e1m8
$musicalias d_e3m5 d_e1m7
$musicalias d_e3m6 d_e1m6
$musicalias d_e3m7 d_e2m7
$musicalias d_e3m9 d_e1m9

View file

@ -0,0 +1,14 @@
$musicalias d_count2 d_countd
$musicalias d_ddtbl2 d_ddtblu
$musicalias d_ddtbl3 d_ddtblu
$musicalias d_dead2 d_dead
$musicalias d_doom2 d_doom
$musicalias d_messg2 d_messag
$musicalias d_romer2 d_romero
$musicalias d_runni2 d_runnin
$musicalias d_shawn2 d_shawn
$musicalias d_stlks2 d_stalks
$musicalias d_theda2 d_the_da
$musicalias d_shawn3 d_shawn
$musicalias d_stlks3 d_stalks
$musicalias d_theda3 d_the_da