Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 30, 2006, 2:04:53 PM (18 years ago)
Author:
snellen
Message:

corrected typo

Location:
branches/single_player_map/src/world_entities/creatures
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/world_entities/creatures/fps_player.cc

    r8944 r8952  
    8383  this->bBackward = false;
    8484  this->bJump = false;
     85  this->bPosBut = false;
    8586
    8687  this->xMouse = 0.0f;
     
    206207void FPSPlayer::tick (float time)
    207208{
     209 
     210  if( this->bPosBut)
     211  {
     212    this->bPosBut = false;
     213    printf("guard:walkTo( %f, height, %f)\n",this->getAbsCoorX(),this->getAbsCoorZ());
     214  }
     215 
    208216  Playable::tick( time );
    209217
     
    339347  }
    340348  else if( event.type == KeyMapper::PEV_JUMP)
    341     this->getAbsCoor().debug();
    342 }
    343 
    344 
    345 
    346 
     349    this->bPosBut = event.bPressed;
     350}
     351
     352
     353
     354
  • branches/single_player_map/src/world_entities/creatures/fps_player.h

    r8939 r8952  
    4242    bool                  bBackward;
    4343    bool                  bJump;              //!< jumping
     44    bool                  bPosBut;             //!< position button
    4445
    4546    float                 xMouse;             //!< mouse moved in x-Direction
Note: See TracChangeset for help on using the changeset viewer.