Changeset 4072 in orxonox.OLD for orxonox/branches/md2_loader/src/lib/graphics
- Timestamp:
- May 6, 2005, 12:17:24 AM (20 years ago)
- Location:
- orxonox/branches/md2_loader/src/lib/graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/src/lib/graphics/graphics_engine.cc
r4070 r4072 279 279 // temporary, only for showing how fast the text-engine is 280 280 char tmpChar1[20]; 281 sprintf(tmpChar1, "Current: %4.0f", this->currentFPS);281 sprintf(tmpChar1, "Current: %5.0f", this->currentFPS); 282 282 this->geTextCFPS->setText(tmpChar1); 283 283 char tmpChar2[20]; 284 sprintf(tmpChar2, "M ax: %4.0f", this->maxFPS);284 sprintf(tmpChar2, "MAX: %4.0f", this->maxFPS); 285 285 this->geTextMaxFPS->setText(tmpChar2); 286 286 char tmpChar3[20]; 287 sprintf(tmpChar3, "M in: %4.0f", this->minFPS);287 sprintf(tmpChar3, "MIN: %4.0f", this->minFPS); 288 288 this->geTextMinFPS->setText(tmpChar3); 289 289 } … … 294 294 if( display) 295 295 { 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); 297 297 this->geTextCFPS->setAlignment(TEXT_ALIGN_LEFT); 298 298 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); 300 300 this->geTextMaxFPS->setAlignment(TEXT_ALIGN_LEFT); 301 301 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); 303 303 this->geTextMinFPS->setAlignment(TEXT_ALIGN_LEFT); 304 304 this->geTextMinFPS->setPosition(0, 560); -
orxonox/branches/md2_loader/src/lib/graphics/importer/md2Model.h
r4070 r4072 91 91 92 92 93 94 95 93 //! A class for representating a MD2Model 96 94 class MD2Model : public AbstractModel {
Note: See TracChangeset
for help on using the changeset viewer.