OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Functions | Variables
pathfinding.hpp File Reference
#include <list>
#include <cassert>
#include <components/esm/defs.hpp>
#include <components/esm/loadpgrd.hpp>
Include dependency graph for pathfinding.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MWMechanics::PathFinder
 

Namespaces

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

Functions

float MWMechanics::distance (const ESM::Pathgrid::Point &point, float x, float y, float z)
 
float MWMechanics::distance (const ESM::Pathgrid::Point &a, const ESM::Pathgrid::Point &b)
 
float MWMechanics::getZAngleToDir (const osg::Vec3f &dir)
 
float MWMechanics::getXAngleToDir (const osg::Vec3f &dir)
 
float MWMechanics::getZAngleToPoint (const ESM::Pathgrid::Point &origin, const ESM::Pathgrid::Point &dest)
 
float MWMechanics::getXAngleToPoint (const ESM::Pathgrid::Point &origin, const ESM::Pathgrid::Point &dest)
 
bool MWMechanics::checkWayIsClear (const osg::Vec3f &from, const osg::Vec3f &to, float offsetXY)
 

Variables

const float MWMechanics::PATHFIND_Z_REACH = 50.0f
 
const float MWMechanics::PATHFIND_SHORTCUT_RETRY_DIST = 300.0f