Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 1, 2011, 4:37:38 PM (14 years ago)
Author:
landauf
Message:

Replaced COUT() with orxout() in tools and orxonox library. Requires quite some fine-tuning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/orxonox/Scene.cc

    r7163 r8809  
    141141        if (range.length() < 10.0f)
    142142        {
    143             CCOUT(2) << "Warning: Setting the negative world range to a very small value: "
    144                      << multi_cast<std::string>(range) << std::endl;
    145         }
    146         if (this->hasPhysics())
    147         {
    148             CCOUT(2) << "Warning: Attempting to set the physical world range at run time. "
    149                      << "This causes a complete physical reload which might take some time." << std::endl;
     143            orxout(internal_warning) << "Setting the negative world range to a very small value: "
     144                                     << multi_cast<std::string>(range) << endl;
     145        }
     146        if (this->hasPhysics())
     147        {
     148            orxout(internal_warning) << "Attempting to set the physical world range at run time. "
     149                                     << "This causes a complete physical reload which might take some time." << endl;
    150150            this->setPhysicalWorld(false);
    151151            this->negativeWorldRange_ = range;
     
    160160        if (range.length() < 10.0f)
    161161        {
    162             CCOUT(2) << "Warning: Setting the positive world range to a very small value: "
    163                      << multi_cast<std::string>(range) << std::endl;
    164         }
    165         if (this->hasPhysics())
    166         {
    167             CCOUT(2) << "Warning: Attempting to set the physical world range at run time. "
    168                      << "This causes a complete physical reload which might take some time." << std::endl;
     162            orxout(internal_warning) << "Setting the positive world range to a very small value: "
     163                                     << multi_cast<std::string>(range) << endl;
     164        }
     165        if (this->hasPhysics())
     166        {
     167            orxout(internal_warning) << "Attempting to set the physical world range at run time. "
     168                                     << "This causes a complete physical reload which might take some time." << endl;
    169169            this->setPhysicalWorld(false);
    170170            this->positiveWorldRange_ = range;
Note: See TracChangeset for help on using the changeset viewer.