Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 11, 2009, 12:33:54 PM (14 years ago)
Author:
rgrieder
Message:

Small fixes in IOConsole, ConfigFileManager and msvc compile flags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/libraries/core/IOConsole.cc

    r6041 r6044  
    301301    {
    302302        std::string output = text;
     303        int level = this->extractLogLevel(&output);
     304
    303305/*
    304         int level = this->extractLogLevel(&output);
    305 
    306306        // Colour line
    307307        switch (level)
     
    349349            // Move cursor down (don't create a new line here because the buffer might flush then!)
    350350            this->cout_ << "\033[1E";
    351             //this->cout_ << std::fixed << std::setprecision(2) << std::setw(5) << Game::getInstance().getAvgFPS() << " fps, ";
    352             //this->cout_ <<               std::setprecision(2) << std::setw(5) << Game::getInstance().getAvgTickTime() << " ms tick time";
    353             this->cout_ << "Terminal width: " << this->terminalWidth_ << ", height: " << this->terminalHeight_;
     351            this->cout_ << std::fixed << std::setprecision(2) << std::setw(5) << Game::getInstance().getAvgFPS() << " fps, ";
     352            this->cout_ <<               std::setprecision(2) << std::setw(5) << Game::getInstance().getAvgTickTime() << " ms tick time";
     353//            this->cout_ << "Terminal width: " << this->terminalWidth_ << ", height: " << this->terminalHeight_;
    354354            // Restore cursor position
    355355            this->cout_ << "\033[u";
Note: See TracChangeset for help on using the changeset viewer.