Changeset 1021 for code/trunk/src/audio
- Timestamp:
- Apr 10, 2008, 5:03:34 PM (17 years ago)
- Location:
- code/trunk/src/audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/audio/AudioManager.cc
r790 r1021 42 42 AudioManager::~AudioManager() 43 43 { 44 for (unsigned int i=0;i< =bgSounds.size();i++)44 for (unsigned int i=0;i<bgSounds.size();i++) 45 45 { 46 46 bgSounds[i].release(); … … 84 84 } 85 85 86 void AudioManager:: update()86 void AudioManager::tick(float dt) 87 87 { 88 88 if (bgSounds.size() > 0) -
code/trunk/src/audio/AudioManager.h
r790 r1021 3 3 4 4 #include "AudioIncludes.h" 5 6 #include "core/Tickable.h" 5 7 6 8 #include "AudioPrereqs.h" … … 12 14 namespace audio 13 15 { 14 class _AudioExport AudioManager 16 class _AudioExport AudioManager : public orxonox::Tickable 15 17 { 16 18 public: … … 37 39 38 40 // Update 39 void update();41 void tick(float dt); 40 42 41 43 void ambientAdd(std::string file);
Note: See TracChangeset
for help on using the changeset viewer.