Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 7, 2011, 10:51:54 PM (13 years ago)
Author:
landauf
Message:

added some output (user and internal) throughout the initialization of the game, graphics, and game states

File:
1 edited

Legend:

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

    r8820 r8830  
    104104        RegisterObject(GraphicsManager);
    105105
     106        orxout(internal_status) << "initializing GraphicsManager..." << endl;
    106107        this->setConfigValues();
    107108
     
    129130            this->upgradeToGraphics();
    130131        }
     132
     133        orxout(internal_status) << "finished initializing GraphicsManager" << endl;
    131134    }
    132135
    133136    void GraphicsManager::destroy()
    134137    {
     138        orxout(internal_status) << "destroying GraphicsManager..." << endl;
     139
    135140        Loader::unload(debugOverlay_.get());
    136141
     
    148153        safeObjectDelete(&ogreLogger_);
    149154        safeObjectDelete(&ogreWindowEventListener_);
     155
     156        orxout(internal_status) << "finished destroying GraphicsManager" << endl;
    150157    }
    151158
     
    173180            return;
    174181
     182        orxout(internal_info) << "GraphicsManager upgrade to graphics" << endl;
     183
    175184        // load all the required plugins for Ogre
    176185        this->loadOgrePlugins();
     
    183192        // choose another resource group.
    184193        Ogre::ResourceGroupManager::getSingleton().initialiseAllResourceGroups();
     194
     195        orxout(internal_info) << "GraphicsManager finished upgrade to graphics" << endl;
    185196    }
    186197
     
    239250    void GraphicsManager::loadOgrePlugins()
    240251    {
     252        orxout(internal_info) << "loading ogre plugins" << endl;
     253
    241254        // Plugin path can have many different locations...
    242255        std::string pluginPath = specialConfig::ogrePluginsDirectory;
Note: See TracChangeset for help on using the changeset viewer.