Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4681 in orxonox.OLD for orxonox/trunk/src/lib/graphics


Ignore:
Timestamp:
Jun 24, 2005, 12:32:14 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: nicer font, and now i should reimplement font

Location:
orxonox/trunk/src/lib/graphics
Files:
3 edited

Legend:

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

    r4663 r4681  
    157157    fullscreenFlag = 0;
    158158
    159   printf ("ok\n");
    160159  if((this->screen = SDL_SetVideoMode(this->resolutionX, this->resolutionY, this->bitsPerPixel, this->videoFlags | fullscreenFlag)) == NULL)
    161160    {
     
    339338    {
    340339#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);
    342341      this->geTextCFPS->setAlignment(TEXT_ALIGN_LEFT);
    343342      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);
    345344      this->geTextMaxFPS->setAlignment(TEXT_ALIGN_LEFT);
    346345      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);
    348347      this->geTextMinFPS->setAlignment(TEXT_ALIGN_LEFT);
    349348      this->geTextMinFPS->setPosition(5, 560);
  • orxonox/trunk/src/lib/graphics/graphics_engine.h

    r4619 r4681  
    5959    void listModes(void);
    6060
     61    /** \brief swaps the GL_BUFFERS */
     62    static void swapBuffers(void) { SDL_GL_SwapBuffers(); };
     63
    6164  public:
    6265    static bool texturesEnabled;
  • orxonox/trunk/src/lib/graphics/text_engine.cc

    r4597 r4681  
    254254      glTranslatef(pos.x, pos.y, 0);
    255255
    256       //      printf("%d, %d\n", this->font->getFastTextureID(), glyphArray[65]->displayList);
    257256      char* tmpText = this->text;
    258257      while (*tmpText != '\0')
Note: See TracChangeset for help on using the changeset viewer.