Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5344 in orxonox.OLD for trunk/src/util/resource_manager.cc


Ignore:
Timestamp:
Oct 10, 2005, 12:39:21 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: new Way to load and unload Text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/resource_manager.cc

    r5335 r5344  
    3030#endif /* NO_TEXTURES */
    3131#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...
    3334#endif /* NO_TEXT */
    3435#ifndef NO_AUDIO
     
    359360              tmpResource->ttfSize = *(unsigned int*)param1;
    360361            else
    361               tmpResource->ttfSize = FONT_DEFAULT_SIZE;
     362              tmpResource->ttfSize = TEXT_DEFAULT_SIZE;
    362363
    363364          if(isFile(fullName))
     
    613614              if (param1 == NULL)
    614615                {
    615                   if (enumRes->ttfSize == FONT_DEFAULT_SIZE)
     616                  if (enumRes->ttfSize == TEXT_DEFAULT_SIZE)
    616617                    match = true;
    617618                }
Note: See TracChangeset for help on using the changeset viewer.