Changeset 6331 in orxonox.OLD for branches/network/src/world_entities/skybox.cc
- Timestamp:
- Dec 29, 2005, 5:37:00 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/skybox.cc
r6328 r6331 220 220 } 221 221 222 voidSkyBox::writeBytes( const byte * data, int length, int sender )222 int SkyBox::writeBytes( const byte * data, int length, int sender ) 223 223 { 224 224 setRequestedSync( false ); … … 226 226 227 227 SYNCHELP_READ_BEGIN(); 228 229 SYNCHELP_READ_FKT( WorldEntity::writeState ); 230 228 231 SYNCHELP_READ_FLOAT( size ); 229 232 if ( textureName ) … … 239 242 this->setTextureAndType( textureName, "jpg" ); 240 243 this->rebuild(); 244 245 return SYNCHELP_READ_N; 241 246 } 242 247 … … 258 263 259 264 SYNCHELP_WRITE_BEGIN(); 265 266 SYNCHELP_WRITE_FKT( WorldEntity::readState ); 267 260 268 SYNCHELP_WRITE_FLOAT(this->size); 261 269 SYNCHELP_WRITE_STRING(this->textureName);
Note: See TracChangeset
for help on using the changeset viewer.