Changeset 4204 in orxonox.OLD for orxonox/branches/openAL/src/util
- Timestamp:
- May 17, 2005, 2:05:57 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/openAL/src/util/resource_manager.cc
r4194 r4204 23 23 #include "texture.h" 24 24 #include "text_engine.h" 25 #include "sound_engine.h" 25 26 26 27 #include "list.h" … … 284 285 else 285 286 PRINTF(2)("Sorry, %s does not exist. Not loading Font\n", fullName); 287 break; 288 case WAV: 289 if(isFile(fullName)) 290 tmpResource->pointer = new SoundBuffer(fullName); 286 291 break; 287 292 case IMAGE: … … 369 374 case IMAGE: 370 375 delete (Texture*)resource->pointer; 376 break; 377 case WAV: 378 delete (SoundBuffer*)resource->pointer; 371 379 break; 372 380 case TTF:
Note: See TracChangeset
for help on using the changeset viewer.