Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9182 in orxonox.OLD for branches/presentation/src/lib


Ignore:
Timestamp:
Jul 5, 2006, 3:19:43 AM (18 years ago)
Author:
amaechler
Message:

fixes

Location:
branches/presentation/src/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/lib/graphics/effects/fog_effect.cc

    r9112 r9182  
    184184
    185185        if ( this->fogMode == GL_LINEAR)
    186           this->fogFadeEnd = 2000 * ( this->localTimer / this->fogFadeInDuration ) + this->fogEnd;
     186          this->fogFadeEnd = 2000 * ( this->localTimer / this->fogFadeOutDuration ) + this->fogEnd;
    187187        else
    188             this->fogFadeDensity = 1 - (( this->localTimer / this->fogFadeInDuration ) * this->fogDensity);
     188            this->fogFadeDensity = 1 - (( this->localTimer / this->fogFadeOutDuration ) * this->fogDensity);
    189189
    190190        if ( this->localTimer >= this->fogFadeOutDuration )
  • branches/presentation/src/lib/graphics/effects/lightning_effect.cc

    r9112 r9182  
    112112    }
    113113
     114    //should load both texture
    114115    this->thunderTextureA = true;
    115116    this->setTexture();
     117    this->switchTexture();
    116118
    117119    if (this->lightningMove) {
  • branches/presentation/src/lib/particles/particle_system.cc

    r7334 r9182  
    460460    int i = 1;
    461461    Particle* tmpPart = this->deadList;
    462     while (tmpPart = tmpPart->next) ++i;
     462    while (tmpPart = tmpPart->next) { ++i; }
    463463    PRINT(0)("count: %d\n", i);
    464464  }
Note: See TracChangeset for help on using the changeset viewer.