Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1783


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)
Location:
code/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/bin/def_keybindings.ini

    r1505 r1783  
    5959KeySPACE=
    6060KeyCAPITAL=
    61 KeyF1=toggleFPS
    62 KeyF2=toggleRenderTime
     61KeyF1=Overlaygroup toggleVisibility Debug
     62KeyF2=
    6363KeyF3=
    6464KeyF4=
  • code/trunk/src/core/input/Button.cc

    r1755 r1783  
    220220        if (serious)
    221221        {
    222             COUT(2) << "Error while parsing binding for button/axis" << this->name_ << ". "
     222            COUT(2) << "Error while parsing binding for button/axis " << this->name_ << ". "
    223223                << message << std::endl;
    224224        }
    225225        else
    226226        {
    227             COUT(3) << "Warning while parsing binding for button/axis" << this->name_ << ". "
     227            COUT(3) << "Warning while parsing binding for button/axis " << this->name_ << ". "
    228228                << message << std::endl;
    229229        }
  • 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.