Changeset 6326 in orxonox.OLD for branches/network/src/world_entities
- Timestamp:
- Dec 28, 2005, 2:13:57 AM (19 years ago)
- Location:
- branches/network/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/skybox.cc
r6277 r6326 218 218 setIsOutOfSync( false ); 219 219 220 /*int flsize = Converter::byteArrayToFloat( data, &size );221 Converter::byteArrayToString( data+flsize, textureName, length-flsize );*/222 223 220 SYNCHELP_READ_BEGIN(); 224 SYNCHELP_READ_FLOAT( size);221 SYNCHELP_READ_FLOAT( size ); 225 222 SYNCHELP_READ_STRING( textureName, 1024 ); 226 223 227 //PRINT(0)("GOT DATA: size=%f texture=%s\n", size, textureName);224 PRINT(0)("GOT DATA: size=%f texture='%s'\n", size, textureName); 228 225 229 226 this->setSize( size ); 230 this->setTexture ( textureName);227 this->setTextureAndType( textureName, "jpg" ); 231 228 this->rebuild(); 232 229 } … … 245 242 if ( rec > 0 ) 246 243 { 244 PRINT(0)("SEND DATA: size=%f texture='%s'\n", size, textureName); 247 245 *reciever = rec; 248 246 -
branches/network/src/world_entities/world_entity.cc
r6294 r6326 349 349 loadModel( modelFileName ); 350 350 } 351 delete[]modelFileName;351 //delete []modelFileName; 352 352 } 353 353
Note: See TracChangeset
for help on using the changeset viewer.