- Timestamp:
- Apr 29, 2006, 3:28:42 PM (19 years ago)
- Location:
- branches/network/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/coord/p_node.cc
r7444 r7446 1091 1091 void PNode::varChangeHandler( std::list< int > & id ) 1092 1092 { 1093 #warning implement this 1094 } 1095 1096 1093 if ( std::find( id.begin(), id.end(), relCoordinate_handle ) != id.end() ) 1094 { 1095 setRelCoor( relCoordinate_write ); 1096 } 1097 1098 if ( std::find( id.begin(), id.end(), relDirection_handle ) != id.end() ) 1099 { 1100 setRelDir( relDirection_write ); 1101 } 1102 } 1103 1104 -
branches/network/src/lib/network/synchronizeable_var/synchronizeable_bool.cc
r7444 r7446 20 20 /** 21 21 * standard constructor 22 * @todo this constructor is not jet implemented - do it 23 */ 22 */ 24 23 SynchronizeableBool::SynchronizeableBool( bool * ptrIn, bool * ptrOut, std::string name, int permission, int priority) : SynchronizeableVar( ptrIn, ptrOut, name, 0, permission, priority ) 25 24 { -
branches/network/src/world_entities/environments/water.cc
r7444 r7446 313 313 this->rebuildGrid(); 314 314 } 315 } 315 316 WorldEntity::varChangeHandler( id ); 317 } -
branches/network/src/world_entities/skybox.cc
r7444 r7446 297 297 void SkyBox::varChangeHandler( std::list< int > & id ) 298 298 { 299 #warning implement this 300 } 299 bool somethinChanged = false; 300 301 if ( std::find( id.begin(), id.end(), textureName_handle ) != id.end() ) 302 { 303 somethinChanged = true; 304 setTexture( textureName ); 305 } 306 307 if ( std::find( id.begin(), id.end(), size_handle ) != id.end() ) 308 { 309 somethinChanged = true; 310 } 311 312 rebuild(); 313 314 WorldEntity::varChangeHandler( id ); 315 } -
branches/network/src/world_entities/world_entity.cc
r7444 r7446 523 523 void WorldEntity::varChangeHandler( std::list< int > & id ) 524 524 { 525 #warning implement this 526 } 525 if ( std::find( id.begin(), id.end(), modelFileName_handle ) != id.end() || 526 std::find( id.begin(), id.end(), scaling_handle ) != id.end() 527 ) 528 { 529 loadModel( modelFileName, scaling ); 530 } 531 532 PNode::varChangeHandler( id ); 533 }
Note: See TracChangeset
for help on using the changeset viewer.