mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Minor correction, MWWorld::getMaxActivationDistance() is now public.
This commit is contained in:
parent
8d7de7d1ec
commit
6e2d6a0282
@ -114,7 +114,6 @@ namespace MWWorld
|
|||||||
void performUpdateSceneQueries ();
|
void performUpdateSceneQueries ();
|
||||||
void getFacedHandle(std::string& facedHandle, float maxDistance, bool ignorePlayer=true);
|
void getFacedHandle(std::string& facedHandle, float maxDistance, bool ignorePlayer=true);
|
||||||
|
|
||||||
float getMaxActivationDistance ();
|
|
||||||
float getNpcActivationDistance ();
|
float getNpcActivationDistance ();
|
||||||
float getObjectActivationDistance ();
|
float getObjectActivationDistance ();
|
||||||
|
|
||||||
@ -361,6 +360,8 @@ namespace MWWorld
|
|||||||
virtual MWWorld::Ptr safePlaceObject(const MWWorld::Ptr& ptr, MWWorld::CellStore* cell, ESM::Position pos);
|
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.
|
///< 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)
|
virtual void indexToPosition (int cellX, int cellY, float &x, float &y, bool centre = false)
|
||||||
const;
|
const;
|
||||||
///< Convert cell numbers to position.
|
///< Convert cell numbers to position.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user