aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/include/IMeshLoader.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/include/IMeshLoader.h
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to '')
-rw-r--r--libraries/irrlicht-1.8/include/IMeshLoader.h106
1 files changed, 53 insertions, 53 deletions
diff --git a/libraries/irrlicht-1.8/include/IMeshLoader.h b/libraries/irrlicht-1.8/include/IMeshLoader.h
index 7f874c0..3955fb4 100644
--- a/libraries/irrlicht-1.8/include/IMeshLoader.h
+++ b/libraries/irrlicht-1.8/include/IMeshLoader.h
@@ -1,53 +1,53 @@
1// Copyright (C) 2002-2012 Nikolaus Gebhardt 1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine". 2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h 3// For conditions of distribution and use, see copyright notice in irrlicht.h
4 4
5#ifndef __I_MESH_LOADER_H_INCLUDED__ 5#ifndef __I_MESH_LOADER_H_INCLUDED__
6#define __I_MESH_LOADER_H_INCLUDED__ 6#define __I_MESH_LOADER_H_INCLUDED__
7 7
8#include "IReferenceCounted.h" 8#include "IReferenceCounted.h"
9#include "path.h" 9#include "path.h"
10 10
11namespace irr 11namespace irr
12{ 12{
13namespace io 13namespace io
14{ 14{
15 class IReadFile; 15 class IReadFile;
16} // end namespace io 16} // end namespace io
17namespace scene 17namespace scene
18{ 18{
19 class IAnimatedMesh; 19 class IAnimatedMesh;
20 20
21//! Class which is able to load an animated mesh from a file. 21//! Class which is able to load an animated mesh from a file.
22/** If you want Irrlicht be able to load meshes of 22/** If you want Irrlicht be able to load meshes of
23currently unsupported file formats (e.g. .cob), then implement 23currently unsupported file formats (e.g. .cob), then implement
24this and add your new Meshloader with 24this and add your new Meshloader with
25ISceneManager::addExternalMeshLoader() to the engine. */ 25ISceneManager::addExternalMeshLoader() to the engine. */
26class IMeshLoader : public virtual IReferenceCounted 26class IMeshLoader : public virtual IReferenceCounted
27{ 27{
28public: 28public:
29 29
30 //! Destructor 30 //! Destructor
31 virtual ~IMeshLoader() {} 31 virtual ~IMeshLoader() {}
32 32
33 //! Returns true if the file might be loaded by this class. 33 //! Returns true if the file might be loaded by this class.
34 /** This decision should be based on the file extension (e.g. ".cob") 34 /** This decision should be based on the file extension (e.g. ".cob")
35 only. 35 only.
36 \param filename Name of the file to test. 36 \param filename Name of the file to test.
37 \return True if the file might be loaded by this class. */ 37 \return True if the file might be loaded by this class. */
38 virtual bool isALoadableFileExtension(const io::path& filename) const = 0; 38 virtual bool isALoadableFileExtension(const io::path& filename) const = 0;
39 39
40 //! Creates/loads an animated mesh from the file. 40 //! Creates/loads an animated mesh from the file.
41 /** \param file File handler to load the file from. 41 /** \param file File handler to load the file from.
42 \return Pointer to the created mesh. Returns 0 if loading failed. 42 \return Pointer to the created mesh. Returns 0 if loading failed.
43 If you no longer need the mesh, you should call IAnimatedMesh::drop(). 43 If you no longer need the mesh, you should call IAnimatedMesh::drop().
44 See IReferenceCounted::drop() for more information. */ 44 See IReferenceCounted::drop() for more information. */
45 virtual IAnimatedMesh* createMesh(io::IReadFile* file) = 0; 45 virtual IAnimatedMesh* createMesh(io::IReadFile* file) = 0;
46}; 46};
47 47
48 48
49} // end namespace scene 49} // end namespace scene
50} // end namespace irr 50} // end namespace irr
51 51
52#endif 52#endif
53 53