This commit is contained in:
turanszkij
2016-05-01 19:02:57 +02:00
parent f1de37b4cb
commit 3809195d23
10 changed files with 156 additions and 23 deletions
+5 -1
View File
@@ -101,7 +101,7 @@ void MainComponent::run()
Update();
}
getActiveComponent()->FixedUpdate(elapsedTime);
getActiveComponent()->FixedUpdate((float)elapsedTime);
Render();
@@ -112,6 +112,8 @@ void MainComponent::run()
wiLua::GetGlobal()->RunFile("startup.lua");
startupScriptProcessed = true;
}
wiInputManager::ManageTouches();
}
void MainComponent::Update()
@@ -211,6 +213,8 @@ bool MainComponent::setWindow(Windows::UI::Core::CoreWindow^ window)
screenH = (int)window->Bounds.Height;
wiRenderer::InitDevice(window);
this->window = window;
return true;
}
#endif