Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 27, 2006, 11:25:43 PM (18 years ago)
Author:
bensch
Message:

renamed NewResource to Resource

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/sound/resource_sound_buffer.cc

    r9823 r9847  
    99
    1010  ResourceSoundBuffer::ResourceSoundBuffer(const std::string& soundName)
    11       : SoundBuffer(), NewResource(&ResourceSoundBuffer::type)
     11      : SoundBuffer(), Resource(&ResourceSoundBuffer::type)
    1212  {
    1313    this->registerObject(this, ResourceSoundBuffer::_objectList);
     
    2323    {
    2424      PRINTF(5)("SOUND NOT FOUND: %s\n", soundName.c_str());
    25       std::string fileName = this->NewResource::locateFile(soundName);
     25      std::string fileName = this->Resource::locateFile(soundName);
    2626      this->SoundBuffer::load(fileName);
    27       this->NewResource::addResource(new ResourceSoundBuffer::SoundBufferResourcePointer(soundName, Resources::KeepLevel(0), this->SoundBuffer::dataPointer()));
     27      this->Resource::addResource(new ResourceSoundBuffer::SoundBufferResourcePointer(soundName, Resources::KeepLevel(0), this->SoundBuffer::dataPointer()));
    2828    }
    2929  }
Note: See TracChangeset for help on using the changeset viewer.