Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1408


Ignore:
Timestamp:
May 24, 2008, 2:07:04 PM (16 years ago)
Author:
FelixSchulthess
Message:

compiles now with changes from trunk

Location:
code/branches/network/src/orxonox
Files:
5 edited

Legend:

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

    r1406 r1408  
    3131#include <string.h>
    3232#include <OgreOverlayManager.h>
    33 #include <OgrePanelOverlayElement.h>
    3433#include <OgreStringConverter.h>
    35 #include <util/Math.h>
    3634
    3735namespace orxonox
  • code/branches/network/src/orxonox/hud/RadarObject.h

    r1406 r1408  
    2929#define _RADAR2_H__
    3030#include <OgrePrerequisites.h>
     31#include <OgrePanelOverlayElement.h>
    3132#include "../OrxonoxPrereqs.h"
     33#include "util/Math.h"
    3234
    3335namespace orxonox
  • code/branches/network/src/orxonox/hud/RadarOverlayElement.cc

    r1406 r1408  
    7878
    7979    void RadarOverlayElement::update() {
    80 <<<<<<< .working
    81         shipPos_ = SpaceShip::getLocalShip()->getPosition();
    82         currentDir_ = SpaceShip::getLocalShip()->getOrientation()*initialDir_;          // according to beni....
    83                 currentOrth_ = SpaceShip::getLocalShip()->getOrientation()*initialOrth_;
    84         plane = Plane(currentDir_, shipPos_);
    85 
    86         RadarObject* ro = firstRadarObject_;
    87 =======
    8880        shipPos_ = SpaceShip::getLocalShip()->getPosition();
    8981        currentDir_ = SpaceShip::getLocalShip()->getDir();
    9082                currentOrth_ = SpaceShip::getLocalShip()->getOrth();
    9183        RadarObject* ro = HUD::getSingleton().getFirstRadarObject();
    92 >>>>>>> .merge-right.r1401
    9384        // iterate through all RadarObjects
    9485                while(ro != NULL){
  • code/branches/network/src/orxonox/hud/RadarOverlayElement.h

    r1406 r1408  
    3131#include <util/Math.h>
    3232#include <OgrePrerequisites.h>
     33#include <OgrePanelOverlayElement.h>
    3334#include "../OrxonoxPrereqs.h"
    3435#include "RadarObject.h"
  • code/branches/network/src/orxonox/objects/SpaceShip.cc

    r1406 r1408  
    318318    }
    319319
    320     Vector3 SpaceShip::getSPosition() {
    321         return SpaceShip::getLocalShip()->getPosition();
    322     }
    323 
    324     Quaternion SpaceShip::getSOrientation() {
    325         return SpaceShip::getLocalShip()->getOrientation();
    326     }
    327 
    328320    Vector3 SpaceShip::getDir() {
    329321        return currentDir_;
Note: See TracChangeset for help on using the changeset viewer.