Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 8, 2008, 2:21:00 PM (16 years ago)
Author:
scheusso
Message:

compressing and diffing works now (also shipCache on client). server can't move while client connected. preparations for synchronise frequency of synchronisables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/orxonox/objects/SpaceShip.cc

    r1735 r1742  
    243243
    244244        // START CREATING ADDITIONAL EFFECTS
    245         this->backlight_ = new Backlight(this->maxSpeed_, 0.8);
    246         this->attachObject(this->backlight_);
    247         this->backlight_->setPosition(-2.35, 0, 0.2);
    248         this->backlight_->setColour(this->getProjectileColour());
    249 
    250         this->smoke_ = new ParticleSpawner();
    251         this->smoke_->setParticle("Orxonox/smoke5", LODParticle::normal, 0, 0, 3);
    252         this->attachObject(this->smoke_);
    253 
    254         this->fire_ = new ParticleSpawner();
    255         this->fire_->setParticle("Orxonox/fire3", LODParticle::normal, 0, 0, 1);
    256         this->attachObject(this->fire_);
     245        /*if(!network::Host::running() || network::Host::isServer()){
     246          this->backlight_ = new Backlight(this->maxSpeed_, 0.8);
     247          this->attachObject(this->backlight_);
     248          this->backlight_->setPosition(-2.35, 0, 0.2);
     249          this->backlight_->setColour(this->getProjectileColour());
     250   
     251          this->smoke_ = new ParticleSpawner();
     252          this->smoke_->setParticle("Orxonox/smoke5", LODParticle::normal, 0, 0, 3);
     253          this->attachObject(this->smoke_);
     254   
     255          this->fire_ = new ParticleSpawner();
     256          this->fire_->setParticle("Orxonox/fire3", LODParticle::normal, 0, 0, 1);
     257          this->attachObject(this->fire_);
     258        }*/
    257259        // END CREATING ADDITIONAL EFFECTS
    258260
Note: See TracChangeset for help on using the changeset viewer.