MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / InitMenu

Function InitMenu

Source/menu.cpp:52–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52bool InitMenu(_selhero_selections type)
53{
54 bool success;
55
56 if (type == SELHERO_PREVIOUS)
57 return true;
58
59 success = StartGame(type != SELHERO_CONTINUE, type != SELHERO_CONNECT);
60 if (success)
61 RefreshMusic();
62
63 return success;
64}
65
66bool InitSinglePlayerMenu()
67{

Callers 2

InitSinglePlayerMenuFunction · 0.85
InitMultiPlayerMenuFunction · 0.85

Calls 2

RefreshMusicFunction · 0.85
StartGameFunction · 0.70

Tested by

no test coverage detected