Commit 54356391 authored by bitplane's avatar bitplane

Removed getMS3DJointNode, getXJointNode, and EGDS_MESSAGE_BOX_MAX_TEST_WIDTH....

Removed getMS3DJointNode, getXJointNode, and EGDS_MESSAGE_BOX_MAX_TEST_WIDTH. Added deprecated warnings to some more methods, plus a couple of doc string fixes.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3593 dfc29bdd-3216-0410-991c-e03cc46cb475
parent c9a101c0
...@@ -130,12 +130,6 @@ namespace scene ...@@ -130,12 +130,6 @@ namespace scene
/** \return Amount of joints in the mesh. */ /** \return Amount of joints in the mesh. */
virtual u32 getJointCount() const = 0; virtual u32 getJointCount() const = 0;
//! Deprecated command, please use getJointNode
virtual ISceneNode* getMS3DJointNode(const c8* jointName) = 0;
//! Deprecated command, please use getJointNode
virtual ISceneNode* getXJointNode(const c8* jointName) = 0;
//! Starts a default MD2 animation. //! Starts a default MD2 animation.
/** With this method it is easily possible to start a Run, /** With this method it is easily possible to start a Run,
Attack, Die or whatever animation, if the mesh contained in Attack, Die or whatever animation, if the mesh contained in
...@@ -161,7 +155,7 @@ namespace scene ...@@ -161,7 +155,7 @@ namespace scene
animation with this name could be found. */ animation with this name could be found. */
virtual bool setMD2Animation(const c8* animationName) = 0; virtual bool setMD2Animation(const c8* animationName) = 0;
//! Returns the current displayed frame number. //! Returns the currently displayed frame number.
virtual f32 getFrameNr() const = 0; virtual f32 getFrameNr() const = 0;
//! Returns the current start frame number. //! Returns the current start frame number.
virtual s32 getStartFrame() const = 0; virtual s32 getStartFrame() const = 0;
...@@ -179,7 +173,7 @@ namespace scene ...@@ -179,7 +173,7 @@ namespace scene
virtual void setAnimationEndCallback(IAnimationEndCallBack* callback=0) = 0; virtual void setAnimationEndCallback(IAnimationEndCallBack* callback=0) = 0;
//! Sets if the scene node should not copy the materials of the mesh but use them in a read only style. //! 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 /** In this way it is possible to change the materials a mesh
causing all mesh scene nodes referencing this mesh to change causing all mesh scene nodes referencing this mesh to change
too. */ too. */
virtual void setReadOnlyMaterials(bool readonly) = 0; virtual void setReadOnlyMaterials(bool readonly) = 0;
......
...@@ -61,7 +61,7 @@ namespace scene ...@@ -61,7 +61,7 @@ namespace scene
//! Get the name of the bone //! Get the name of the bone
/** \deprecated Use getName instead. */ /** \deprecated Use getName instead. */
virtual const c8* getBoneName() const { return getName(); } _IRR_DEPRECATED_ virtual const c8* getBoneName() const { return getName(); }
//! Get the index of the bone //! Get the index of the bone
virtual u32 getBoneIndex() const = 0; virtual u32 getBoneIndex() const = 0;
......
...@@ -197,7 +197,7 @@ public: ...@@ -197,7 +197,7 @@ public:
\param ignorePaths: If set to true, files in the added archive can be accessed \param ignorePaths: If set to true, files in the added archive can be accessed
without its complete path. without its complete path.
\return True if the archive was added successfully, false if not. */ \return True if the archive was added successfully, false if not. */
virtual bool addZipFileArchive(const c8* filename, bool ignoreCase=true, bool ignorePaths=true) _IRR_DEPRECATED_ virtual bool addZipFileArchive(const c8* filename, bool ignoreCase=true, bool ignorePaths=true)
{ {
return addFileArchive(filename, ignoreCase, ignorePaths, EFAT_ZIP); return addFileArchive(filename, ignoreCase, ignorePaths, EFAT_ZIP);
} }
...@@ -213,7 +213,7 @@ public: ...@@ -213,7 +213,7 @@ public:
\param ignorePaths: If set to true, files in the added archive can be accessed \param ignorePaths: If set to true, files in the added archive can be accessed
without its complete path. without its complete path.
\return True if the archive was added successful, false if not. */ \return True if the archive was added successful, false if not. */
virtual bool addFolderFileArchive(const c8* filename, bool ignoreCase=true, bool ignorePaths=true) _IRR_DEPRECATED_ virtual bool addFolderFileArchive(const c8* filename, bool ignoreCase=true, bool ignorePaths=true)
{ {
return addFileArchive(filename, ignoreCase, ignorePaths, EFAT_FOLDER); return addFileArchive(filename, ignoreCase, ignorePaths, EFAT_FOLDER);
} }
...@@ -231,7 +231,7 @@ public: ...@@ -231,7 +231,7 @@ public:
\param ignorePaths: If set to true, files in the added archive can be accessed \param ignorePaths: If set to true, files in the added archive can be accessed
without its complete path.(should not use with Quake2 paks without its complete path.(should not use with Quake2 paks
\return True if the archive was added successful, false if not. */ \return True if the archive was added successful, false if not. */
virtual bool addPakFileArchive(const c8* filename, bool ignoreCase=true, bool ignorePaths=true) _IRR_DEPRECATED_ virtual bool addPakFileArchive(const c8* filename, bool ignoreCase=true, bool ignorePaths=true)
{ {
return addFileArchive(filename, ignoreCase, ignorePaths, EFAT_PAK); return addFileArchive(filename, ignoreCase, ignorePaths, EFAT_PAK);
} }
......
...@@ -177,8 +177,6 @@ namespace gui ...@@ -177,8 +177,6 @@ namespace gui
EGDS_MESSAGE_BOX_MIN_TEXT_WIDTH, EGDS_MESSAGE_BOX_MIN_TEXT_WIDTH,
//! maximal space to reserve for messagebox text-width //! maximal space to reserve for messagebox text-width
EGDS_MESSAGE_BOX_MAX_TEXT_WIDTH, EGDS_MESSAGE_BOX_MAX_TEXT_WIDTH,
//! deprecated - this was a typo. Should be removed for 1.8
EGDS_MESSAGE_BOX_MAX_TEST_WIDTH = EGDS_MESSAGE_BOX_MAX_TEXT_WIDTH,
//! minimal space to reserve for messagebox text-height //! minimal space to reserve for messagebox text-height
EGDS_MESSAGE_BOX_MIN_TEXT_HEIGHT, EGDS_MESSAGE_BOX_MIN_TEXT_HEIGHT,
//! maximal space to reserve for messagebox text-height //! maximal space to reserve for messagebox text-height
......
...@@ -94,7 +94,7 @@ namespace scene ...@@ -94,7 +94,7 @@ namespace scene
/** \deprecated Use scale() instead /** \deprecated Use scale() instead
\param mesh Mesh on which the operation is performed. \param mesh Mesh on which the operation is performed.
\param factor Scale factor for each axis. */ \param factor Scale factor for each axis. */
void scaleMesh(IMesh* mesh, const core::vector3df& factor) const {return scale(mesh,factor);} _IRR_DEPRECATED_ void scaleMesh(IMesh* mesh, const core::vector3df& factor) const {return scale(mesh,factor);}
//! Scale the texture coords of a mesh. //! Scale the texture coords of a mesh.
/** \param mesh Mesh on which the operation is performed. /** \param mesh Mesh on which the operation is performed.
...@@ -134,7 +134,7 @@ namespace scene ...@@ -134,7 +134,7 @@ namespace scene
/** \deprecated Use transform() instead /** \deprecated Use transform() instead
\param mesh Mesh on which the operation is performed. \param mesh Mesh on which the operation is performed.
\param m transformation matrix. */ \param m transformation matrix. */
virtual void transformMesh(IMesh* mesh, const core::matrix4& m) const {return transform(mesh,m);} _IRR_DEPRECATED_ virtual void transformMesh(IMesh* mesh, const core::matrix4& m) const {return transform(mesh,m);}
//! Clones a static IMesh into a modifiable SMesh. //! Clones a static IMesh into a modifiable SMesh.
/** All meshbuffers in the returned SMesh /** All meshbuffers in the returned SMesh
......
...@@ -1217,7 +1217,7 @@ namespace video ...@@ -1217,7 +1217,7 @@ namespace video
\return The created image. \return The created image.
If you no longer need the image, you should call IImage::drop(). If you no longer need the image, you should call IImage::drop().
See IReferenceCounted::drop() for more information. */ See IReferenceCounted::drop() for more information. */
virtual IImage* createImage(ECOLOR_FORMAT format, IImage *imageToCopy) =0; _IRR_DEPRECATED_ virtual IImage* createImage(ECOLOR_FORMAT format, IImage *imageToCopy) =0;
//! Creates a software image from a part of another image. //! Creates a software image from a part of another image.
/** \deprecated Create an empty image and use copyTo() /** \deprecated Create an empty image and use copyTo()
...@@ -1227,7 +1227,7 @@ namespace video ...@@ -1227,7 +1227,7 @@ namespace video
\return The created image. \return The created image.
If you no longer need the image, you should call IImage::drop(). If you no longer need the image, you should call IImage::drop().
See IReferenceCounted::drop() for more information. */ See IReferenceCounted::drop() for more information. */
virtual IImage* createImage(IImage* imageToCopy, _IRR_DEPRECATED_ virtual IImage* createImage(IImage* imageToCopy,
const core::position2d<s32>& pos, const core::position2d<s32>& pos,
const core::dimension2d<u32>& size) =0; const core::dimension2d<u32>& size) =0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment