From 43947f1886b61d477dd7ce9830289bfdc28bf172 Mon Sep 17 00:00:00 2001 From: Mike Swanson Date: Tue, 30 Dec 2008 17:08:59 -0800 Subject: [PATCH] buildcfg: Separate demos to specific IWAD targets The same demos won't work across IWADs; the previous commit completely locked up Boom when using doom.wad. Now there will be independent demos for each IWAD. Signed-off-by: Mike Swanson --- buildcfg.txt | 22 +++++++++++++++++++--- lumps/{demo1.lmp => demo1_d2.lmp} | Bin 2 files changed, 19 insertions(+), 3 deletions(-) rename lumps/{demo1.lmp => demo1_d2.lmp} (100%) diff --git a/buildcfg.txt b/buildcfg.txt index df71988d..93d4c695 100644 --- a/buildcfg.txt +++ b/buildcfg.txt @@ -185,14 +185,30 @@ MAP32 PLAYPAL COLORMAP ENDOOM -DEMO1 -DEMO2 -DEMO3 GENMIDI ;DMXGUS ;DMXGUSC FREEDOOM +#ifdef DOOM2 + +DEMO1 = demo1_d2 + +#else + +DEMO1 + +#endif /* #ifdef DOOM2 */ + +DEMO2 +DEMO3 + +#ifdef ULTDOOM + +DEMO4 + +#endif /* #ifdef ULTDOOM */ + ; boom colormaps C_START diff --git a/lumps/demo1.lmp b/lumps/demo1_d2.lmp similarity index 100% rename from lumps/demo1.lmp rename to lumps/demo1_d2.lmp