|
|
|
@ -115,7 +115,6 @@ namespace MWWorld
|
|
|
|
|
void performUpdateSceneQueries ();
|
|
|
|
|
void getFacedHandle(std::string& facedHandle, float maxDistance, bool ignorePlayer=true);
|
|
|
|
|
|
|
|
|
|
float getMaxActivationDistance ();
|
|
|
|
|
float getNpcActivationDistance ();
|
|
|
|
|
float getObjectActivationDistance ();
|
|
|
|
|
|
|
|
|
@ -363,6 +362,8 @@ namespace MWWorld
|
|
|
|
|
virtual MWWorld::Ptr safePlaceObject(const MWWorld::Ptr& ptr, MWWorld::CellStore* cell, ESM::Position pos);
|
|
|
|
|
///< place an object in a "safe" location (ie not in the void, etc). Makes a copy of the Ptr.
|
|
|
|
|
|
|
|
|
|
virtual float getMaxActivationDistance();
|
|
|
|
|
|
|
|
|
|
virtual void indexToPosition (int cellX, int cellY, float &x, float &y, bool centre = false)
|
|
|
|
|
const;
|
|
|
|
|
///< Convert cell numbers to position.
|
|
|
|
@ -633,7 +634,7 @@ namespace MWWorld
|
|
|
|
|
virtual void spawnEffect (const std::string& model, const std::string& textureOverride, const Ogre::Vector3& worldPos);
|
|
|
|
|
|
|
|
|
|
virtual void explodeSpell (const Ogre::Vector3& origin, const ESM::EffectList& effects,
|
|
|
|
|
const MWWorld::Ptr& caster, int rangeType, const std::string& id, const std::string& sourceName);
|
|
|
|
|
const MWWorld::Ptr& caster, ESM::RangeType rangeType, const std::string& id, const std::string& sourceName);
|
|
|
|
|
|
|
|
|
|
virtual void activate (const MWWorld::Ptr& object, const MWWorld::Ptr& actor);
|
|
|
|
|
|
|
|
|
|