MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / MainMenu

Method MainMenu

PanzerChasm/menu.cpp:2257–2267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2255};
2256
2257MainMenu::MainMenu( const Sound::SoundEnginePtr& sound_engine, HostCommands& host_commands )
2258 : MenuBase( nullptr, sound_engine )
2259 , host_commands_(host_commands)
2260{
2261 submenus_[0].reset( new NewGameMenu( this, sound_engine, host_commands ) );
2262 submenus_[1].reset( new NetworkMenu( this, sound_engine, host_commands ) );
2263 submenus_[2].reset( new SaveLoadMenu( this, sound_engine, host_commands, SaveLoadMenu::What::Save ) );
2264 submenus_[3].reset( new SaveLoadMenu( this, sound_engine, host_commands, SaveLoadMenu::What::Load ) );
2265 submenus_[4].reset( new OptionsMenu( this, sound_engine, host_commands ) );
2266 submenus_[5].reset( new QuitMenu( this, sound_engine, host_commands ) );
2267}
2268
2269MainMenu::~MainMenu()
2270{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected