Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 1, 2011, 4:37:38 PM (13 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/worldentities/StaticEntity.cc

    r6417 r8809  
    6363        if (this->addedToPhysicalWorld())
    6464        {
    65             CCOUT(2) << "Warning: Attempting to change the position of a StaticEntity at physics run time. Ignoring change." << std::endl;
     65            orxout(internal_warning) << "Attempting to change the position of a StaticEntity at physics run time. Ignoring change." << endl;
    6666            return;
    6767        }
     
    8080        if (this->addedToPhysicalWorld())
    8181        {
    82             CCOUT(2) << "Warning: Attempting to change the orientation of a StaticEntity at physics run time. Ignoring change." << std::endl;
     82            orxout(internal_warning) << "Attempting to change the orientation of a StaticEntity at physics run time. Ignoring change." << endl;
    8383            return;
    8484        }
     
    9797        if (type == WorldEntity::Kinematic || type == WorldEntity::Dynamic)
    9898        {
    99             CCOUT(1) << "Error: Cannot tell a StaticEntity to have kinematic or dynamic collision type! Ignoring." << std::endl;
     99            orxout(internal_warning) << "Cannot tell a StaticEntity to have kinematic or dynamic collision type! Ignoring." << endl;
    100100            assert(false); // Only in debug mode
    101101            return false;
Note: See TracChangeset for help on using the changeset viewer.