Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8838 in orxonox.OLD for branches/multi_player_map/src/world_entities


Ignore:
Timestamp:
Jun 28, 2006, 12:44:07 AM (19 years ago)
Author:
patrick
Message:

mulitplayer: debuggin session

Location:
branches/multi_player_map/src/world_entities
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/multi_player_map/src/world_entities/playable.cc

    r8827 r8838  
    6565
    6666  this->bDead = false;
    67  
     67
    6868  this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, CL_BSP_ENTITY);
    6969
  • branches/multi_player_map/src/world_entities/space_ships/space_ship.cc

    r8827 r8838  
    220220  this->burstSystem->setColor(0.5, .5,.5,.8,.8);
    221221  this->burstSystem->setColor(1.0, .8,.8,.8,.0);
    222  
     222
    223223  registerVar( new SynchronizeableVector( &velocity, &velocity, "velocity" ) );
    224224  registerVar( new SynchronizeableQuaternion( &mouseDir, &mouseDir, "mousedir", PERMISSION_OWNER ) );
     
    511511void SpaceShip::respawn( )
    512512{
    513   toList( OM_PLAYERS );
    514 }
    515 
    516 
    517 
    518 
     513  if( this->uniqueID %2)
     514  toList( OM_GROUP_00 );
     515  else
     516    toList(OM_GROUP_01);
     517}
     518
     519
     520
     521
  • branches/multi_player_map/src/world_entities/world_entity.cc

    r8832 r8838  
    412412bool WorldEntity::registerCollision(WorldEntity* entityA, WorldEntity* entityB, BoundingVolume* bvA, BoundingVolume* bvB)
    413413{
     414  PRINTF(0)("registering collision\n\n\n\n");
    414415  // is there any handler listening?
    415416  if( !this->bReactive)
     
    833834    loadModel( modelFileName, scaling );
    834835  }
    835  
     836
    836837  if ( std::find( id.begin(), id.end(), list_handle ) != id.end() )
    837838  {
Note: See TracChangeset for help on using the changeset viewer.