diff --git a/!TheEsc/!RunImage,ff8 b/!TheEsc/!RunImage,ff8 index e756628..ef852ef 100644 Binary files a/!TheEsc/!RunImage,ff8 and b/!TheEsc/!RunImage,ff8 differ diff --git a/!TheEsc/Makefile,fe1 b/!TheEsc/Makefile,fe1 index 23a0c83..349038d 100644 --- a/!TheEsc/Makefile,fe1 +++ b/!TheEsc/Makefile,fe1 @@ -52,8 +52,12 @@ o.Graphics: c.Graphics o.Graphics: C:h.swis o.Graphics: C:h.kernel o.Graphics: C:h.kernel -o.Intro: c.Intro -o.Intro: h.Graphics +o.CTheEscape: c.CTheEscape +o.CTheEscape: C:h.swis +o.CTheEscape: C:h.kernel +o.CTheEscape: C:h.kernel +o.CTheEscape: h.Sound +o.CTheEscape: h.Graphics o.CTheEscape: c.CTheEscape o.CTheEscape: C:h.swis o.CTheEscape: C:h.kernel @@ -65,6 +69,8 @@ o.Sound: C:h.swis o.Sound: C:h.kernel o.Sound: C:h.kernel o.Sound: h.Sound +o.Intro: c.Intro +o.Intro: h.Graphics o.Mission1: c.Mission1 o.Mission1: h.Graphics o.Mission1: h.Sound diff --git a/!TheEsc/Tools,fe1 b/!TheEsc/Tools,fe1 index 0052b8d..b835451 100644 --- a/!TheEsc/Tools,fe1 +++ b/!TheEsc/Tools,fe1 @@ -57,6 +57,12 @@ o.MapEdit: C:h.kernel o.MapEdit: C:h.kernel o.MapEdit: h.Sound o.MapEdit: h.Graphics +o.MapEdit: c.MapEdit +o.MapEdit: C:h.swis +o.MapEdit: C:h.kernel +o.MapEdit: C:h.kernel +o.MapEdit: h.Sound +o.MapEdit: h.Graphics o.Graphics: c.Graphics o.Graphics: C:h.swis o.Graphics: C:h.kernel diff --git a/!TheEsc/c/CTheEscape b/!TheEsc/c/CTheEscape index f8222ef..7aa507b 100644 --- a/!TheEsc/c/CTheEscape +++ b/!TheEsc/c/CTheEscape @@ -72,6 +72,8 @@ int main(int argc, char *argv[]) sound_set_voice(7,"DataVox-Voice"); sound_set_voice(8,"DataVox-Voice"); + sound_pcm_nullsamples(); + // Set initial display mode display_mode(DISPLAY_MODE); screen_clear(); @@ -92,6 +94,9 @@ int main(int argc, char *argv[]) screen_clear(); #ifndef SKIP_MISSION1 + // Unload any audio samples we dont need + sound_pcm_clearsamples(); + // Mission 1 while(lastoutcome == 1) { @@ -109,6 +114,9 @@ int main(int argc, char *argv[]) #endif #ifndef SKIP_MISSION2 + // Unload any audio samples we dont need + sound_pcm_clearsamples(); + lastoutcome = 1; load_sprites("Tiles",&tilebuffer); diff --git a/!TheEsc/c/Sound b/!TheEsc/c/Sound index 5115650..c82587f 100644 --- a/!TheEsc/c/Sound +++ b/!TheEsc/c/Sound @@ -198,6 +198,30 @@ int sound_composition_incomplete() return 1; } +void sound_pcm_nullsamples() +{ + int i; + for(i=0; i