- Timestamp:
- Jan 26, 2006, 11:08:20 AM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/light.cc
r6763 r6764 222 222 glEnable (GL_LIGHTING); 223 223 glEnable ( GL_COLOR_MATERIAL ) ; 224 glColorMaterial ( GL_FRONT _AND_BACK, GL_AMBIENT_AND_DIFFUSE ) ;224 glColorMaterial ( GL_FRONT, GL_DIFFUSE ) ; 225 225 226 226 this->setAmbientColor(.3, .3, .3); -
trunk/src/world_entities/space_ships/space_ship.cc
r6760 r6764 214 214 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( false); 215 215 216 this->burstEmitter = new ParticleEmitter(Vector( -1,0,0),1, 200, 0.0);216 this->burstEmitter = new ParticleEmitter(Vector(1,0,0), .01, 200, 0.0); 217 217 this->burstEmitter->setParent(this); 218 this->burstEmitter->setRelCoor(-1, .5, 0); 218 219 this->burstEmitter->setName("SpaceShip_Burst_emitter"); 219 220 … … 338 339 velocity = (velocity.getNormalized())*travelSpeed; 339 340 this->burstEmitter->setEmissionRate(travelSpeed); 341 this->burstEmitter->setEmissionVelocity(travelSpeed*.5, travelSpeed *.1); 340 342 341 343 //orient the spaceship in direction of the mouse
Note: See TracChangeset
for help on using the changeset viewer.