Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 903 for code/branches/network


Ignore:
Timestamp:
Mar 20, 2008, 11:33:48 AM (17 years ago)
Author:
scheusso
Message:

created client start routine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/orxonox/Orxonox.cc

    r888 r903  
    206206 
    207207  void Orxonox::clientStart(){
    208    
    209    
     208    ogre_->startRender();
     209    Factory::createClassHierarchy();
     210   
     211   
     212    auMan_ = new audio::AudioManager();
     213
     214    bulletMgr_ = new BulletManager();
     215   
     216    Ogre::Overlay* hudOverlay = Ogre::OverlayManager::getSingleton().getByName("Orxonox/HUD1.2");
     217    HUD* orxonoxHud;
     218    orxonoxHud = new HUD();
     219    orxonoxHud->setEnergyValue(20);
     220    orxonoxHud->setEnergyDistr(20,20,60);
     221    hudOverlay->show();
     222   
     223    client_g->establishConnection();
     224    client_g->tick(0);
     225   
     226    startRenderLoop();
    210227  }
    211228 
Note: See TracChangeset for help on using the changeset viewer.