Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 23, 2009, 7:44:49 PM (14 years ago)
Author:
rgrieder
Message:

Simplified our resource system a bit by working with a single resource group on the user end.
However you can still declare resource groups for separate loading. But accessing the files will always look in all groups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/core/GUIManager.cc

    r6387 r6404  
    125125        // setup scripting
    126126        luaState_.reset(new LuaState());
    127         rootFileInfo_ = Resource::getInfo("InitialiseGUI.lua", "GUI");
     127        rootFileInfo_ = Resource::getInfo("InitialiseGUI.lua");
    128128        // This is necessary to ensure that input events also use the right resource info when triggering lua functions
    129129        luaState_->setDefaultResourceInfo(this->rootFileInfo_);
     
    142142
    143143        // Initialise the basic Lua code
    144         this->luaState_->doFile("InitialiseGUI.lua", "GUI", false);
     144        this->luaState_->doFile("InitialiseGUI.lua");
    145145
    146146        // Align CEGUI mouse with OIS mouse
Note: See TracChangeset for help on using the changeset viewer.