Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4204 in orxonox.OLD for orxonox/branches/openAL/src/util


Ignore:
Timestamp:
May 17, 2005, 2:05:57 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/openAL: added Buffer to the ResourceManager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/openAL/src/util/resource_manager.cc

    r4194 r4204  
    2323#include "texture.h"
    2424#include "text_engine.h"
     25#include "sound_engine.h"
    2526
    2627#include "list.h"
     
    284285          else
    285286            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);
    286291          break;
    287292        case IMAGE:
     
    369374            case IMAGE:
    370375              delete (Texture*)resource->pointer;
     376              break;
     377            case WAV:
     378              delete (SoundBuffer*)resource->pointer;
    371379              break;
    372380            case TTF:
Note: See TracChangeset for help on using the changeset viewer.