Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 6, 2005, 12:17:24 AM (19 years ago)
Author:
patrick
Message:

orxonox/branches/md2_loader: implemented some data formats used by the md2 loader, altered debug levels, and commented out all the debug() functions. This branche won't run on you computer unless you have the fonts and models installed i use temporary for testing purposes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/md2_loader/src/lib/graphics/graphics_engine.cc

    r4070 r4072  
    279279          // temporary, only for showing how fast the text-engine is
    280280          char tmpChar1[20];
    281           sprintf(tmpChar1, "Current: %4.0f", this->currentFPS);
     281          sprintf(tmpChar1, "Current:  %5.0f", this->currentFPS);
    282282          this->geTextCFPS->setText(tmpChar1);
    283283          char tmpChar2[20];
    284           sprintf(tmpChar2, "Max: %4.0f", this->maxFPS);
     284          sprintf(tmpChar2, "MAX: %4.0f", this->maxFPS);
    285285          this->geTextMaxFPS->setText(tmpChar2);
    286286          char tmpChar3[20];
    287           sprintf(tmpChar3, "Min: %4.0f", this->minFPS);
     287          sprintf(tmpChar3, "MIN: %4.0f", this->minFPS);
    288288          this->geTextMinFPS->setText(tmpChar3);
    289289        }
     
    294294        if( display)
    295295        {
    296                 this->geTextCFPS = TextEngine::getInstance()->createText("fonts/earth.ttf", 30, TEXT_DYNAMIC, 0, 255, 0);
     296                this->geTextCFPS = TextEngine::getInstance()->createText("fonts/courier.ttf", 30, TEXT_DYNAMIC, 0, 255, 0);
    297297                this->geTextCFPS->setAlignment(TEXT_ALIGN_LEFT);
    298298                this->geTextCFPS->setPosition(0, 500);
    299                 this->geTextMaxFPS = TextEngine::getInstance()->createText("fonts/earth.ttf", 30, TEXT_DYNAMIC, 0, 255, 0);
     299                this->geTextMaxFPS = TextEngine::getInstance()->createText("fonts/quake.ttf", 30, TEXT_DYNAMIC, 0, 255, 0);
    300300                this->geTextMaxFPS->setAlignment(TEXT_ALIGN_LEFT);
    301301                this->geTextMaxFPS->setPosition(0, 530);
    302                 this->geTextMinFPS = TextEngine::getInstance()->createText("fonts/earth.ttf", 30, TEXT_DYNAMIC, 0, 255, 0);
     302                this->geTextMinFPS = TextEngine::getInstance()->createText("fonts/quake.ttf", 30, TEXT_DYNAMIC, 0, 255, 0);
    303303                this->geTextMinFPS->setAlignment(TEXT_ALIGN_LEFT);
    304304                this->geTextMinFPS->setPosition(0, 560);       
Note: See TracChangeset for help on using the changeset viewer.