Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 30, 2009, 11:50:17 PM (14 years ago)
Author:
dafrick
Message:

Some cleanup in SoundManager and related classes. Overrall volume works now. Mute function has been implemented into the gui.
Once again you'll have to delete your orxonox.ini file to be trouble free.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/sound/WorldSound.cc

    r6117 r6186  
    3535#include "core/EventIncludes.h"
    3636#include "core/XMLPort.h"
     37#include "SoundManager.h"
    3738
    3839namespace orxonox
     
    9596            this->stop();
    9697    }
     98   
     99    float WorldSound::getVolumeGain()
     100    {
     101        return SoundManager::getInstance().getVolume(SoundType::effects);
     102    }
    97103}
Note: See TracChangeset for help on using the changeset viewer.