Changeset 9625 in orxonox.OLD for branches/proxy/src/world_entities/environments/water.cc
- Timestamp:
- Jul 30, 2006, 11:19:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/world_entities/environments/water.cc
r9406 r9625 59 59 // To test the Wave equation 60 60 //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 ) ); 67 67 } 68 68 … … 313 313 this->rebuildGrid(); 314 314 } 315 315 316 316 WorldEntity::varChangeHandler( id ); 317 317 }
Note: See TracChangeset
for help on using the changeset viewer.