Changeset 5344 in orxonox.OLD for trunk/src/util
- Timestamp:
- Oct 10, 2005, 12:39:21 AM (19 years ago)
- Location:
- trunk/src/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/resource_manager.cc
r5335 r5344 30 30 #endif /* NO_TEXTURES */ 31 31 #ifndef NO_TEXT 32 #include "text_engine.h" 32 #include "font.h" 33 #include "text.h" //!< @todo this should not be included here. -> make FONT independant of SIZE... 33 34 #endif /* NO_TEXT */ 34 35 #ifndef NO_AUDIO … … 359 360 tmpResource->ttfSize = *(unsigned int*)param1; 360 361 else 361 tmpResource->ttfSize = FONT_DEFAULT_SIZE;362 tmpResource->ttfSize = TEXT_DEFAULT_SIZE; 362 363 363 364 if(isFile(fullName)) … … 613 614 if (param1 == NULL) 614 615 { 615 if (enumRes->ttfSize == FONT_DEFAULT_SIZE)616 if (enumRes->ttfSize == TEXT_DEFAULT_SIZE) 616 617 match = true; 617 618 } -
trunk/src/util/track/track_manager.cc
r5336 r5344 24 24 #include "stdincl.h" 25 25 #include "list.h" 26 #include "text _engine.h"26 #include "text.h" 27 27 #include "t_animation.h" 28 28 … … 380 380 this->setBindSlave(this->trackNode); 381 381 // initializing the Text 382 this->trackText = TextEngine::getInstance()->createText("fonts/earth.ttf", 30, TEXT_RENDER_DYNAMIC);382 this->trackText = new Text("fonts/earth.ttf", 30, TEXT_RENDER_DYNAMIC); 383 383 this->trackText->setAlignment(E2D_ALIGN_SCREEN_CENTER); 384 384 // initializing the Animation for the Text.
Note: See TracChangeset
for help on using the changeset viewer.