mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 11:04:56 +00:00
Submoduel updates
This commit is contained in:
@@ -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
2
NODLib
Submodule NODLib updated: d94e89990f...2f1199d520
@@ -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
2
hecl
Submodule hecl updated: e40b5138ea...c74e7d1fd8
Submodule libSpecter updated: 71fba378f0...822b16e3ce
Reference in New Issue
Block a user