Changeset 3781 in orxonox.OLD for orxonox/branches/textEngine/src/story_entities
- Timestamp:
- Apr 12, 2005, 1:05:46 AM (19 years ago)
- Location:
- orxonox/branches/textEngine/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/textEngine/src/story_entities/world.cc
r3777 r3781 40 40 #include "glmenu_imagescreen.h" 41 41 #include "list.h" 42 43 #include "animation.h" 42 44 43 45 using namespace std; … … 354 356 this->testText = TextEngine::getInstance()->createText("fonts/earth.ttf", 30, TEXT_DYNAMIC, 0, 255, 0); 355 357 testText->setText("TEXT rocks"); 356 testText->setBlending( .5);358 testText->setBlending(1.0); 357 359 testText->setBindNode(tn); 358 360 361 362 tmpAnim = new Animation<Text>(); 363 364 tmpAnim->setFuncToAnim(testText, &Text::setBlending); 359 365 break; 360 366 } … … 780 786 this->localCamera->tick(this->dt); 781 787 this->garbageCollector->tick(seconds); 788 tmpAnim->tick(this->dt); 782 789 } 783 790 this->lastFrame = currentFrame; -
orxonox/branches/textEngine/src/story_entities/world.h
r3769 r3781 24 24 class GarbageCollector; 25 25 class Text; 26 template<class T> class Animation; 26 27 27 28 //! The game world Interface … … 95 96 bool bPause; //!< pause mode 96 97 98 Animation<Text>* tmpAnim; 97 99 Text* testText; //!< A text to Test the TextEngine; 98 100 GLMenuImageScreen* glmis; //!< The Level-Loader Display
Note: See TracChangeset
for help on using the changeset viewer.