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.
43 lines
694 B
C++
43 lines
694 B
C++
#ifndef OPENMW_COMPONENTS_BULLETSHAPEMANAGER_H
|
|
#define OPENMW_COMPONENTS_BULLETSHAPEMANAGER_H
|
|
|
|
#include <map>
|
|
#include <string>
|
|
|
|
#include <osg/ref_ptr>
|
|
|
|
namespace VFS
|
|
{
|
|
class Manager;
|
|
}
|
|
|
|
namespace Resource
|
|
{
|
|
class SceneManager;
|
|
}
|
|
|
|
namespace NifBullet
|
|
{
|
|
|
|
class BulletShape;
|
|
class BulletShapeInstance;
|
|
|
|
class BulletShapeManager
|
|
{
|
|
public:
|
|
BulletShapeManager(const VFS::Manager* vfs);
|
|
~BulletShapeManager();
|
|
|
|
osg::ref_ptr<BulletShapeInstance> createInstance(const std::string& name);
|
|
|
|
private:
|
|
const VFS::Manager* mVFS;
|
|
|
|
typedef std::map<std::string, osg::ref_ptr<BulletShape> > Index;
|
|
Index mIndex;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|