Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1776 for code/trunk/src


Ignore:
Timestamp:
Sep 13, 2008, 9:32:44 PM (16 years ago)
Author:
landauf
Message:

Many changes in almost all FindXYZ.cmake files. They now throw errors if something wasn't found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/gui/GUIManager.cc

    r1764 r1776  
    122122        if (state_ == Uninitialised)
    123123        {
    124             COUT(3) << "Intialising CEGUI." << std::endl;
     124            COUT(3) << "Initialising CEGUI." << std::endl;
    125125
    126126            try
     
    140140                this->resourceProvider_ = guiRenderer_->createResourceProvider();
    141141                this->resourceProvider_->setDefaultResourceGroup("GUI");
    142                
     142
    143143                // setup scripting
    144144                this->scriptModule_ = new LuaScriptModule();
     
    147147                // create the CEGUI system singleton
    148148                this->guiSystem_ = new System(this->guiRenderer_, this->resourceProvider_, 0, this->scriptModule_);
    149                
     149
    150150                // set the log level according to ours (translate by subtracting 1)
    151151                Logger::getSingleton().setLoggingLevel(
    152152                    (LoggingLevel)(Core::getSoftDebugLevel(OutputHandler::LD_Logfile) - 1));
    153                
     153
    154154                // do this after 'new CEGUI::Sytem' because that creates the lua state in the first place
    155155                tolua_Core_open(this->scriptModule_->getLuaState());
     
    178178            state_ = Ready;
    179179        }
    180        
     180
    181181        return true;
    182182    }
Note: See TracChangeset for help on using the changeset viewer.