Submoduel updates

This commit is contained in:
Jack Andersen 2015-11-25 21:38:56 -10:00
parent 67c2882dd2
commit f05227a5b0
5 changed files with 9 additions and 13 deletions

View File

@ -17,7 +17,6 @@ struct Application : boo::IApplicationCallback
Zeus::CColor m_clearColor;
bool m_running = true;
void onCVarModified(Retro::CVar* cvar)
{
if (cvar == m_cvarManager.findCVar("r_clearColor"))
@ -27,7 +26,7 @@ struct Application : boo::IApplicationCallback
Application() :
m_fileMgr(_S("rude")),
m_fontCache(m_fileMgr),
m_cvarManager(m_fileMgr){}
m_cvarManager(m_fileMgr) {}
int appMain(boo::IApplication* app)
{
@ -40,21 +39,18 @@ struct Application : boo::IApplicationCallback
boo::IGraphicsDataFactory* gf = m_mainWindow->getMainContextDataFactory();
m_viewSystem.init(gf, &m_fontCache);
Specter::FontTag mainFont = m_fontCache.prepMainFont(gf, false, 10.0, 72);
m_fontCache.closeBuiltinFonts();
Specter::RootView rootView(m_viewSystem, m_mainWindow);
Specter::TextView textView(m_viewSystem, mainFont);
textView.typesetGlyphs("Hello, World!");
boo::IGraphicsCommandQueue* gfxQ = m_mainWindow->getCommandQueue();
while (m_running)
{
m_cvarManager.update();
m_mainWindow->waitForRetrace();
rootView.draw(gfxQ);
gfxQ->flushBufferUpdates();
gfxQ->execute();
}
return 0;
}
void appQuitting(boo::IApplication*)

2
NODLib

@ -1 +1 @@
Subproject commit d94e89990fcc5e51ae5420bef78e1a414b7aa373
Subproject commit 2f1199d52096632ed9fcf0b5689de4b89c2146e2

View File

@ -55,7 +55,7 @@ void CGameAllocator::Shutdown()
}
void* CGameAllocator::Alloc(size_t sz, EHint, EScope, EType, const CCallStack&)
{
AllocLog.report(LogVisor::Warning, _S("Remind Phil to reimplement Alloc!!!!"));
//AllocLog.report(LogVisor::Warning, _S("Remind Phil to reimplement Alloc!!!!"));
return malloc(sz);
}
void CGameAllocator::Free(void* ptr)

2
hecl

@ -1 +1 @@
Subproject commit e40b5138ead775b5583bf68cd0b14f5161714c78
Subproject commit c74e7d1fd881190c66004e48cfc04fd9aec07850

@ -1 +1 @@
Subproject commit 71fba378f00ae86583e2d1092bffde8c13646dec
Subproject commit 822b16e3ced408af9f4be7a83b03d22727a4ab95