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.

Location:
code/branches/output/src/modules/designtools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/modules/designtools/ScreenshotManager.cc

    r8415 r8811  
    153153            finalImage->save(PathConfig::getInstance().getLogPathString() + "screenshot_" + getTimestamp() + this->fileExtension_);
    154154            delete finalImage;
    155             COUT(3) << "Finished taking " << this->gridSize_*this->windowWidth_ << "x" << this->gridSize_*this->windowHeight_ << " pixel HD screenshot. Storing in log/." << endl;
     155            orxout(user_info) << "Finished taking " << this->gridSize_*this->windowWidth_ << "x" << this->gridSize_*this->windowHeight_ << " pixel HD screenshot. Storing in log/." << endl;
    156156        }
    157157        else
    158             COUT(1) << "There needs to be an active camera to make screenshots." << endl;
     158            orxout(user_error) << "There needs to be an active camera to make screenshots." << endl;
    159159
    160160        this->cleanup();
     
    257257                this->buffer_->blitToMemory(this->finalPicturePB_->getSubVolume(subBox));
    258258               
    259                 COUT(4) << "Created screenshot number " << nbScreenshots << " for multi grid HD screenshot." << endl;
     259                orxout(internal_info) << "Created screenshot number " << nbScreenshots << " for multi grid HD screenshot." << endl;
    260260               
    261261            }
  • code/branches/output/src/modules/designtools/SkyboxGenerator.cc

    r8413 r8811  
    149149            else
    150150            {
    151                 COUT(1) << "You must be in a level to generate a skybox." << endl;
     151                orxout(user_error) << "You must be in a level to generate a skybox." << endl;
    152152                this->bGenerateSkybox_ = false;
    153153                return;
     
    175175                Ogre::ResourceGroupManager::getSingleton().addResourceLocation(PathConfig::getInstance().getLogPathString(), "FileSystem", Resource::getDefaultResourceGroup());
    176176               
    177                 COUT(4) << "Setting up SkyboxGenerator..." << endl;
     177                orxout(internal_status) << "Setting up SkyboxGenerator..." << endl;
    178178               
    179179                this->bSetup_ = false;
     
    194194                    entity->pitch(Degree((float)rotate.second));
    195195               
    196                 COUT(4) << "Created face number " << this->faceCounter_ << "." << endl;
     196                orxout(internal_info) << "Created face number " << this->faceCounter_ << "." << endl;
    197197                // Check whether we've generated all 6 faces.
    198198                if(++this->faceCounter_ >= 6)
     
    225225                CommandExecutor::execute("pause");
    226226               
    227                 COUT(3) << "Skybox with face size " << this->size_ << "x" << this->size_ << " pixels created. Storing in log/." << endl;
     227                orxout(user_info) << "Skybox with face size " << this->size_ << "x" << this->size_ << " pixels created. Storing in log/." << endl;
    228228            }
    229229        }
Note: See TracChangeset for help on using the changeset viewer.