mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- 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:
parent
a12729670b
commit
e9f832460b
2 changed files with 10 additions and 2 deletions
|
@ -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"))
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue