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

pull/7/head
Marc Zinnschlag 15 years ago
parent 1d9df6cf40
commit 335425bb12

@ -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;
}

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

@ -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
};
}

Loading…
Cancel
Save