Changeset 8920 in orxonox.OLD for branches/mountain_lake/src/world_entities/environments/mapped_water.cc
- Timestamp:
- Jun 29, 2006, 7:11:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mountain_lake/src/world_entities/environments/mapped_water.cc
r8919 r8920 107 107 this->bFadeRefraction = false; 108 108 this->bFadeWaterColor = false; 109 110 this->tempcounter = 0;111 109 } 112 110 … … 673 671 this->waterColorGFader->setInfinity(ANIM_INF_CONSTANT); 674 672 675 this->waterColorGFader->addKeyFrame(this->waterColor. x, this->waterColorFadeTime, ANIM_LINEAR);676 this->waterColorGFader->addKeyFrame(this->newWaterColor. x, 0, ANIM_LINEAR);673 this->waterColorGFader->addKeyFrame(this->waterColor.y, this->waterColorFadeTime, ANIM_LINEAR); 674 this->waterColorGFader->addKeyFrame(this->newWaterColor.y, 0, ANIM_LINEAR); 677 675 678 676 this->waterColorGFader->replay(); … … 681 679 this->waterColorBFader->setInfinity(ANIM_INF_CONSTANT); 682 680 683 this->waterColorBFader->addKeyFrame(this->waterColor. x, this->waterColorFadeTime, ANIM_LINEAR);684 this->waterColorBFader->addKeyFrame(this->newWaterColor. x, 0, ANIM_LINEAR);681 this->waterColorBFader->addKeyFrame(this->waterColor.z, this->waterColorFadeTime, ANIM_LINEAR); 682 this->waterColorBFader->addKeyFrame(this->newWaterColor.z, 0, ANIM_LINEAR); 685 683 686 684 this->waterColorBFader->replay(); … … 688 686 bFadeWaterColor = false; 689 687 } 690 691 if(this->tempcounter == 100)692 {693 PRINTF(0)("\n\n\n\n\n\n///////////////////////test waterchangecolor/////////////////////\n\n\n\n\n\n");694 this->fadeWaterColor(1, 0, 1, 15);695 }696 //PRINTF(0)("counter %i/n", tempcounter);697 tempcounter++;698 688 } 699 689
Note: See TracChangeset
for help on using the changeset viewer.