2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 23:47:42 +00:00

Implement WorldTeleporter and SpiderBallWaypoint

This commit is contained in:
2017-08-08 15:12:14 -07:00
parent 69187353b9
commit ecff2b7f8d
16 changed files with 402 additions and 35 deletions

View File

@@ -32,7 +32,7 @@ struct Application : boo::IApplicationCallback
m_fileMgr(_S("urde")),
m_cvarManager(m_fileMgr)
{
m_viewManager.reset(new ViewManager(m_fileMgr, m_cvarManager));
m_viewManager = std::make_unique<ViewManager>(m_fileMgr, m_cvarManager);
}
virtual ~Application() = default;
@@ -74,7 +74,7 @@ struct Application : boo::IApplicationCallback
zeus::detectCPU();
for (const boo::SystemString& arg : app->getArgs())
{
if (arg.find(_S("--verbosity=")) == 0)
if (arg.find(_S("--verbosity=")) == 0 || arg.find(_S("-v=")) == 0)
{
hecl::SystemUTF8View utf8Arg(arg.substr(arg.find_last_of('=') + 1));
hecl::VerbosityLevel = atoi(utf8Arg.c_str());