4 #include <OgreRenderSystem.h> 15 delete Ogre::Root::getSingletonPtr();
22 V_string::const_iterator path_it = resource_paths.begin();
23 V_string::const_iterator path_end = resource_paths.end();
24 for (; path_it != path_end; ++path_it)
26 Ogre::ResourceGroupManager::getSingleton().addResourceLocation(
27 *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