From ebdb2e410b42204466113fe2aa1d3bb8de3ec958 Mon Sep 17 00:00:00 2001 From: Caleb Butler Date: Sun, 3 Sep 2023 18:10:12 -0400 Subject: [PATCH] Remove deprecated member functions of IMeshCache --- include/IMeshCache.h | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/include/IMeshCache.h b/include/IMeshCache.h index 8916d77..532b8dc 100644 --- a/include/IMeshCache.h +++ b/include/IMeshCache.h @@ -78,46 +78,6 @@ namespace scene number. */ virtual IAnimatedMesh* getMeshByIndex(u32 index) = 0; - //! Returns a mesh based on its name (often a filename). - /** \deprecated Use getMeshByName() instead. This method may be removed by - Irrlicht 1.9 */ - _IRR_DEPRECATED_ IAnimatedMesh* getMeshByFilename(const io::path& filename) - { - return getMeshByName(filename); - } - - //! Get the name of a loaded mesh, based on its index. (Name is often identical to the filename). - /** \deprecated Use getMeshName() instead. This method may be removed by - Irrlicht 1.9 */ - _IRR_DEPRECATED_ const io::path& getMeshFilename(u32 index) const - { - return getMeshName(index).getInternalName(); - } - - //! Get the name of a loaded mesh, if there is any. (Name is often identical to the filename). - /** \deprecated Use getMeshName() instead. This method may be removed by - Irrlicht 1.9 */ - _IRR_DEPRECATED_ const io::path& getMeshFilename(const IMesh* const mesh) const - { - return getMeshName(mesh).getInternalName(); - } - - //! Renames a loaded mesh. - /** \deprecated Use renameMesh() instead. This method may be removed by - Irrlicht 1.9 */ - _IRR_DEPRECATED_ bool setMeshFilename(u32 index, const io::path& filename) - { - return renameMesh(index, filename); - } - - //! Renames a loaded mesh. - /** \deprecated Use renameMesh() instead. This method may be removed by - Irrlicht 1.9 */ - _IRR_DEPRECATED_ bool setMeshFilename(const IMesh* const mesh, const io::path& filename) - { - return renameMesh(mesh, filename); - } - //! Returns a mesh based on its name. /** \param name Name of the mesh. Usually a filename. \return Pointer to the mesh or 0 if there is none with this number. */