Changeset 6997 in orxonox.OLD for trunk/src/world_entities/space_ships/hover.cc
- Timestamp:
- Feb 3, 2006, 12:04:51 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/hover.cc
r6986 r6997 141 141 142 142 //add events to the eventlist 143 registerEvent(KeyMapper::PEV_ UP);144 registerEvent(KeyMapper::PEV_ DOWN);143 registerEvent(KeyMapper::PEV_FORWARD); 144 registerEvent(KeyMapper::PEV_BACKWARD); 145 145 registerEvent(KeyMapper::PEV_LEFT); 146 146 registerEvent(KeyMapper::PEV_RIGHT); … … 366 366 else if( event.type == SDLK_c) 367 367 this->bDescend = event.bPressed; //this->shiftCoor(0,-.1,0); 368 else if( event.type == KeyMapper::PEV_ UP)368 else if( event.type == KeyMapper::PEV_FORWARD) 369 369 this->bForward = event.bPressed; //this->shiftCoor(0,.1,0); 370 else if( event.type == KeyMapper::PEV_ DOWN)370 else if( event.type == KeyMapper::PEV_BACKWARD) 371 371 this->bBackward = event.bPressed; //this->shiftCoor(0,-.1,0); 372 372 else if( event.type == EV_MOUSE_MOTION)
Note: See TracChangeset
for help on using the changeset viewer.