Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1021 for code/trunk/src/audio


Ignore:
Timestamp:
Apr 10, 2008, 5:03:34 PM (17 years ago)
Author:
bknecht
Message:

merged back that script-branch

Location:
code/trunk/src/audio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/audio/AudioManager.cc

    r790 r1021  
    4242        AudioManager::~AudioManager()
    4343        {
    44                 for (unsigned int i=0;i<=bgSounds.size();i++)
     44                for (unsigned int i=0;i<bgSounds.size();i++)
    4545                {
    4646                        bgSounds[i].release();
     
    8484        }
    8585
    86         void AudioManager::update()
     86        void AudioManager::tick(float dt)
    8787        {
    8888                if (bgSounds.size() > 0)
  • code/trunk/src/audio/AudioManager.h

    r790 r1021  
    33
    44#include "AudioIncludes.h"
     5
     6#include "core/Tickable.h"
    57
    68#include "AudioPrereqs.h"
     
    1214namespace audio
    1315{
    14         class _AudioExport AudioManager
     16  class _AudioExport AudioManager : public orxonox::Tickable
    1517        {
    1618        public:
     
    3739
    3840                // Update
    39                 void update();
     41                void tick(float dt);
    4042
    4143                void ambientAdd(std::string file);
Note: See TracChangeset for help on using the changeset viewer.