Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 3, 2006, 12:04:51 AM (18 years ago)
Author:
bensch
Message:

trunk: UP is FORWARD, DOWN is BACKWARD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/space_ship.cc

    r6994 r6997  
    170170
    171171  //add events to the eventlist
    172   registerEvent(KeyMapper::PEV_UP);
    173   registerEvent(KeyMapper::PEV_DOWN);
     172  registerEvent(KeyMapper::PEV_FORWARD);
     173  registerEvent(KeyMapper::PEV_BACKWARD);
    174174  registerEvent(KeyMapper::PEV_LEFT);
    175175  registerEvent(KeyMapper::PEV_RIGHT);
     
    490490  else if( event.type == KeyMapper::PEV_RIGHT)
    491491      this->bRollR = event.bPressed;
    492   else if( event.type == KeyMapper::PEV_UP)
     492  else if( event.type == KeyMapper::PEV_FORWARD)
    493493    this->bUp = event.bPressed; //this->shiftCoor(0,.1,0);
    494   else if( event.type == KeyMapper::PEV_DOWN)
     494  else if( event.type == KeyMapper::PEV_BACKWARD)
    495495    this->bDown = event.bPressed; //this->shiftCoor(0,-.1,0);
    496496  else if( event.type == EV_MOUSE_MOTION)
Note: See TracChangeset for help on using the changeset viewer.