Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6433 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.cc


Ignore:
Timestamp:
Jan 8, 2006, 1:50:16 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: the turret now fires too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/weapon.cc

    r6431 r6433  
    373373//  if (this->currentState == WS_INACTIVE)
    374374  {
    375         // play Sound
     375    // play Sound
    376376    if (likely(this->soundBuffers[WA_ACTIVATE] != NULL))
    377377      this->soundSource->play(this->soundBuffers[WA_ACTIVATE]);
     
    564564void Weapon::debug() const
    565565{
    566   PRINT(3)("Weapon-Debug %s, state: %s, nextAction: %s\n", this->getName(), Weapon::stateToChar(this->currentState), Weapon::actionToChar(requestedAction));
    567   PRINT(3)("Energy: max: %f; current: %f;  loadedMax: %f; loadedCurrent: %f; chargeMin: %f, chargeMax %f\n",
     566  PRINT(0)("Weapon-Debug %s, state: %s (duration: %fs), nextAction: %s\n", this->getName(), Weapon::stateToChar(this->currentState), this->stateDuration, Weapon::actionToChar(requestedAction));
     567  PRINT(0)("Energy: max: %f; current: %f;  loadedMax: %f; loadedCurrent: %f; chargeMin: %f, chargeMax %f\n",
    568568            this->energyMax, this->energy, this->energyLoadedMax, this->energyLoaded, this->minCharge, this->maxCharge);
    569569
Note: See TracChangeset for help on using the changeset viewer.