Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2008, 1:49:54 PM (16 years ago)
Author:
rgrieder
Message:
  • reverted the HUD changes to ease up back merge from network branch

@everyone: please commit to the network branch from now on if it concerns the presentation.
Oli has also created a folder for the presentation files.
@fabian: you are excluded

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/hud/RadarObject.cc

    r1393 r1407  
    2626*/
    2727
    28 #include <string.h>
    29 #include <OgreOverlayManager.h>
    30 #include <OgrePanelOverlayElement.h>
    31 #include <OgreStringConverter.h>
    32 #include <util/Math.h>
    3328#include "RadarObject.h"
    3429
     
    3934        int RadarObject::count = 0;             // initialize static variable
    4035
    41         RadarObject::RadarObject(OverlayContainer* container){
     36        RadarObject::RadarObject(Ogre::OverlayContainer* container){
    4237                container_ = container;
    4338                pos_ = Vector3(0.0, 0.0, 0.0);
     
    4540        }
    4641
    47         RadarObject::RadarObject(OverlayContainer* container, Vector3 pos){
     42        RadarObject::RadarObject(Ogre::OverlayContainer* container, Vector3 pos){
    4843                container_ = container;
    4944                pos_ = pos;
     
    5550        void RadarObject::init(){
    5651            next = NULL;
    57                 om = &OverlayManager::getSingleton();
     52                om = &Ogre::OverlayManager::getSingleton();
    5853                panel_ = static_cast<PanelOverlayElement*>(om->createOverlayElement("Panel",
    59                         "Object"+StringConverter::toString(count)));
     54                        "Object"+Ogre::StringConverter::toString(count)));
    6055                panel_->setMaterialName("Orxonox/RedDot");
    6156                panel_->setDimensions(3,3);
     
    6762        }
    6863}
     64
     65/* my local clipboard...
     66COUT(3) << "WWWWWWWWWWWWWWWWWWWWWWWWWWWW\n";
     67COUT(3) << firstRadarObject_->radius_ << "  " << firstRadarObject_->phi_ << std::endl;
     68COUT(3) << "WWWWWWWWWWWWWWWWWWWWWWWWWWWW\n";
     69*/
Note: See TracChangeset for help on using the changeset viewer.