OpenMW
|
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 |