Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 27, 2006, 11:20:28 AM (19 years ago)
Author:
bensch
Message:

coloring for the hovers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/world_entities/space_ships/turbine_hover.cc

    r9494 r9497  
    233233}
    234234
     235
     236void TurbineHover::setBoostColor(const Color& color)
     237{
     238  this->burstSystem->setColor(0.0, color);
     239  this->burstSystem->setColor(0.2, color * 0.6);
     240  this->burstSystem->setColor(0.5, color * .3 + Color(0.5, 0.5, 0.8, 0.3));
     241  this->burstSystem->setColor(1.0, 0.8, 0.8, 0.8, 0.0);
     242}
     243
    235244void TurbineHover::setPlayDirection(const Quaternion& rot, float speed)
    236245{
Note: See TracChangeset for help on using the changeset viewer.