- Timestamp:
- Jan 28, 2006, 5:01:53 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/event/event_handler.cc
r6812 r6813 262 262 SDL_WM_GrabInput(SDL_GRAB_OFF); 263 263 else 264 ;//SDL_WM_GrabInput(SDL_GRAB_ON);264 SDL_WM_GrabInput(SDL_GRAB_ON); 265 265 } 266 266 -
trunk/src/world_entities/projectiles/hyperblast.cc
r6811 r6813 71 71 if (unlikely(Hyperblast::explosionParticles == NULL)) 72 72 { 73 Hyperblast::explosionParticles = new SparkParticles(200 );73 Hyperblast::explosionParticles = new SparkParticles(2000); 74 74 Hyperblast::explosionParticles->setName("HyperblastExplosionParticles"); 75 Hyperblast::explosionParticles->setLifeSpan( .5, .3);76 Hyperblast::explosionParticles->setRadius( 0.0, 10);77 Hyperblast::explosionParticles->setRadius( .5, 15.0);78 Hyperblast::explosionParticles->setRadius( 1.0, 10.0);75 Hyperblast::explosionParticles->setLifeSpan(5, .3); 76 Hyperblast::explosionParticles->setRadius(100.0, 10); 77 Hyperblast::explosionParticles->setRadius(20, 15.0); 78 Hyperblast::explosionParticles->setRadius(50.0, 10.0); 79 79 Hyperblast::explosionParticles->setColor(0.0, 0,1,0,1); 80 Hyperblast::explosionParticles->setColor(0.5, .8,.8,0,. 8);81 Hyperblast::explosionParticles->setColor(0.8, .8,.8,.3,. 8);80 Hyperblast::explosionParticles->setColor(0.5, .8,.8,0,.99); 81 Hyperblast::explosionParticles->setColor(0.8, .8,.8,.3,.99); 82 82 Hyperblast::explosionParticles->setColor(1.0, 1,1,1,.0); 83 83 } … … 85 85 this->emitter->setSystem(Hyperblast::explosionParticles); 86 86 87 Hyperblast::explosionParticles->debug(); 87 88 this->updateNode(0); 88 89 this->emitter->setEmissionRate(245.0); 89 this->emitter->setEmissionVelocity( 0.0);90 this->emitter->setEmissionVelocity(10.0); 90 91 } 91 92 -
trunk/src/world_entities/space_ships/hover.cc
r6811 r6813 287 287 } 288 288 289 velocity += accel * 3 .0;289 velocity += accel * 30.0; 290 290 291 291 this->setRelDirSoft(this->direction * Quaternion(-accel.x, Vector(0,0,1)) * Quaternion(accel.z, Vector(1,0,0)), 5);
Note: See TracChangeset
for help on using the changeset viewer.