forked from mirrors/0ad
Core Classes Reorganization:
- g_Terrain and g_Camera totally eradicated as globals, is now m_Terrain of CWorld and m_Camera of CGameView - terrainMain.cpp is almost completely empty with functionality moved into the relevant core classes - Miscellaneous global functions moved into Core Classes (mostly GameView) This was SVN commit r865.
This commit is contained in:
@@ -16,7 +16,10 @@ CSimulation::CSimulation(CGame *pGame):
|
||||
{}
|
||||
|
||||
void CSimulation::Initialize(CGameAttributes *pAttribs)
|
||||
{}
|
||||
{
|
||||
CMessage init_msg (CMessage::EMSG_INIT);
|
||||
g_EntityManager.dispatchAll(&init_msg);
|
||||
}
|
||||
|
||||
void CSimulation::Update(double frameTime)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user