Changeset 3707 in orxonox.OLD for orxonox/branches/textEngine/src/story_entities/world.cc
- Timestamp:
- Apr 1, 2005, 12:11:24 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/textEngine/src/story_entities/world.cc
r3701 r3707 203 203 testFont = new FontSet(); 204 204 testFont->buildFont("../data/pictures/font.tga"); 205 tmpFont = new GLFont("../data/fonts/ refluxed.ttf");205 tmpFont = new GLFont("../data/fonts/dark_crystal.ttf"); 206 206 this->glmis->step(); 207 207 // initializing the TrackManager … … 747 747 { 748 748 float fps = 1000/dt; 749 PRINTF(0)("fps = %f\n", fps); 749 750 // temporary, only for showing how fast the text-engine is 750 751 char tmpChar[20]; 751 sprintf(tmpChar, "fps: % d", rand());752 sprintf(tmpChar, "fps: %4.0f", fps); 752 753 tmpFont->setText(tmpChar); 753 754 tmpFont->createTexture();
Note: See TracChangeset
for help on using the changeset viewer.