- Timestamp:
- Jun 18, 2005, 2:44:14 PM (19 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/subprojects/importer/Makefile.am
r4637 r4653 2 2 include $(MAINSRCDIR)/defs/include_paths.am 3 3 4 importer_CPPFLAGS = -DNO_AUDIO4 importer_CPPFLAGS = 5 5 6 6 importer_LDFLAGS = $(MWINDOWS) … … 10 10 importer_LDADD = $(MAINSRCDIR)/lib/event/libORXevent.a \ 11 11 $(MAINSRCDIR)/lib/tinyxml/libtinyxml.a \ 12 $(MAINSRCDIR)/lib/sound/libORXsound.a \ 12 13 $(MAINSRCDIR)/lib/graphics/importer/libORXimporter.a 13 14 -
orxonox/trunk/src/subprojects/importer/Makefile.in
r4639 r4653 63 63 importer_DEPENDENCIES = $(MAINSRCDIR)/lib/event/libORXevent.a \ 64 64 $(MAINSRCDIR)/lib/tinyxml/libtinyxml.a \ 65 $(MAINSRCDIR)/lib/sound/libORXsound.a \ 65 66 $(MAINSRCDIR)/lib/graphics/importer/libORXimporter.a 66 67 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) … … 201 202 target_vendor = @target_vendor@ 202 203 MAINSRCDIR = ../.. 203 importer_CPPFLAGS = -DNO_AUDIO204 importer_CPPFLAGS = 204 205 importer_LDFLAGS = $(MWINDOWS) 205 206 importer_LDADD = $(MAINSRCDIR)/lib/event/libORXevent.a \ 206 207 $(MAINSRCDIR)/lib/tinyxml/libtinyxml.a \ 208 $(MAINSRCDIR)/lib/sound/libORXsound.a \ 207 209 $(MAINSRCDIR)/lib/graphics/importer/libORXimporter.a 208 210 -
orxonox/trunk/src/subprojects/importer/importer.cc
r4649 r4653 32 32 ResourceManager::getInstance()->addImageDir("./"); 33 33 34 for (int i = 0; i < argc; i++) 35 { 36 printf("%s\n", argv[i]); 37 } 38 ResourceManager::getInstance()->addImageDir(""); 39 40 34 41 if (argc>=3) 35 42 obj = new OBJModel (argv[1], atof(argv[2])); … … 38 45 else 39 46 obj = new PrimitiveModel(PRIM_CYLINDER); 47 48 ResourceManager::getInstance()->debug(); 40 49 41 50 LightManager* lightMan = LightManager::getInstance(); -
orxonox/trunk/src/util/resource_manager.cc
r4642 r4653 129 129 } 130 130 131 #ifndef NO_TEXTURE 131 #ifndef NO_TEXTURES 132 132 /** 133 133 \brief adds a new Path for Images … … 223 223 tmpType = IMAGE; 224 224 #endif /* NO_TEXTURES */ 225 225 #undef __IF_OK 226 226 return this->load(fileName, tmpType, prio, param1, param2, param3); 227 227 } … … 459 459 #endif /* NO_TEXTURES */ 460 460 default: 461 PRINTF( 1)("NOT YET IMPLEMENTED !!FIX FIX!!\n");461 PRINTF(2)("NOT YET IMPLEMENTED !!FIX FIX!!\n"); 462 462 return false; 463 463 break; … … 821 821 break; 822 822 #endif 823 #ifndef NO_AUDIO 824 case WAV: 825 PRINT(0)("SoundFile\n"); 826 #endif 823 827 default: 824 PRINT(0)(" SoundFile\n");828 PRINT(0)("Do not know this format\n"); 825 829 break; 826 830 } -
orxonox/trunk/src/util/resource_manager.h
r4637 r4653 34 34 MD2, //!< loading md2-file 35 35 #endif /* NO_MODEL */ 36 #ifndef NO_TEXT 37 TTF, //!< loading a TrueTypeFont 38 #endif /* NO_TEXT */ 36 39 #ifndef NO_AUDIO 37 40 WAV, //!< loading wav … … 39 42 OGG, //!< loading ogg 40 43 #endif /* NO_AUDIO */ 41 #ifndef NO_TEXT42 TTF, //!< loading a TrueTypeFont43 #endif /* NO_TEXT */44 44 #ifndef NO_TEXTURES 45 45 IMAGE //!< loading an image
Note: See TracChangeset
for help on using the changeset viewer.