Update submodules

This commit is contained in:
Jack Andersen 2015-11-27 12:21:19 -10:00
parent b9769f7b03
commit d9759a6ae8
4 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,8 @@
#if _WIN32
#define _CRT_RAND_S
#include <stdlib.h>
#endif
#include "SpecBase.hpp"
#include "Blender/BlenderSupport.hpp"
#include "BlenderConnection.hpp"
@ -37,7 +42,12 @@ bool SpecBase::canExtract(const ExtractPassInfo& info, std::vector<ExtractReport
if (!memcmp(gameID, "R3O", 3))
{
unsigned int t = time(nullptr);
#if _WIN32
rand_s(&t);
int r = t % 9;
#else
int r = rand_r(&t) % 9;
#endif
Log.report(LogVisor::FatalError, MomErr[r]);
}

View File

@ -41,6 +41,7 @@ struct Application : boo::IApplicationCallback
m_viewSystem.init(gf, &m_fontCache);
Specter::RootView rootView(m_viewSystem, m_mainWindow);
m_mainWindow->showWindow();
boo::IGraphicsCommandQueue* gfxQ = m_mainWindow->getCommandQueue();
while (m_running)
{

2
hecl

@ -1 +1 @@
Subproject commit a03fc683d57ae0fb76dfd54a9c417193bc4944f9
Subproject commit 1d4c4c692c253dbc9db03728f38b82972eebfbb6

@ -1 +1 @@
Subproject commit 8c37e1f30e8ece99837200b949313be7ec570133
Subproject commit d3f46ed36619d6e88ffe4de9afbc972b8bf0423f