Changeset 1776 for code/trunk/src/orxonox/gui
- Timestamp:
- Sep 13, 2008, 9:32:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/gui/GUIManager.cc
r1764 r1776 122 122 if (state_ == Uninitialised) 123 123 { 124 COUT(3) << "In tialising CEGUI." << std::endl;124 COUT(3) << "Initialising CEGUI." << std::endl; 125 125 126 126 try … … 140 140 this->resourceProvider_ = guiRenderer_->createResourceProvider(); 141 141 this->resourceProvider_->setDefaultResourceGroup("GUI"); 142 142 143 143 // setup scripting 144 144 this->scriptModule_ = new LuaScriptModule(); … … 147 147 // create the CEGUI system singleton 148 148 this->guiSystem_ = new System(this->guiRenderer_, this->resourceProvider_, 0, this->scriptModule_); 149 149 150 150 // set the log level according to ours (translate by subtracting 1) 151 151 Logger::getSingleton().setLoggingLevel( 152 152 (LoggingLevel)(Core::getSoftDebugLevel(OutputHandler::LD_Logfile) - 1)); 153 153 154 154 // do this after 'new CEGUI::Sytem' because that creates the lua state in the first place 155 155 tolua_Core_open(this->scriptModule_->getLuaState()); … … 178 178 state_ = Ready; 179 179 } 180 180 181 181 return true; 182 182 }
Note: See TracChangeset
for help on using the changeset viewer.