Changeset 9958 in orxonox.OLD for branches/playability/src/world_entities/space_ships/space_ship.cc
- Timestamp:
- Nov 26, 2006, 12:31:01 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.cc
r9957 r9958 177 177 //registerEvent(SDLK_e); 178 178 registerEvent(KeyMapper::PEV_FIRE1); 179 registerEvent(KeyMapper::PEV_FIRE2); // Added for secondary weapon support 179 180 registerEvent(KeyMapper::PEV_NEXT_WEAPON); 180 181 registerEvent(KeyMapper::PEV_PREVIOUS_WEAPON); … … 345 346 } 346 347 348 // Shield Regeneration and other regular calculations on the ship 349 this->regen(time); 350 347 351 348 352 // if( this != State::getPlayer()->getControllable()) … … 503 507 else if( event.type == KeyMapper::PEV_BACKWARD) 504 508 this->bDown = event.bPressed; //this->shiftCoor(0,-.1,0); 509 else if( event.type == KeyMapper::PEV_FIRE1) 510 firedWeapon = curWeaponPrimary; 511 else if( event.type == KeyMapper::PEV_FIRE2) 512 firedWeapon = curWeaponSecondary; 505 513 else if( event.type == EV_MOUSE_MOTION) 506 514 {
Note: See TracChangeset
for help on using the changeset viewer.