Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 18, 2009, 12:06:41 PM (15 years ago)
Author:
rgrieder
Message:

Added bLuaSupport_ to XMLFile so we can load the resource locations without lua. And therefore LuaState can access its init script via resources.
Also fixed a problem in the LevelManager with level loading.

File:
1 edited

Legend:

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

    r5658 r5660  
    103103        // Load resources
    104104        resources_.reset(new XMLFile("resources.oxr", "dataRoot"));
     105        resources_->setLuaSupport(false);
    105106        Loader::open(resources_.get());
    106107
     
    110111            Ogre::ResourceGroupManager::getSingleton().addResourceLocation(Core::getExternalDataPathString(), "FileSystem", "externalDataRoot", false);
    111112            extResources_.reset(new XMLFile("resources.oxr", "externalDataRoot"));
     113            extResources_->setLuaSupport(false);
    112114            Loader::open(extResources_.get());
    113115        }
Note: See TracChangeset for help on using the changeset viewer.