Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 28, 2006, 6:32:49 PM (19 years ago)
Author:
stefalie
Message:

mountain_lake: …

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mountain_lake/src/world_entities/environments/mapped_water.h

    r8884 r8885  
    5353  void setWaterSize(float x, float z) { this->xWidth = x; this->zWidth = z; }
    5454  void setWaterAngle(float angle) { this->waterAngle = angle; }
    55   void setWaterColor(float r, float g, float b) { this->waterColor = Vector(r,g,b); this->newWaterColor = this->waterColor; }
     55  void setWaterColor(float r, float g, float b) { this->waterColor = Vector(r,g,b); }
    5656  void setWaterUV(float uv) { this->waterUV = uv; }
    5757  void setWaterFlow(float flow) { this->waterFlow = flow; };
    5858  void setNormalMapScale(float scale) { this->kNormalMapScale = scale; }
    59   void setShineSize(float shine) { this->shineSize = shine; }
     59  void setShineSize(float shine) { this->shineSize = shine; this->newShineSize = shine; }
    6060  void setShineStrength(float strength) { this->shineStrength = strength; }
    6161  void setReflStrength(float strength) { this->reflStrength = strength; }
     
    7676
    7777  // fade functions, hacky HACK
    78   void fadeWaterColor(float r, float g, float b, float time) {this->newWaterColor = Vector(r, g, b); this->colorFadeTime = time; }
     78  void fadeWaterColor(float r, float g, float b, float time) {  }
    7979  void fadeShineSize(float shine, float time) {this->newShineSize = shine; this->shineSizeFadeTime = time; }
    8080  void fadeLightPos(float x, float y, float z, float time);
     
    128128  bool                          bFadeShineSize;
    129129
    130   // skirmish HACK
    131   Vector              newWaterColor;          //!< used to fade the water color
    132   float               colorFadeTime;
    133130  int tempcounter;
    134131};
Note: See TracChangeset for help on using the changeset viewer.