Changeset 3766 in orxonox.OLD for orxonox/branches/textEngine/src/story_entities
- Timestamp:
- Apr 9, 2005, 4:19:55 PM (20 years ago)
- Location:
- orxonox/branches/textEngine/src/story_entities
- Files:
-
- 2 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 -
orxonox/branches/textEngine/src/story_entities/world.h
r3754 r3766 21 21 class Skysphere; 22 22 class LightManager; 23 class GLFont;24 23 class Terrain; 25 24 class GarbageCollector; … … 95 94 bool bPause; //!< pause mode 96 95 97 GLFont* tmpFont; //!< tmpFont \todo fix98 96 GLMenuImageScreen* glmis; //!< The Level-Loader Display 99 97
Note: See TracChangeset
for help on using the changeset viewer.