Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4653 in orxonox.OLD for orxonox/trunk/src/util


Ignore:
Timestamp:
Jun 18, 2005, 2:44:14 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: still a strange bug in the TYPE-case of the resource manager…
temporarily fixed the importer

Location:
orxonox/trunk/src/util
Files:
2 edited

Legend:

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

    r4642 r4653  
    129129}
    130130
    131 #ifndef NO_TEXTURE
     131#ifndef NO_TEXTURES
    132132/**
    133133   \brief adds a new Path for Images
     
    223223   tmpType = IMAGE;
    224224#endif /* NO_TEXTURES */
    225 
     225#undef __IF_OK
    226226  return this->load(fileName, tmpType, prio, param1, param2, param3);
    227227}
     
    459459#endif /* NO_TEXTURES */
    460460            default:
    461               PRINTF(1)("NOT YET IMPLEMENTED !!FIX FIX!!\n");
     461              PRINTF(2)("NOT YET IMPLEMENTED !!FIX FIX!!\n");
    462462              return false;
    463463              break;
     
    821821          break;
    822822#endif
     823#ifndef NO_AUDIO
     824        case WAV:
     825          PRINT(0)("SoundFile\n");
     826#endif
    823827        default:
    824           PRINT(0)("SoundFile\n");
     828          PRINT(0)("Do not know this format\n");
    825829          break;
    826830        }
  • orxonox/trunk/src/util/resource_manager.h

    r4637 r4653  
    3434  MD2,                  //!< loading md2-file
    3535#endif /* NO_MODEL */
     36#ifndef NO_TEXT
     37  TTF,                  //!< loading a TrueTypeFont
     38#endif /* NO_TEXT */
    3639#ifndef NO_AUDIO
    3740  WAV,                  //!< loading wav
     
    3942  OGG,                  //!< loading ogg
    4043#endif /* NO_AUDIO */
    41 #ifndef NO_TEXT
    42   TTF,                  //!< loading a TrueTypeFont
    43 #endif /* NO_TEXT */
    4444#ifndef NO_TEXTURES
    4545  IMAGE                 //!< loading an image
Note: See TracChangeset for help on using the changeset viewer.