mirror of https://github.com/AxioDL/metaforce.git
Update hecl
This commit is contained in:
parent
c86e6e941f
commit
55c1b5d56f
|
@ -70,8 +70,9 @@ struct Application : boo::IApplicationCallback
|
||||||
m_cvarCommons(m_cvarManager),
|
m_cvarCommons(m_cvarManager),
|
||||||
m_console(&m_cvarManager)
|
m_console(&m_cvarManager)
|
||||||
{
|
{
|
||||||
|
//hecl::Console::RegisterLogger(&m_console);
|
||||||
m_viewManager = std::make_unique<ViewManager>(m_fileMgr, m_cvarManager);
|
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;
|
virtual ~Application() = default;
|
||||||
|
@ -142,7 +143,7 @@ struct Application : boo::IApplicationCallback
|
||||||
return m_cvarCommons.getAnisotropy();
|
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;
|
m_running = false;
|
||||||
}
|
}
|
||||||
|
|
2
hecl
2
hecl
|
@ -1 +1 @@
|
||||||
Subproject commit bdd36796ffa86c4b9ec7b51cce8e10cb002294df
|
Subproject commit fcbd33141ce6f649d8597187d1495a2e79f36610
|
Loading…
Reference in New Issue