Changeset 9497 in orxonox.OLD for branches/proxy/src/world_entities
- Timestamp:
- Jul 27, 2006, 11:20:28 AM (18 years ago)
- Location:
- branches/proxy/src/world_entities/space_ships
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/world_entities/space_ships/turbine_hover.cc
r9494 r9497 233 233 } 234 234 235 236 void 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 235 244 void TurbineHover::setPlayDirection(const Quaternion& rot, float speed) 236 245 { -
branches/proxy/src/world_entities/space_ships/turbine_hover.h
r8490 r9497 10 10 #include "playable.h" 11 11 12 #include "color.h" 13 12 14 // Forward Declaration 13 15 class ParticleEmitter; … … 20 22 TurbineHover(const TiXmlElement* root = NULL); 21 23 virtual ~TurbineHover(); 24 25 void setBoostColor(const Color& color); 22 26 23 27 virtual void loadParams(const TiXmlElement* root);
Note: See TracChangeset
for help on using the changeset viewer.