Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6747 in orxonox.OLD for branches/network/src


Ignore:
Timestamp:
Jan 26, 2006, 12:09:46 AM (19 years ago)
Author:
rennerc
Message:

enabled smooth spaceship movement

Location:
branches/network/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/synchronizeable.h

    r6695 r6747  
    6767                                  return 0; \
    6868} \
     69assert( __synchelp_write_n == INTSIZE ); \
    6970                                __synchelp_write_i += __synchelp_write_n; \
    7071}
  • branches/network/src/world_entities/space_ships/space_ship.cc

    r6744 r6747  
    570570    if ( b == DATA_mouse /*&& this->getHostID()!=this->getOwner()*/ )
    571571    {
    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 );
    581576    }
    582577  } while( b != 0 );
Note: See TracChangeset for help on using the changeset viewer.