OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Functions | Variables
obstacle.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MWMechanics::ObstacleCheck
 

Namespaces

 MWWorld
 World data.
 
 MWMechanics
 Game mechanics and NPC-AI.
 

Functions

bool MWMechanics::proximityToDoor (const MWWorld::Ptr &actor, float minSqr=MIN_DIST_TO_DOOR_SQUARED)
 tests actor's proximity to a closed door by default More...
 
MWWorld::Ptr MWMechanics::getNearbyDoor (const MWWorld::Ptr &actor, float minSqr=MIN_DIST_TO_DOOR_SQUARED)
 Returns door pointer within range. No guarantee is given as to which one. More...
 

Variables

static const float MWMechanics::MIN_DIST_TO_DOOR_SQUARED = 128*128
 NOTE: determined empirically based on in-game behaviour. More...
 
static const int MWMechanics::NUM_EVADE_DIRECTIONS = 4