Changeset 9656 in orxonox.OLD for trunk/src/world_entities/environments
- Timestamp:
- Aug 4, 2006, 11:01:28 PM (18 years ago)
- Location:
- trunk/src/world_entities/environments
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/environments/model_entity.cc
r9406 r9656 36 36 this->speed = NULL; 37 37 this->momentum = NULL; 38 39 this->setSynchronized(true); 38 40 39 41 if (root != NULL) -
trunk/src/world_entities/environments/water.cc
r9406 r9656 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.