Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9625 in orxonox.OLD for branches/proxy/src/world_entities/skybox.cc


Ignore:
Timestamp:
Jul 30, 2006, 11:19:24 PM (18 years ago)
Author:
patrick
Message:

yet another weekend commit, quite much work done:

  • introduced a new PERMISSION layer: PERMISSION_SERVER: the nearest server hast authority
  • tightening up permissions: brand new implementation to prevent sending unused variables in the network (less smog in the net:D_
  • removed some compiler warnings from some central modules
  • networkmonitor interface changed to work with networknodes mainly
  • better debug output for the network monitor
  • networnode inteface standardisation
  • force reconnection commands integration
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/world_entities/skybox.cc

    r9406 r9625  
    9696{
    9797  this->rebuild();
    98  
    99   textureName_handle = registerVarId( new SynchronizeableString( &textureName, &textureName, "textureName") );
    100   size_handle = registerVarId( new SynchronizeableFloat( &size, &size, "size" ) );
     98
     99  textureName_handle = registerVarId( new SynchronizeableString( &textureName, &textureName, "textureName", PERMISSION_MASTER_SERVER) );
     100  size_handle = registerVarId( new SynchronizeableFloat( &size, &size, "size", PERMISSION_MASTER_SERVER ) );
    101101}
    102102
     
    297297{
    298298  bool somethinChanged = false;
    299  
     299
    300300  if ( std::find( id.begin(), id.end(), textureName_handle ) != id.end() )
    301301  {
     
    303303    setTexture( textureName );
    304304  }
    305  
     305
    306306  if ( std::find( id.begin(), id.end(), size_handle ) != id.end() )
    307307  {
    308308    somethinChanged = true;
    309309  }
    310  
     310
    311311  rebuild();
    312  
     312
    313313  WorldEntity::varChangeHandler( id );
    314314}
Note: See TracChangeset for help on using the changeset viewer.