Changeset 3766 in orxonox.OLD for orxonox/branches/textEngine/src/story_entities/world.cc
- Timestamp:
- Apr 9, 2005, 4:19:55 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/textEngine/src/story_entities/world.cc
r3754 r3766 38 38 #include "command_node.h" 39 39 #include "glmenu_imagescreen.h" 40 #include "glfont.h"41 40 #include "list.h" 42 41 … … 200 199 { 201 200 // initializing Font 202 tmpFont = new GLFont("../data/fonts/earth.ttf");203 201 this->glmis->step(); 204 202 // initializing the TrackManager … … 344 342 PNode* tn = trackManager->getTrackNode(); 345 343 tn->addChild(this->localPlayer); 346 tmpFont->setBindNode(tn);347 344 348 345 //localCamera->setParent(TrackNode::getInstance()); … … 592 589 skySphere->draw(); 593 590 594 tmpFont->draw();595 596 591 lightMan->draw(); // must be at the end of the drawing procedure, otherwise Light cannot be handled as PNodes // 597 592 } … … 748 743 char tmpChar[20]; 749 744 sprintf(tmpChar, "fps: %4.0f", fps); 750 tmpFont->setText(tmpChar);751 tmpFont->createTexture();752 745 } 753 746 else
Note: See TracChangeset
for help on using the changeset viewer.