Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8861 for code/trunk/src


Ignore:
Timestamp:
Aug 23, 2011, 2:30:23 PM (13 years ago)
Author:
landauf
Message:

added some additional output for loading steps that might take some time on slow systems

Location:
code/trunk/src
Files:
4 edited

Legend:

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

    r8858 r8861  
    321321
    322322        // Initialise the Lua framework and load the schemes
     323        orxout(user_info) << "Loading user interface..." << endl;
    323324        this->luaState_->doFile("InitialiseGUI.lua");
    324325
  • code/trunk/src/libraries/core/Game.cc

    r8858 r8861  
    178178
    179179        orxout(user_status) << "Game loaded" << endl;
    180         orxout(internal_status) << "--------------------------------------------------" << endl;
    181         orxout(internal_status) << "starting main loop..." << endl;
     180        orxout(internal_status) << "-------------------- starting main loop --------------------" << endl;
    182181
    183182        // START GAME
     
    234233        }
    235234
    236         orxout(internal_status) << "finished main loop" << endl;
    237         orxout(internal_status) << "--------------------------------------------------" << endl;
     235        orxout(internal_status) << "-------------------- finished main loop --------------------" << endl;
    238236
    239237        // UNLOAD all remaining states
  • code/trunk/src/libraries/core/GraphicsManager.cc

    r8858 r8861  
    183183
    184184        // load all the required plugins for Ogre
     185        orxout(user_info) << "Loading Ogre plugins..." << endl;
    185186        this->loadOgrePlugins();
    186187
     188        orxout(user_info) << "Creating render window..." << endl;
    187189        this->loadRenderer();
    188190
     
    191193        // already been initialised. If you need to load resources later, you will have to
    192194        // choose another resource group.
     195        orxout(user_info) << "Initializing all resource groups..." << endl;
    193196        Ogre::ResourceGroupManager::getSingleton().initialiseAllResourceGroups();
    194197
  • code/trunk/src/orxonox/sound/AmbientSound.cc

    r8858 r8861  
    9292            shared_ptr<ResourceInfo> fileInfo = Resource::getInfo(path);
    9393            if (fileInfo != NULL)
     94            {
     95                orxout(user_info) << "Loading ambient sound " << path << "..." << endl; // TODO: make this output internal if we implement sound streaming
    9496                this->setSource(path);
     97            }
    9598            else
     99            {
    96100                orxout(internal_warning, context::sound) << this->ambientSource_ << ": Not a valid name! Ambient sound will not change." << endl;
     101            }
    97102        }
    98103    }
Note: See TracChangeset for help on using the changeset viewer.