mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-01 15:50:27 +02:00
Drop dependency on FileSystem from SceneManager
This commit is contained in:
@ -31,15 +31,11 @@ namespace scene
|
||||
public:
|
||||
|
||||
//! constructor
|
||||
CSceneManager(video::IVideoDriver* driver, io::IFileSystem* fs,
|
||||
gui::ICursorControl* cursorControl, IMeshCache* cache = nullptr);
|
||||
CSceneManager(video::IVideoDriver* driver, gui::ICursorControl* cursorControl, IMeshCache* cache = 0);
|
||||
|
||||
//! destructor
|
||||
virtual ~CSceneManager();
|
||||
|
||||
//! gets an animateable mesh. loads it if needed. returned pointer must not be dropped.
|
||||
IAnimatedMesh* getMesh(const io::path& filename, const io::path& alternativeCacheName) override;
|
||||
|
||||
//! gets an animateable mesh. loads it if needed. returned pointer must not be dropped.
|
||||
IAnimatedMesh* getMesh(io::IReadFile* file) override;
|
||||
|
||||
@ -49,9 +45,6 @@ namespace scene
|
||||
//! returns the video driver
|
||||
video::IVideoDriver* getVideoDriver() override;
|
||||
|
||||
//! return the filesystem
|
||||
io::IFileSystem* getFileSystem() override;
|
||||
|
||||
//! adds a scene node for rendering an animated mesh model
|
||||
virtual IAnimatedMeshSceneNode* addAnimatedMeshSceneNode(IAnimatedMesh* mesh, ISceneNode* parent=0, s32 id=-1,
|
||||
const core::vector3df& position = core::vector3df(0,0,0),
|
||||
@ -278,9 +271,6 @@ namespace scene
|
||||
//! video driver
|
||||
video::IVideoDriver* Driver;
|
||||
|
||||
//! file system
|
||||
io::IFileSystem* FileSystem;
|
||||
|
||||
//! cursor control
|
||||
gui::ICursorControl* CursorControl;
|
||||
|
||||
|
Reference in New Issue
Block a user