Changeset 9182 in orxonox.OLD
- Timestamp:
- Jul 5, 2006, 3:19:43 AM (18 years ago)
- Location:
- branches/presentation/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/lib/graphics/effects/fog_effect.cc
r9112 r9182 184 184 185 185 if ( this->fogMode == GL_LINEAR) 186 this->fogFadeEnd = 2000 * ( this->localTimer / this->fogFade InDuration ) + this->fogEnd;186 this->fogFadeEnd = 2000 * ( this->localTimer / this->fogFadeOutDuration ) + this->fogEnd; 187 187 else 188 this->fogFadeDensity = 1 - (( this->localTimer / this->fogFade InDuration ) * this->fogDensity);188 this->fogFadeDensity = 1 - (( this->localTimer / this->fogFadeOutDuration ) * this->fogDensity); 189 189 190 190 if ( this->localTimer >= this->fogFadeOutDuration ) -
branches/presentation/src/lib/graphics/effects/lightning_effect.cc
r9112 r9182 112 112 } 113 113 114 //should load both texture 114 115 this->thunderTextureA = true; 115 116 this->setTexture(); 117 this->switchTexture(); 116 118 117 119 if (this->lightningMove) { -
branches/presentation/src/lib/particles/particle_system.cc
r7334 r9182 460 460 int i = 1; 461 461 Particle* tmpPart = this->deadList; 462 while (tmpPart = tmpPart->next) ++i;462 while (tmpPart = tmpPart->next) { ++i; } 463 463 PRINT(0)("count: %d\n", i); 464 464 } -
branches/presentation/src/world_entities/skydome.cc
r9154 r9182 99 99 glDisable(GL_LIGHTING); 100 100 glDisable(GL_BLEND); 101 glDisable(GL_FOG); 101 102 102 103 glEnable(GL_TEXTURE_3D); … … 108 109 glTranslatef(0.0f,pRadius,0.0f); 109 110 110 111 111 glBegin(GL_TRIANGLES); 112 113 112 for (int i=0; i < numIndices; i++) 114 113 { … … 118 117 glVertex3f(planeVertices[indices[i]].x, planeVertices[indices[i]].y, planeVertices[indices[i]].z); 119 118 } 120 121 119 glEnd(); 120 121 WorldEntity::draw(); 122 122 123 123 glPopMatrix();
Note: See TracChangeset
for help on using the changeset viewer.