Update hecl

This commit is contained in:
Phillip Stephens 2018-01-11 08:27:48 -08:00
parent c86e6e941f
commit 55c1b5d56f
2 changed files with 4 additions and 3 deletions

View File

@ -70,8 +70,9 @@ struct Application : boo::IApplicationCallback
m_cvarCommons(m_cvarManager),
m_console(&m_cvarManager)
{
//hecl::Console::RegisterLogger(&m_console);
m_viewManager = std::make_unique<ViewManager>(m_fileMgr, m_cvarManager);
m_console.registerCommand("quit", "Quits application instantly", "", std::bind(&Application::quit, this, std::placeholders::_1));
m_console.registerCommand("quit", "Quits application instantly", "", std::bind(&Application::quit, this, std::placeholders::_1, std::placeholders::_2));
}
virtual ~Application() = default;
@ -142,7 +143,7 @@ struct Application : boo::IApplicationCallback
return m_cvarCommons.getAnisotropy();
}
void quit(const std::vector<std::string>& arg = std::vector<std::string>())
void quit(hecl::Console* con = nullptr, const std::vector<std::string>& arg = std::vector<std::string>())
{
m_running = false;
}

2
hecl

@ -1 +1 @@
Subproject commit bdd36796ffa86c4b9ec7b51cce8e10cb002294df
Subproject commit fcbd33141ce6f649d8597187d1495a2e79f36610