~openmw/openmw/openmw-packaging2

« back to all changes in this revision

Viewing changes to apps/openmw/mwbase/world.hpp

  • Committer: Scott Howard
  • Date: 2016-09-15 20:56:29 UTC
  • Revision ID: showard@debian.org-20160915205629-3tvfxe47zrb41a91
Cron update. Git hash: 37278b5

Show diffs side-by-side

added added

removed removed

Lines of Context:
250
250
            virtual MWWorld::Ptr  getFacedObject() = 0;
251
251
            ///< Return pointer to the object the player is looking at, if it is within activation range
252
252
 
 
253
            virtual float getDistanceToFacedObject() = 0;
 
254
 
253
255
            virtual float getMaxActivationDistance() = 0;
254
256
 
255
257
            /// Returns a pointer to the object the provided object would hit (if within the
428
430
            virtual bool getLOS(const MWWorld::ConstPtr& actor,const MWWorld::ConstPtr& targetActor) = 0;
429
431
            ///< get Line of Sight (morrowind stupid implementation)
430
432
 
431
 
            virtual float getDistToNearestRayHit(const osg::Vec3f& from, const osg::Vec3f& dir, float maxDist) = 0;
 
433
            virtual float getDistToNearestRayHit(const osg::Vec3f& from, const osg::Vec3f& dir, float maxDist, bool includeWater = false) = 0;
432
434
 
433
435
            virtual void enableActorCollision(const MWWorld::Ptr& actor, bool enable) = 0;
434
436