mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +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 ();
|
S_Init ();
|
||||||
|
|
||||||
Printf ("ST_Init: Init startup screen.\n");
|
Printf ("ST_Init: Init startup screen.\n");
|
||||||
if (!restart) StartScreen = FStartupScreen::CreateInstance (TexMan.GuesstimateNumTextures() + 5);
|
if (!restart)
|
||||||
else StartScreen = new FStartupScreen(0);
|
{
|
||||||
|
StartScreen = FStartupScreen::CreateInstance (TexMan.GuesstimateNumTextures() + 5);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
StartScreen = new FStartupScreen(0);
|
||||||
|
}
|
||||||
|
|
||||||
ParseCompatibility();
|
ParseCompatibility();
|
||||||
|
|
||||||
|
@ -2314,6 +2320,7 @@ void D_DoomMain (void)
|
||||||
|
|
||||||
delete StartScreen;
|
delete StartScreen;
|
||||||
StartScreen = NULL;
|
StartScreen = NULL;
|
||||||
|
S_Sound (CHAN_BODY, "misc/startupdone", 1, ATTN_NONE);
|
||||||
|
|
||||||
if (Args->CheckParm("-norun"))
|
if (Args->CheckParm("-norun"))
|
||||||
{
|
{
|
||||||
|
|
|
@ -1119,6 +1119,7 @@ menu/dismiss dsswish // Dismiss a prompt message
|
||||||
menu/choose dsrifl // Choose a menu item
|
menu/choose dsrifl // Choose a menu item
|
||||||
menu/clear dsmtalht // Close top menu
|
menu/clear dsmtalht // Close top menu
|
||||||
|
|
||||||
|
misc/startupdone dspsdtha
|
||||||
misc/teleport dstelept
|
misc/teleport dstelept
|
||||||
misc/swish dsswish
|
misc/swish dsswish
|
||||||
misc/meathit dsmeatht
|
misc/meathit dsmeatht
|
||||||
|
|
Loading…
Reference in a new issue