Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jan 28, 2006, 5:11:51 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: merged branches/network back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/network . -r6774:HEAD

no conflicts…
thats what i call orthogonal work

File:
1 edited

Legend:

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

    r6803 r6815  
    302302  SYNCHELP_READ_BEGIN();
    303303
    304   SYNCHELP_READ_FKT( Water::writeState );
     304  SYNCHELP_READ_FKT( Water::writeState, NWT_WAT_STATE );
    305305
    306306  return SYNCHELP_READ_N;
     
    328328  {
    329329    *reciever = rec;
    330     SYNCHELP_WRITE_FKT( Water::readState );
     330    SYNCHELP_WRITE_FKT( Water::readState, NWT_WAT_STATE );
    331331  }
    332332
     
    347347  SYNCHELP_WRITE_BEGIN();
    348348
    349   SYNCHELP_WRITE_FKT( WorldEntity::readState );
     349  SYNCHELP_WRITE_FKT( WorldEntity::readState, NWT_WAT_WE_STATE );
    350350
    351351  // sync the size
    352   SYNCHELP_WRITE_FLOAT( this->sizeX );
    353   SYNCHELP_WRITE_FLOAT( this->sizeY );
     352  SYNCHELP_WRITE_FLOAT( this->sizeX, NWT_WAT_SIZEX );
     353  SYNCHELP_WRITE_FLOAT( this->sizeY, NWT_WAT_SIZEY );
    354354
    355355  //sync resolution
    356   SYNCHELP_WRITE_INT( this->resX );
    357   SYNCHELP_WRITE_INT( this->resY );
     356  SYNCHELP_WRITE_INT( this->resX, NWT_WAT_RESX );
     357  SYNCHELP_WRITE_INT( this->resY, NWT_WAT_RESY );
    358358
    359359  //sync the height
    360   SYNCHELP_WRITE_FLOAT( this->height );
     360  SYNCHELP_WRITE_FLOAT( this->height, NWT_WAT_HEIGHT );
    361361
    362362  return SYNCHELP_WRITE_N;
     
    374374  SYNCHELP_READ_BEGIN();
    375375
    376   SYNCHELP_READ_FKT( WorldEntity::writeState );
     376  SYNCHELP_READ_FKT( WorldEntity::writeState, NWT_WAT_WE_STATE );
    377377
    378378  float f1, f2;
     
    380380
    381381  //read the size
    382   SYNCHELP_READ_FLOAT( f1 );
    383   SYNCHELP_READ_FLOAT( f2 );
     382  SYNCHELP_READ_FLOAT( f1, NWT_WAT_SIZEX );
     383  SYNCHELP_READ_FLOAT( f2, NWT_WAT_SIZEY );
    384384  this->sizeX = f1;
    385385  this->sizeY = f2;
     
    387387
    388388  //read the resolution
    389   SYNCHELP_READ_INT( i1 );
    390   SYNCHELP_READ_INT( i2 );
     389  SYNCHELP_READ_INT( i1, NWT_WAT_RESX );
     390  SYNCHELP_READ_INT( i2, NWT_WAT_RESY );
    391391  this->resX = i1;
    392392  this->resY = i2;
     
    394394
    395395  //read the height
    396   SYNCHELP_READ_FLOAT( f1 );
     396  SYNCHELP_READ_FLOAT( f1, NWT_WAT_HEIGHT );
    397397  this->height = f1;
    398398
Note: See TracChangeset for help on using the changeset viewer.