|
OpenMW
|
#include "obstacle.hpp"#include <components/esm/loadcell.hpp>#include <components/sceneutil/positionattitudetransform.hpp>#include "../mwbase/world.hpp"#include "../mwworld/class.hpp"#include "../mwworld/cellstore.hpp"#include "movement.hpp"Namespaces | |
| MWMechanics | |
| Game mechanics and NPC-AI. | |
Functions | |
| bool | MWMechanics::proximityToDoor (const MWWorld::Ptr &actor, float minDist) |
| tests actor's proximity to a closed door by default More... | |
| const MWWorld::Ptr | MWMechanics::getNearbyDoor (const MWWorld::Ptr &actor, float minDist) |
| Returns door pointer within range. No guarantee is given as to which one. More... | |
Variables | |
| static const float | MWMechanics::DIST_SAME_SPOT = 0.5f |
| static const float | MWMechanics::DURATION_SAME_SPOT = 1.5f |
| static const float | MWMechanics::DURATION_TO_EVADE = 0.4f |
1.8.6