Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 1, 2011, 7:09:29 PM (13 years ago)
Author:
landauf
Message:

Replaced COUT() with orxout() in all modules. phew.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/modules/pickup/items/ShrinkPickup.h

    r8713 r8811  
    9393            */
    9494            inline void setShrinkFactor(float factor)
    95                 { if(factor <= 1.0f) { COUT(2) << "Invalid shrinking factor in ShrinkPickup. Ignoring.." << endl; return; } this->shrinkFactor_ = factor; }
     95                { if(factor <= 1.0f) { orxout(internal_warning, context::pickups) << "Invalid shrinking factor in ShrinkPickup. Ignoring.." << endl; return; } this->shrinkFactor_ = factor; }
    9696            /**
    9797            @brief Get the duration for which the ship remains shrunken.
     
    105105            */
    106106            inline void setDuration(float duration)
    107                 { if(duration < 0.0f) { COUT(2) << "Invalid duration in ShrinkPickup. Ignoring.." << endl; return; } this->duration_ = duration; }
     107                { if(duration < 0.0f) { orxout(internal_warning, context::pickups) << "Invalid duration in ShrinkPickup. Ignoring.." << endl; return; } this->duration_ = duration; }
    108108            /**
    109109            @brief Get the shrink speed.
     
    117117            */
    118118            inline void setShrinkDuration(float speed)
    119                 { if(speed <= 0.0f) { COUT(2) << "Invalid shrink duration in ShrinkPickup. Ignoring.." << endl; return; } this->shrinkDuration_ = speed; }
     119                { if(speed <= 0.0f) { orxout(internal_warning, context::pickups) << "Invalid shrink duration in ShrinkPickup. Ignoring.." << endl; return; } this->shrinkDuration_ = speed; }
    120120
    121121        protected:
Note: See TracChangeset for help on using the changeset viewer.