Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 22, 2006, 2:36:54 PM (19 years ago)
Author:
bensch
Message:

new_class_id: many more classes done

File:
1 edited

Legend:

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

    r8969 r9686  
    2525namespace OrxSound
    2626{
     27  NewObjectListDefinition(SoundSource);
    2728  /**
    2829  * @brief creates a SoundSource at position sourceNode with the SoundBuffer buffer
     
    3031  SoundSource::SoundSource(const PNode* sourceNode, const SoundBuffer* buffer)
    3132  {
    32     this->setClassID(CL_SOUND_SOURCE, "SoundSource");
    33 
     33    this->registerObject(this, SoundSource::_objectList);
    3434    // adding the Source to the SourcesList of the SoundEngine
    3535    this->buffer = buffer;
     
    5151  SoundSource::SoundSource(const SoundSource& source)
    5252  {
    53     this->setClassID(CL_SOUND_SOURCE, "SoundSource");
     53    this->registerObject(this, SoundSource::_objectList);
    5454
    5555    // adding the Source to the SourcesList of the SoundEngine
Note: See TracChangeset for help on using the changeset viewer.