forked from mirror/openmw-tes3mp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
419 B
C++
25 lines
419 B
C++
#include "resourcesystem.hpp"
|
|
|
|
#include "scenemanager.hpp"
|
|
|
|
namespace Resource
|
|
{
|
|
|
|
ResourceSystem::ResourceSystem(const VFS::Manager *vfs)
|
|
: mVFS(vfs)
|
|
{
|
|
mSceneManager.reset(new SceneManager(vfs));
|
|
}
|
|
|
|
SceneManager* ResourceSystem::getSceneManager()
|
|
{
|
|
return mSceneManager.get();
|
|
}
|
|
|
|
const VFS::Manager* ResourceSystem::getVFS() const
|
|
{
|
|
return mVFS;
|
|
}
|
|
|
|
}
|