Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5890 in orxonox.OLD for branches/spaceshipcontrol


Ignore:
Timestamp:
Dec 3, 2005, 3:53:19 PM (19 years ago)
Author:
snellen
Message:

space_ship.cc and world.cc updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/spaceshipcontrol/src/world_entities/space_ships/space_ship.cc

    r5883 r5890  
    117117//   button->setLabel("orxonox");
    118118//   button->setBindNode(this);
     119
     120  registerEvent(KeyMapper::PEV_UP);
     121  registerEvent(KeyMapper::PEV_DOWN);
     122  registerEvent(KeyMapper::PEV_LEFT);
     123  registerEvent(KeyMapper::PEV_RIGHT);
     124  registerEvent(KeyMapper::PEV_FIRE1);
     125  registerEvent(KeyMapper::PEV_NEXT_WEAPON);
     126  registerEvent(KeyMapper::PEV_PREVIOUS_WEAPON);
     127  registerEvent(SDLK_PAGEUP);
     128  registerEvent( SDLK_PAGEDOWN);
    119129
    120130  this->getWeaponManager()->setSlotCount(7);
Note: See TracChangeset for help on using the changeset viewer.