OpenMW
Classes | Typedefs | Functions | Variables
Files Namespace Reference

Classes

class  Collections
struct  ConfigurationManager
struct  FixedPath
struct  NameEqual
struct  NameLess
class  MultiDirCollection
 File collection across several directories. More...

Typedefs

typedef std::vector
< boost::filesystem::path > 
PathContainer

Functions

bool loadOgrePlugin (const std::string &pluginDir, std::string pluginName, Ogre::Root &ogreRoot)
 Loads Ogre plugin with given name.

Variables

static const char *const openmwCfgFile = "openmw.cfg"
const char *const mwToken = "?mw?"
const char *const localToken = "?local?"
const char *const userToken = "?user?"
const char *const globalToken = "?global?"

Typedef Documentation

typedef std::vector< boost::filesystem::path > Files::PathContainer

Function Documentation

bool Files::loadOgrePlugin ( const std::string &  pluginDir,
std::string  pluginName,
Ogre::Root &  ogreRoot 
)

Loads Ogre plugin with given name.

Parameters:
pluginDirabsolute path to plugins
pluginNameplugin name, for example "RenderSystem_GL"
ogreRootOgre::Root instance
Returns:
whether plugin was located or not

Variable Documentation

const char* const Files::globalToken = "?global?"
const char* const Files::localToken = "?local?"
const char* const Files::mwToken = "?mw?"
const char* const Files::openmwCfgFile = "openmw.cfg" [static]
const char* const Files::userToken = "?user?"