OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Functions
aicombataction.hpp File Reference
#include <boost/shared_ptr.hpp>
#include <components/esm/loadspel.hpp>
#include "../mwworld/ptr.hpp"
#include "../mwworld/containerstore.hpp"
Include dependency graph for aicombataction.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MWMechanics::Action
 
class  MWMechanics::ActionFlee
 
class  MWMechanics::ActionSpell
 
class  MWMechanics::ActionEnchantedItem
 
class  MWMechanics::ActionPotion
 
class  MWMechanics::ActionWeapon
 

Namespaces

 MWMechanics
 Game mechanics and NPC-AI.
 

Functions

float MWMechanics::rateSpell (const ESM::Spell *spell, const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy)
 
float MWMechanics::rateMagicItem (const MWWorld::Ptr &ptr, const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy)
 
float MWMechanics::ratePotion (const MWWorld::Ptr &item, const MWWorld::Ptr &actor)
 
float MWMechanics::rateWeapon (const MWWorld::Ptr &item, const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy, int type, float arrowRating, float boltRating)
 
float MWMechanics::rateEffect (const ESM::ENAMstruct &effect, const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy)
 
float MWMechanics::rateEffects (const ESM::EffectList &list, const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy)
 
boost::shared_ptr< Action > MWMechanics::prepareNextAction (const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy)
 
float MWMechanics::getDistanceMinusHalfExtents (const MWWorld::Ptr &actor1, const MWWorld::Ptr &actor2, bool minusZDist)
 
float MWMechanics::getMaxAttackDistance (const MWWorld::Ptr &actor)
 
bool MWMechanics::canFight (const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy)
 
float MWMechanics::vanillaRateSpell (const ESM::Spell *spell, const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy)
 
float MWMechanics::vanillaRateWeaponAndAmmo (const MWWorld::Ptr &weapon, const MWWorld::Ptr &ammo, const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy)
 
float MWMechanics::vanillaRateFlee (const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy)
 
bool MWMechanics::makeFleeDecision (const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy, float antiFleeRating)