Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 9, 2005, 4:19:55 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/textEngine: moved the fonts into a new File textEngine, and also implemented a TextEngine-Singleton-class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/textEngine/src/story_entities/world.cc

    r3754 r3766  
    3838#include "command_node.h"
    3939#include "glmenu_imagescreen.h"
    40 #include "glfont.h"
    4140#include "list.h"
    4241
     
    200199    {
    201200      // initializing Font
    202       tmpFont = new GLFont("../data/fonts/earth.ttf");
    203201      this->glmis->step();
    204202      // initializing the TrackManager
     
    344342            PNode* tn = trackManager->getTrackNode();
    345343            tn->addChild(this->localPlayer);
    346             tmpFont->setBindNode(tn);
    347344
    348345            //localCamera->setParent(TrackNode::getInstance());
     
    592589  skySphere->draw();
    593590
    594   tmpFont->draw();
    595 
    596591  lightMan->draw(); // must be at the end of the drawing procedure, otherwise Light cannot be handled as PNodes //
    597592}
     
    748743          char tmpChar[20];
    749744          sprintf(tmpChar, "fps: %4.0f", fps);
    750           tmpFont->setText(tmpChar);
    751           tmpFont->createTexture();
    752745        }
    753746      else
Note: See TracChangeset for help on using the changeset viewer.