Changeset 10252 in orxonox.OLD for branches/playability/src/world_entities/weapons
- Timestamp:
- Jan 17, 2007, 1:41:51 PM (18 years ago)
- Location:
- branches/playability/src/world_entities/weapons
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/spike_thrower.cc
r10224 r10252 20 20 #include "world_entities/projectiles/projectile.h" 21 21 #include "world_entities/projectiles/spike_ball.h" 22 #include "world_entities/projectiles/spike.h" 22 23 23 24 #include "model.h" … … 96 97 97 98 this->setCapability(WTYPE_ALLDIRS | WTYPE_TURRET | WTYPE_DIRECTIONAL | WTYPE_LIGHT); 98 this->setProjectileTypeC("Spike Ball");99 this->setProjectileTypeC("Spike"); 99 100 100 101 // this->loadModel("models/guns/turret1.obj", 1.0); -
branches/playability/src/world_entities/weapons/weapon.cc
r10230 r10252 586 586 bool Weapon::fireW() 587 587 { 588 printf("fireW Weapon\n");588 // printf("fireW Weapon\n"); 589 589 //if (likely(this->currentState != WS_INACTIVE)) 590 590 if (this->minCharge <= this->energy) -
branches/playability/src/world_entities/weapons/weapon_manager.cc
r10224 r10252 431 431 void WeaponManager::fire() 432 432 { 433 printf("firing WM: ");433 // printf("firing WM: "); 434 434 Weapon* firingWeapon; 435 435 for(int i = 0; i < this->slotCount; i++) 436 436 { 437 printf("%i ", i);437 // printf("%i ", i); 438 438 firingWeapon = this->currentSlotConfig[i].currentWeapon; 439 439 if( firingWeapon != NULL && firingWeapon->getCurrentState() == WS_SHOOTING) continue; 440 440 if( firingWeapon != NULL) firingWeapon->requestAction(WA_SHOOT); 441 441 } 442 printf("\n");442 // printf("\n"); 443 443 /* 444 444 this->crosshair->setRotationSpeed(500);
Note: See TracChangeset
for help on using the changeset viewer.