Changeset 4504 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- Jun 4, 2005, 12:38:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/resource_manager.cc
r4468 r4504 24 24 #include "texture.h" 25 25 #include "text_engine.h" 26 #include "sound_engine.h" 26 27 27 28 #include "list.h" … … 312 313 else 313 314 PRINTF(2)("Sorry, %s does not exist. Not loading Font\n", fullName); 315 break; 316 case WAV: 317 if(isFile(fullName)) 318 tmpResource->pointer = new SoundBuffer(fullName); 314 319 break; 315 320 case IMAGE: … … 407 412 delete (Texture*)resource->pointer; 408 413 break; 414 case WAV: 415 delete (SoundBuffer*)resource->pointer; 416 break; 409 417 case TTF: 410 418 delete (Font*)resource->pointer;
Note: See TracChangeset
for help on using the changeset viewer.