added MechanicsManager::update function (doesn't update anything yet)

This commit is contained in:
Marc Zinnschlag 2010-07-27 20:46:05 +08:00 committed by apreiml
parent fef6fc1340
commit 0383ad550a
3 changed files with 11 additions and 0 deletions

View file

@ -64,6 +64,9 @@ bool OMW::Engine::frameStarted(const Ogre::FrameEvent& evt)
if (changed) // keep change flag for another frame, if cell changed happend in local script
mEnvironment.mWorld->markCellAsUnchanged();
// update actors
mEnvironment.mMechanicsManager->update();
return true;
}

View file

@ -62,5 +62,10 @@ namespace MWMechanics
else
++iter;
}
void MechanicsManager::update()
{
}
}

View file

@ -37,6 +37,9 @@ namespace MWMechanics
void dropActors (const MWWorld::Ptr::CellStore *cellStore);
///< Deregister all actors in the given cell.
void update();
///< Update actor stats
};
}