Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10698 in orxonox.OLD for trunk/src/world_entities/spectator.cc


Ignore:
Timestamp:
Jun 14, 2007, 5:33:43 PM (17 years ago)
Author:
snellen
Message:

merged adm, hud, vs-enhancements : beni's responsible for this commit. blame him!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/spectator.cc

    r10682 r10698  
    2828
    2929#include "player.h"
     30
     31#include "util/track/action_box.h"
    3032
    3133
     
    300302  else if( event.type == KeyMapper::PEV_BACKWARD)
    301303    this->bBackward = event.bPressed; //this->shiftCoor(0,-.1,0);
     304  else if ( event.type == KeyMapper::PEV_JUMP )
     305  {
     306    if ( State::getActionBox() && State::getActionBox()->isPointInBox( this->getAbsCoor() ) )
     307    {
     308      PRINTF(0)("IN BOX\n");
     309    }
     310    else
     311    {
     312      PRINTF(0)("NOT IN BOX\n");
     313    }
     314  }
    302315  else if( event.type == EV_MOUSE_MOTION)
    303316  {
Note: See TracChangeset for help on using the changeset viewer.