Changeset 10601 in orxonox.OLD for branches/cleanup/src/world_entities
- Timestamp:
- Mar 23, 2007, 12:21:42 AM (18 years ago)
- Location:
- branches/cleanup/src/world_entities
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cleanup/src/world_entities/effects/wobblegrid.cc
r10593 r10601 93 93 this->angularSpeed = M_PI; //180; 94 94 this->setModel(this->grid); 95 96 this->angle = 0; 95 97 96 98 this->setUpdateFunction((*sinf)); -
branches/cleanup/src/world_entities/projectiles/swarm_projectile.cc
r10579 r10601 60 60 //this->trail->setParent( this); 61 61 this->trail->setTexture( "textures/laser.png"); 62 63 this->maxVelocity = 300; 64 65 this->rotationSpeed = 360; 66 this->angle = 0; 62 67 63 68 … … 216 221 217 222 this->angle += this->rotationSpeed * time; 223 218 224 while (this->angle > 360) 225 { 219 226 this->angle -= 360; 227 } 220 228 221 229 this->lastDir = this->curDir; -
branches/cleanup/src/world_entities/spectator.cc
r10401 r10601 242 242 this->yMouse += event.yRel; 243 243 } 244 else if( event.type == KeyMapper::PEV_JUMP) 245 { 244 else if( event.type == KeyMapper::PEV_FIRE1 ) 245 { 246 PRINTF(0)( "CURRENT POS: (%f, %f, %f) ROT (%f, (%f, %f, %f))\n", this->getAbsCoorX(), this->getAbsCoorY(), this->getAbsCoorZ(), this->getAbsDir().w, this->getAbsDir().v.x, this->getAbsDir().v.y, this->getAbsDir().v.z ); 246 247 // FPSPlayer * fps = new FPSPlayer(); 247 248 // //GenericNPC* fps = new GenericNPC(); -
branches/cleanup/src/world_entities/weapons/light_blaster.cc
r10600 r10601 55 55 for (int i = 0; i < this->getBarrels(); i++) 56 56 { 57 delete [] this->shootAnim[i];57 //delete [] this->shootAnim[i]; 58 58 delete [] this->objComp[i]; 59 59 } 60 60 delete [] this->emissionPoint; 61 delete [] this->shootAnim;61 //delete [] this->shootAnim; 62 62 delete [] this->objComp; 63 63
Note: See TracChangeset
for help on using the changeset viewer.