From e9f832460bd644d6447cc13d94a324966a3a8c4f Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 10 Mar 2012 01:54:00 +0000 Subject: [PATCH] - Added "misc/startupdone" sound to be played when the startup screen is closed and the game is about to begin. SVN r3420 (trunk) --- src/d_main.cpp | 11 +++++++++-- wadsrc/static/sndinfo.txt | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index 72afd1912..a15aa9378 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -2166,8 +2166,14 @@ void D_DoomMain (void) S_Init (); Printf ("ST_Init: Init startup screen.\n"); - if (!restart) StartScreen = FStartupScreen::CreateInstance (TexMan.GuesstimateNumTextures() + 5); - else StartScreen = new FStartupScreen(0); + if (!restart) + { + StartScreen = FStartupScreen::CreateInstance (TexMan.GuesstimateNumTextures() + 5); + } + else + { + StartScreen = new FStartupScreen(0); + } ParseCompatibility(); @@ -2314,6 +2320,7 @@ void D_DoomMain (void) delete StartScreen; StartScreen = NULL; + S_Sound (CHAN_BODY, "misc/startupdone", 1, ATTN_NONE); if (Args->CheckParm("-norun")) { diff --git a/wadsrc/static/sndinfo.txt b/wadsrc/static/sndinfo.txt index 513832a59..49c6279b0 100644 --- a/wadsrc/static/sndinfo.txt +++ b/wadsrc/static/sndinfo.txt @@ -1119,6 +1119,7 @@ menu/dismiss dsswish // Dismiss a prompt message menu/choose dsrifl // Choose a menu item menu/clear dsmtalht // Close top menu +misc/startupdone dspsdtha misc/teleport dstelept misc/swish dsswish misc/meathit dsmeatht