|
|
@ -17,13 +17,18 @@
|
|
|
|
#ifndef OPENMW_COMPONENTS_RESOURCE_OBJECTCACHE
|
|
|
|
#ifndef OPENMW_COMPONENTS_RESOURCE_OBJECTCACHE
|
|
|
|
#define OPENMW_COMPONENTS_RESOURCE_OBJECTCACHE
|
|
|
|
#define OPENMW_COMPONENTS_RESOURCE_OBJECTCACHE
|
|
|
|
|
|
|
|
|
|
|
|
#include <osg/Node>
|
|
|
|
#include <osg/Referenced>
|
|
|
|
|
|
|
|
#include <osg/ref_ptr>
|
|
|
|
#include <osgDB/ReaderWriter>
|
|
|
|
|
|
|
|
#include <osgDB/DatabaseRevisions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <map>
|
|
|
|
#include <map>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace osg
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
class Object;
|
|
|
|
|
|
|
|
class State;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
namespace Resource {
|
|
|
|
namespace Resource {
|
|
|
|
|
|
|
|
|
|
|
|
class ObjectCache : public osg::Referenced
|
|
|
|
class ObjectCache : public osg::Referenced
|
|
|
|