Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 15, 2008, 9:54:31 AM (16 years ago)
Author:
rgrieder
Message:
  • fixed F1 and F2 keys. F1 can now again be used to toggle the visibility of the debug overlay.
  • Tamed debug output in SpaceShip.cc a little bit.. (3 → 4)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/SpaceShip.cc

    r1781 r1783  
    342342
    343343    void SpaceShip::getFocus(){
    344       COUT(3) << "requesting focus" << std::endl;
     344      COUT(4) << "requesting focus" << std::endl;
    345345      //if(!network::Host::running() || network::Host::getShipID()==objectID)
    346346      if(myShip_)
     
    356356//       COUT(4) << "begin camera creation" << std::endl;
    357357      this->camNode_ = this->getNode()->createChildSceneNode(camName_);
    358       COUT(3) << "position: (this)" << this->getNode()->getPosition() << std::endl;
     358      COUT(4) << "position: (this)" << this->getNode()->getPosition() << std::endl;
    359359      this->camNode_->setPosition(Vector3(-25,0,5));
    360360//      Quaternion q1 = Quaternion(Radian(Degree(90)),Vector3(0,-1,0));
     
    374374      //if(!network::Host::running() || network::Host::getShipID()==objectID){ //TODO: check this
    375375      if(myShip_){
    376         COUT(3) << "requesting focus for camera" << std::endl;
     376        COUT(4) << "requesting focus for camera" << std::endl;
    377377        //CameraHandler::getInstance()->requestFocus(cam_);
    378378        if(this->isExactlyA(Class(SpaceShip))){
    379379          getFocus();
    380           COUT(3) << "getting focus for obj id: " << objectID << std::endl;
     380          COUT(4) << "getting focus for obj id: " << objectID << std::endl;
    381381        }else
    382           COUT(3) << "not getting focus (not exactly spaceship) for obj id: " << objectID << std::endl;
     382          COUT(4) << "not getting focus (not exactly spaceship) for obj id: " << objectID << std::endl;
    383383      }else
    384         COUT(3) << "not getting focus (not my ship) for obj id: " << objectID << std::endl;
     384        COUT(4) << "not getting focus (not my ship) for obj id: " << objectID << std::endl;
    385385    }
    386386
Note: See TracChangeset for help on using the changeset viewer.