- Added "misc/startupdone" sound to be played when the startup screen is closed and the game

is about to begin.

SVN r3420 (trunk)
This commit is contained in:
Randy Heit 2012-03-10 01:54:00 +00:00
parent a12729670b
commit e9f832460b
2 changed files with 10 additions and 2 deletions

View File

@ -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"))
{

View File

@ -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