Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9656 in orxonox.OLD for trunk/src/world_entities/environments


Ignore:
Timestamp:
Aug 4, 2006, 11:01:28 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the proxy bache back with no conflicts

Location:
trunk/src/world_entities/environments
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/environments/model_entity.cc

    r9406 r9656  
    3636  this->speed = NULL;
    3737  this->momentum = NULL;
     38
     39  this->setSynchronized(true);
    3840
    3941  if (root != NULL)
  • trunk/src/world_entities/environments/water.cc

    r9406 r9656  
    5959  // To test the Wave equation
    6060  //this->wave(5.0,4.0, 1, 10);
    61  
    62   height_handle = registerVarId( new SynchronizeableFloat( &height, &height, "height" ) );
    63   resX_handle = registerVarId( new SynchronizeableUInt( &resX, &resX, "resX" ) );
    64   resY_handle = registerVarId( new SynchronizeableUInt( &resY, &resY, "resY" ) );
    65   sizeX_handle = registerVarId( new SynchronizeableFloat( &sizeX, &sizeX, "sizeX" ) );
    66   sizeY_handle = registerVarId( new SynchronizeableFloat( &sizeY, &sizeY, "sizeY" ) );
     61
     62  height_handle = registerVarId( new SynchronizeableFloat( &height, &height, "height", PERMISSION_MASTER_SERVER ) );
     63  resX_handle = registerVarId( new SynchronizeableUInt( &resX, &resX, "resX", PERMISSION_MASTER_SERVER ) );
     64  resY_handle = registerVarId( new SynchronizeableUInt( &resY, &resY, "resY", PERMISSION_MASTER_SERVER ) );
     65  sizeX_handle = registerVarId( new SynchronizeableFloat( &sizeX, &sizeX, "sizeX", PERMISSION_MASTER_SERVER ) );
     66  sizeY_handle = registerVarId( new SynchronizeableFloat( &sizeY, &sizeY, "sizeY", PERMISSION_MASTER_SERVER ) );
    6767}
    6868
     
    313313    this->rebuildGrid();
    314314  }
    315  
     315
    316316  WorldEntity::varChangeHandler( id );
    317317}
Note: See TracChangeset for help on using the changeset viewer.