diff -Naurw source/Irrlicht/CAnimatedMeshSceneNode.h source/Irrlicht/CAnimatedMeshSceneNode.h --- source/Irrlicht/CAnimatedMeshSceneNode.h 2005-08-20 22:17:52.000000000 +0200 +++ source/Irrlicht/CAnimatedMeshSceneNode.h 2005-11-21 08:12:08.000000000 +0100 @@ -90,6 +90,11 @@ //! Returns the current displayed frame number. virtual s32 getFrameNr(); + virtual const s32& getStartFrame() const { return StartFrame; } + virtual const s32& getEndFrame() const { return EndFrame; } + virtual IAnimatedMesh* getAnimatedMesh() { return Mesh; } + virtual IMesh* getMesh() { return Mesh->getMesh(0); } + private: core::array Materials; diff -Naurw include/IAnimatedMeshSceneNode.h include/IAnimatedMeshSceneNode.h --- include/IAnimatedMeshSceneNode.h 2005-08-20 22:17:44.000000000 +0200 +++ include/IAnimatedMeshSceneNode.h 2005-11-21 08:10:56.000000000 +0100 @@ -156,6 +156,10 @@ //! Please note that this will only be called when in non looped mode, //! see IAnimatedMeshSceneNode::setLoopMode(). virtual void setAnimationEndCallback(IAnimationEndCallBack* callback=0) = 0; + + virtual const s32& getStartFrame() const = 0; + virtual const s32& getEndFrame() const = 0; + virtual IAnimatedMesh* getAnimatedMesh() = 0; //! Sets if the scene node should not copy the materials of the mesh but use them in a read only style. /* In this way it is possible to change the materials a mesh causing all mesh scene nodes