Commit 7818dcbf authored by hybrid's avatar hybrid

Removed some unused code.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1279 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 451d5bca
...@@ -14,18 +14,6 @@ namespace irr ...@@ -14,18 +14,6 @@ namespace irr
namespace scene namespace scene
{ {
//! Constructor
CMD3MeshFileLoader::CMD3MeshFileLoader(io::IFileSystem* fs, video::IVideoDriver* driver)
{
}
//! destructor
CMD3MeshFileLoader::~CMD3MeshFileLoader()
{
}
//! returns true if the file maybe is able to be loaded by this class //! returns true if the file maybe is able to be loaded by this class
//! based on the file extension (e.g. ".bsp") //! based on the file extension (e.g. ".bsp")
bool CMD3MeshFileLoader::isALoadableFileExtension(const c8* filename) const bool CMD3MeshFileLoader::isALoadableFileExtension(const c8* filename) const
......
...@@ -6,10 +6,6 @@ ...@@ -6,10 +6,6 @@
#define __C_MD3_MESH_FILE_LOADER_H_INCLUDED__ #define __C_MD3_MESH_FILE_LOADER_H_INCLUDED__
#include "IMeshLoader.h" #include "IMeshLoader.h"
#include "IFileSystem.h"
#include "IVideoDriver.h"
#include "IAnimatedMeshMD3.h"
#include "IQ3Shader.h"
namespace irr namespace irr
{ {
...@@ -21,12 +17,6 @@ class CMD3MeshFileLoader : public IMeshLoader ...@@ -21,12 +17,6 @@ class CMD3MeshFileLoader : public IMeshLoader
{ {
public: public:
//! Constructor
CMD3MeshFileLoader(io::IFileSystem* fs, video::IVideoDriver* driver);
//! destructor
virtual ~CMD3MeshFileLoader();
//! returns true if the file maybe is able to be loaded by this class //! returns true if the file maybe is able to be loaded by this class
//! based on the file extension (e.g. ".bsp") //! based on the file extension (e.g. ".bsp")
virtual bool isALoadableFileExtension(const c8* fileName) const; virtual bool isALoadableFileExtension(const c8* fileName) const;
...@@ -37,8 +27,6 @@ public: ...@@ -37,8 +27,6 @@ public:
//! See IReferenceCounted::drop() for more information. //! See IReferenceCounted::drop() for more information.
virtual IAnimatedMesh* createMesh(io::IReadFile* file); virtual IAnimatedMesh* createMesh(io::IReadFile* file);
private:
}; };
} // end namespace scene } // end namespace scene
......
...@@ -234,7 +234,7 @@ CSceneManager::CSceneManager(video::IVideoDriver* driver, io::IFileSystem* fs, ...@@ -234,7 +234,7 @@ CSceneManager::CSceneManager(video::IVideoDriver* driver, io::IFileSystem* fs,
MeshLoaderList.push_back(new COBJMeshFileLoader(this, FileSystem)); MeshLoaderList.push_back(new COBJMeshFileLoader(this, FileSystem));
#endif #endif
#ifdef _IRR_COMPILE_WITH_MD3_LOADER_ #ifdef _IRR_COMPILE_WITH_MD3_LOADER_
MeshLoaderList.push_back(new CMD3MeshFileLoader(FileSystem, Driver)); MeshLoaderList.push_back(new CMD3MeshFileLoader());
#endif #endif
#ifdef _IRR_COMPILE_WITH_B3D_LOADER_ #ifdef _IRR_COMPILE_WITH_B3D_LOADER_
MeshLoaderList.push_back(new CB3DMeshFileLoader(this)); MeshLoaderList.push_back(new CB3DMeshFileLoader(this));
......
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