1st of a few sequencing changes

rename display_gamewindows() to init_sound_and_display_gamewindows()
(I know that's getting pretty long-named).

move activate_chosen_soundlib() into init_sound_and_display_gamewindows()
from moveloop_preamble().

Also included was a missing break in a switch related to sounds.
This commit is contained in:
nhmall
2023-01-26 17:15:59 -05:00
parent 52a44b3255
commit 446044e1d5
15 changed files with 26 additions and 23 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ nhmain(int argc, char *argv[])
*/
vision_init();
display_gamewindows();
init_sound_and_display_gamewindows();
/*
* First, try to find and restore a save file for specified character.
+1 -1
View File
@@ -448,7 +448,7 @@ _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);*/
*/
vision_init();
display_gamewindows();
init_sound_and_display_gamewindows();
/*
* First, try to find and restore a save file for specified character.
* We'll return here if new game player_selection() renames the hero.
+1 -1
View File
@@ -216,7 +216,7 @@ main(int argc, char *argv[])
*/
vision_init();
display_gamewindows();
init_sound_and_display_gamewindows();
/*
* First, try to find and restore a save file for specified character.
+1 -1
View File
@@ -183,7 +183,7 @@ main(int argc, char *argv[])
*/
vision_init();
display_gamewindows();
init_sound_and_display_gamewindows();
/*
* First, try to find and restore a save file for specified character.
+1 -1
View File
@@ -678,7 +678,7 @@ _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);*/
* new game or before a level restore on a saved game.
*/
vision_init();
display_gamewindows();
init_sound_and_display_gamewindows();
/*
* First, try to find and restore a save file for specified character.
* We'll return here if new game player_selection() renames the hero.