OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Variables
aiwander.cpp File Reference
#include "aiwander.hpp"
#include <cfloat>
#include <iostream>
#include <components/misc/rng.hpp>
#include <components/esm/aisequence.hpp>
#include "../mwbase/world.hpp"
#include "../mwbase/environment.hpp"
#include "../mwbase/mechanicsmanager.hpp"
#include "../mwbase/dialoguemanager.hpp"
#include "../mwbase/soundmanager.hpp"
#include "../mwworld/class.hpp"
#include "../mwworld/esmstore.hpp"
#include "../mwworld/cellstore.hpp"
#include "creaturestats.hpp"
#include "steering.hpp"
#include "movement.hpp"
#include "coordinateconverter.hpp"
#include "actorutil.hpp"
Include dependency graph for aiwander.cpp:

Classes

struct  MWMechanics::AiWanderStorage
 This class holds the variables AiWander needs which are deleted if the package becomes inactive. More...
 

Namespaces

 MWMechanics
 Game mechanics and NPC-AI.
 

Variables

static const int MWMechanics::COUNT_BEFORE_RESET = 10
 
static const float MWMechanics::DOOR_CHECK_INTERVAL = 1.5f
 
static const int MWMechanics::GREETING_SHOULD_START = 4
 
static const int MWMechanics::GREETING_SHOULD_END = 10
 
static const int MWMechanics::DESTINATION_TOLERANCE = 64
 
static const int MWMechanics::MINIMUM_WANDER_DISTANCE = DESTINATION_TOLERANCE * 2