Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6716 in orxonox.OLD for branches


Ignore:
Timestamp:
Jan 25, 2006, 4:33:29 PM (19 years ago)
Author:
patrick
Message:

network caputre enabled

File:
1 edited

Legend:

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

    r6706 r6716  
    130130  this->getWeaponManager()->changeWeaponConfig(1);
    131131
    132   //EventHandler::getInstance()->grabEvents(true);
     132  EventHandler::getInstance()->grabEvents(true);
    133133
    134134  bUp = bDown = bLeft = bRight = bAscend = bDescend = bRollL = bRollR = false;
     
    528528
    529529  byte b;
    530  
    531   do 
     530
     531  do
    532532  {
    533533    SYNCHELP_READ_BYTE( b );
     
    562562
    563563    }
    564    
     564
    565565    //TODO: do not recieve data if you are the owner
    566566    if ( b == DATA_mouse /*&& this->getHostID()!=this->getOwner()*/ )
     
    655655    {
    656656      oldMouseDir = mouseDir;
    657      
     657
    658658      SYNCHELP_WRITE_BYTE( DATA_mouse );
    659659      SYNCHELP_WRITE_FLOAT( mouseDir.w );
Note: See TracChangeset for help on using the changeset viewer.