Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 13, 2009, 9:12:24 PM (15 years ago)
Author:
rgrieder
Message:

Prepared build system for an external media directory.
This revision only runs in console mode! (tcl files working again)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource2/src/core/GraphicsManager.cc

    r5614 r5641  
    115115        SetConfigValue(ogreConfigFile_,  "ogre.cfg")
    116116            .description("Location of the Ogre config file");
    117         SetConfigValue(ogrePluginsFolder_, ORXONOX_OGRE_PLUGINS_FOLDER)
     117        SetConfigValue(ogrePluginsDirectory_, specialConfig::ogrePluginsDirectory)
    118118            .description("Folder where the Ogre plugins are located.");
    119         SetConfigValue(ogrePlugins_, ORXONOX_OGRE_PLUGINS)
     119        SetConfigValue(ogrePlugins_, specialConfig::ogrePlugins)
    120120            .description("Comma separated list of all plugins to load.");
    121121        SetConfigValue(ogreLogFile_,     "ogre.log")
     
    198198    {
    199199        // just to make sure the next statement doesn't segfault
    200         if (ogrePluginsFolder_ == "")
    201             ogrePluginsFolder_ = ".";
    202 
    203         boost::filesystem::path folder(ogrePluginsFolder_);
     200        if (ogrePluginsDirectory_ == "")
     201            ogrePluginsDirectory_ = ".";
     202
     203        boost::filesystem::path folder(ogrePluginsDirectory_);
    204204        // Do some SubString magic to get the comma separated list of plugins
    205205        SubString plugins(ogrePlugins_, ",", " ", false, '\\', false, '"', false, '(', ')', false, '\0');
Note: See TracChangeset for help on using the changeset viewer.