Changeset 4681 in orxonox.OLD for orxonox/trunk/src/lib
- Timestamp:
- Jun 24, 2005, 12:32:14 AM (19 years ago)
- Location:
- orxonox/trunk/src/lib/graphics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/graphics_engine.cc
r4663 r4681 157 157 fullscreenFlag = 0; 158 158 159 printf ("ok\n");160 159 if((this->screen = SDL_SetVideoMode(this->resolutionX, this->resolutionY, this->bitsPerPixel, this->videoFlags | fullscreenFlag)) == NULL) 161 160 { … … 339 338 { 340 339 #ifndef NO_TEXT 341 this->geTextCFPS = TextEngine::getInstance()->createText("fonts/ druid.ttf", 35, TEXT_DYNAMIC, 0, 255, 0);340 this->geTextCFPS = TextEngine::getInstance()->createText("fonts/arial_black.ttf", 15, TEXT_DYNAMIC, 0, 255, 0); 342 341 this->geTextCFPS->setAlignment(TEXT_ALIGN_LEFT); 343 342 this->geTextCFPS->setPosition(5, 500); 344 this->geTextMaxFPS = TextEngine::getInstance()->createText("fonts/ druid.ttf", 35, TEXT_DYNAMIC, 0, 255, 0);343 this->geTextMaxFPS = TextEngine::getInstance()->createText("fonts/arial_black.ttf", 15, TEXT_DYNAMIC, 0, 255, 0); 345 344 this->geTextMaxFPS->setAlignment(TEXT_ALIGN_LEFT); 346 345 this->geTextMaxFPS->setPosition(5, 530); 347 this->geTextMinFPS = TextEngine::getInstance()->createText("fonts/ druid.ttf", 35, TEXT_DYNAMIC, 0, 255, 0);346 this->geTextMinFPS = TextEngine::getInstance()->createText("fonts/arial_black.ttf", 35, TEXT_DYNAMIC, 0, 255, 0); 348 347 this->geTextMinFPS->setAlignment(TEXT_ALIGN_LEFT); 349 348 this->geTextMinFPS->setPosition(5, 560); -
orxonox/trunk/src/lib/graphics/graphics_engine.h
r4619 r4681 59 59 void listModes(void); 60 60 61 /** \brief swaps the GL_BUFFERS */ 62 static void swapBuffers(void) { SDL_GL_SwapBuffers(); }; 63 61 64 public: 62 65 static bool texturesEnabled; -
orxonox/trunk/src/lib/graphics/text_engine.cc
r4597 r4681 254 254 glTranslatef(pos.x, pos.y, 0); 255 255 256 // printf("%d, %d\n", this->font->getFastTextureID(), glyphArray[65]->displayList);257 256 char* tmpText = this->text; 258 257 while (*tmpText != '\0')
Note: See TracChangeset
for help on using the changeset viewer.