Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1103 for code/branches


Ignore:
Timestamp:
Apr 17, 2008, 3:49:18 PM (17 years ago)
Author:
scheusso
Message:

hud bug

Location:
code/branches/network2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network2/CMakeLists.txt

    r1098 r1103  
    3636
    3737# global compiler/linker flags. force -O2!
    38 SET(CMAKE_C_FLAGS "$ENV{CFLAGS} -O0 -Wall -g -ggdb")
    39 SET(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -O0 -Wall -g -ggdb")
     38SET(CMAKE_C_FLAGS "$ENV{CFLAGS} -O2 -Wall -g -ggdb")
     39SET(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -O2 -Wall -g -ggdb")
    4040SET(CMAKE_LD_FLAGS "$ENV{LDFLAGS}")
    4141SET(CMAKE_EXE_LINKER_FLAGS " --no-undefined")
  • code/branches/network2/src/orxonox/Orxonox.cc

    r1098 r1103  
    299299
    300300    Ogre::Overlay* hudOverlay = Ogre::OverlayManager::getSingleton().getByName("Orxonox/HUD1.2");
    301     HUD* orxonoxHud;
    302     orxonoxHud = new HUD();
    303     orxonoxHud->setEnergyValue(20);
    304     orxonoxHud->setEnergyDistr(20,20,60);
     301    orxonoxHUD_ = new HUD();
     302    orxonoxHUD_->setEnergyValue(20);
     303    orxonoxHUD_->setEnergyDistr(20,20,60);
    305304    hudOverlay->show();
    306305
     
    341340  }
    342341
    343   void Orxonox::createScene(void)
     342  void Orxonox::createScene()
    344343  {
    345344          // Init audio
Note: See TracChangeset for help on using the changeset viewer.