Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 14, 2008, 12:20:14 AM (16 years ago)
Author:
landauf
Message:

removed WorldEntity, SpaceShip and several other objects
removed SpaceShip-related hacks in network and other places

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/overlays/hud/HUDRadar.cc

    r1819 r1916  
    3838#include "core/CoreIncludes.h"
    3939#include "core/XMLPort.h"
    40 #include "objects/SpaceShip.h"
    41 #include "objects/WorldEntity.h"
    4240#include "objects/Radar.h"
    4341#include "tools/TextureGenerator.h"
     
    9189    void HUDRadar::displayObject(RadarViewable* object, bool bIsMarked)
    9290    {
     91/*
    9392        const WorldEntity* wePointer = object->getWorldEntity();
    9493
     
    10099            return;
    101100        }
    102 
     101*/
    103102        // try to find a panel already created
    104103        Ogre::PanelOverlayElement* panel;
     
    126125        }
    127126        panel->show();
    128 
     127/*
    129128        // set size to fit distance...
    130129        float distance = (wePointer->getWorldPosition() - SpaceShip::getLocalShip()->getPosition()).length();
     
    144143            this->marker_->setPosition((1.0 + coord.x - size * 1.5) * 0.5, (1.0 - coord.y - size * 1.5) * 0.5);
    145144        }
     145*/
    146146    }
    147147
Note: See TracChangeset for help on using the changeset viewer.