4 #include <OgreRenderSystem.h> 16 delete Ogre::Root::getSingletonPtr();
23 V_string::const_iterator path_it = resource_paths.begin();
24 V_string::const_iterator path_end = resource_paths.end();
25 for( ; path_it != path_end; ++path_it )
27 Ogre::ResourceGroupManager::getSingleton().addResourceLocation( *path_it,
"FileSystem", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME );
30 Ogre::ResourceGroupManager::getSingleton().initialiseAllResourceGroups();
void initializeResources(const V_string &resource_paths)
std::vector< std::string > V_string