Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3749 in orxonox.OLD for orxonox/branches


Ignore:
Timestamp:
Apr 7, 2005, 6:34:52 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/textEngine: now displays the real text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/textEngine/src/lib/graphics/font/glfont.cc

    r3748 r3749  
    312312
    313313      printf("%d, %d\n", this->fastTextureID, glyphArray[65]->displayList);
    314       glCallList(glyphArray[65]->displayList);
     314      char* tmpText = this->currentText->text;
     315      while (*tmpText != '\0')
     316        {
     317          if(glyphArray[*tmpText])
     318            {
     319              glCallList(this->glyphArray[*tmpText]->displayList);
     320              glTranslatef(this->glyphArray[*tmpText]->width, 0, 0);
     321            }
     322          tmpText++;
     323        }
    315324    }
    316325  this->leave2DMode();
Note: See TracChangeset for help on using the changeset viewer.