MCPcopy Create free account
hub / github.com/diasurgical/devilution / mainmenu_init_menu

Function mainmenu_init_menu

Source/mainmenu.cpp:136–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136BOOL mainmenu_init_menu(int type)
137{
138 BOOL success;
139
140 if (type == SELHERO_PREVIOUS)
141 return TRUE;
142
143 music_stop();
144
145 success = StartGame(type != SELHERO_CONTINUE, type != SELHERO_CONNECT);
146 if (success)
147 mainmenu_refresh_music();
148
149 return success;
150}
151
152BOOL mainmenu_multi_player()
153{

Callers 2

mainmenu_single_playerFunction · 0.85
mainmenu_multi_playerFunction · 0.85

Calls 3

music_stopFunction · 0.85
StartGameFunction · 0.85
mainmenu_refresh_musicFunction · 0.85

Tested by

no test coverage detected