Changeset 6326 in orxonox.OLD for branches/network/src/world_entities/skybox.cc
- Timestamp:
- Dec 28, 2005, 2:13:57 AM (20 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.