Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2008, 1:39:05 PM (16 years ago)
Author:
rgrieder
Message:
  • merged Felix's changes from trunk to network branch
  • added "svn:eol-style native" property to keybindings.ini
File:
1 edited

Legend:

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

    r1373 r1406  
    2929#include "RadarObject.h"
    3030
     31#include <string.h>
     32#include <OgreOverlayManager.h>
     33#include <OgrePanelOverlayElement.h>
     34#include <OgreStringConverter.h>
     35#include <util/Math.h>
     36
    3137namespace orxonox
    3238{
     
    3541        int RadarObject::count = 0;             // initialize static variable
    3642
    37         RadarObject::RadarObject(Ogre::OverlayContainer* container){
     43        RadarObject::RadarObject(OverlayContainer* container){
    3844                container_ = container;
    3945                pos_ = Vector3(0.0, 0.0, 0.0);
     
    4147        }
    4248
    43         RadarObject::RadarObject(Ogre::OverlayContainer* container, Vector3 pos){
     49        RadarObject::RadarObject(OverlayContainer* container, Vector3 pos){
    4450                container_ = container;
    4551                pos_ = pos;
     
    5157        void RadarObject::init(){
    5258            next = NULL;
    53                 om = &Ogre::OverlayManager::getSingleton();
     59                om = &OverlayManager::getSingleton();
    5460                panel_ = static_cast<PanelOverlayElement*>(om->createOverlayElement("Panel",
    55                         "Object"+Ogre::StringConverter::toString(count)));
     61                        "Object"+StringConverter::toString(count)));
    5662                panel_->setMaterialName("Orxonox/RedDot");
    5763                panel_->setDimensions(3,3);
     
    6369        }
    6470}
    65 
    66 /* my local clipboard...
    67 COUT(3) << "WWWWWWWWWWWWWWWWWWWWWWWWWWWW\n";
    68 COUT(3) << firstRadarObject_->radius_ << "  " << firstRadarObject_->phi_ << std::endl;
    69 COUT(3) << "WWWWWWWWWWWWWWWWWWWWWWWWWWWW\n";
    70 */
Note: See TracChangeset for help on using the changeset viewer.