Changeset 6753 in orxonox.OLD for trunk/src/world_entities/space_ships
- Timestamp:
- Jan 26, 2006, 1:08:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/space_ship.cc
r6737 r6753 289 289 this->weaponAction(); 290 290 291 if( ( xMouse != 0 || yMouse != 0 ) && this->getOwner() ==this->getHostID() )291 if( ( xMouse != 0 || yMouse != 0 ) && this->getOwner() == this->getHostID() ) 292 292 { 293 293 if (xMouse > controlVelocityX) xMouse = controlVelocityX; … … 555 555 SYNCHELP_READ_INT( flags ); 556 556 557 //bUp = (flags & MASK_bUp) != 0;558 //bDown = (flags & MASK_bDown) != 0;559 //bLeft = (flags & MASK_bLeft) != 0;560 //bRight = (flags & MASK_bRight) != 0;561 //bAscend = (flags & MASK_bAscend) != 0;562 //bDescend = (flags & MASK_bDescend) != 0;563 //bFire = (flags & MASK_bFire) != 0;564 //bRollL = (flags & MASK_bRollL) != 0;565 //bRollR = (flags & MASK_bRollR) != 0;557 bUp = (flags & MASK_bUp) != 0; 558 bDown = (flags & MASK_bDown) != 0; 559 bLeft = (flags & MASK_bLeft) != 0; 560 bRight = (flags & MASK_bRight) != 0; 561 bAscend = (flags & MASK_bAscend) != 0; 562 bDescend = (flags & MASK_bDescend) != 0; 563 bFire = (flags & MASK_bFire) != 0; 564 bRollL = (flags & MASK_bRollL) != 0; 565 bRollR = (flags & MASK_bRollR) != 0; 566 566 567 567 } … … 570 570 if ( b == DATA_mouse /*&& this->getHostID()!=this->getOwner()*/ ) 571 571 { 572 float asdf; 573 SYNCHELP_READ_FLOAT( asdf ); 574 SYNCHELP_READ_FLOAT( asdf ); 575 SYNCHELP_READ_FLOAT( asdf ); 576 SYNCHELP_READ_FLOAT( asdf ); 577 //SYNCHELP_READ_FLOAT( mouseDir.w ); 578 //SYNCHELP_READ_FLOAT( mouseDir.v.x ); 579 //SYNCHELP_READ_FLOAT( mouseDir.v.y ); 580 //SYNCHELP_READ_FLOAT( mouseDir.v.z ); 572 SYNCHELP_READ_FLOAT( mouseDir.w ); 573 SYNCHELP_READ_FLOAT( mouseDir.v.x ); 574 SYNCHELP_READ_FLOAT( mouseDir.v.y ); 575 SYNCHELP_READ_FLOAT( mouseDir.v.z ); 581 576 } 582 577 } while( b != 0 );
Note: See TracChangeset
for help on using the changeset viewer.