OpenMW
|
#include "aicombataction.hpp"
#include <components/esm/loadench.hpp>
#include <components/esm/loadmgef.hpp>
#include "../mwbase/environment.hpp"
#include "../mwbase/world.hpp"
#include "../mwbase/mechanicsmanager.hpp"
#include "../mwworld/class.hpp"
#include "../mwworld/esmstore.hpp"
#include "../mwworld/inventorystore.hpp"
#include "../mwworld/actionequip.hpp"
#include "../mwworld/cellstore.hpp"
#include "npcstats.hpp"
#include "spellcasting.hpp"
#include "combat.hpp"
#include "weaponpriority.hpp"
#include "spellpriority.hpp"
Namespaces | |
MWMechanics | |
Game mechanics and NPC-AI. | |
Functions | |
float | MWMechanics::suggestCombatRange (int rangeTypes) |
std::shared_ptr< Action > | MWMechanics::prepareNextAction (const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy) |
float | MWMechanics::getBestActionRating (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::vanillaRateFlee (const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy) |
bool | MWMechanics::makeFleeDecision (const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy, float antiFleeRating) |