diff --git a/apps/openmw/mwrender/mwscene.cpp b/apps/openmw/mwrender/mwscene.cpp index 5fff2c2953..aacda6be5e 100644 --- a/apps/openmw/mwrender/mwscene.cpp +++ b/apps/openmw/mwrender/mwscene.cpp @@ -97,3 +97,13 @@ std::pair MWScene::getFacedHandle (MWWorld::World& world) return std::pair(handle, distance); } + +void MWScene::doPhysics (float duration, MWWorld::World& world) +{ + +} + +void MWScene::setMovement (const std::vector& actors) +{ + +} diff --git a/apps/openmw/mwrender/mwscene.hpp b/apps/openmw/mwrender/mwscene.hpp index b4c8357cfa..9c698c95b1 100644 --- a/apps/openmw/mwrender/mwscene.hpp +++ b/apps/openmw/mwrender/mwscene.hpp @@ -54,6 +54,13 @@ namespace MWRender /// name is empty and distance = -1 if there is no object which /// can be faced std::pair getFacedHandle (MWWorld::World& world); + + /// Run physics simulation and modify \a world accordingly. + void doPhysics (float duration, MWWorld::World& world); + + /// Inform phyiscs system about desired velocity vectors for actors + /// (in Morrowind coordinates). + void setMovement (const std::vector& actors); }; }