Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 14, 2008, 9:39:57 PM (16 years ago)
Author:
rgrieder
Message:
  • replaced all String2Number with ConvertValue
  • replaced all tokenize with SubString
  • dealt with warnings under msvc
  • removed some warnings by placing casts
  • bugfix in audio: local variable pushed into member variable std::vector
  • updated StableHeaders.h
File:
1 edited

Legend:

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

    r1056 r1064  
    3636
    3737#include "core/Tickable.h"
    38 #include "AudioBuffer.h"
    39 #include "AudioSource.h"
    40 #include "AudioStream.h"
    4138
    4239namespace audio
     
    7673
    7774                // Background sound
    78     std::vector<AudioStream> bgSounds;
     75    std::vector<AudioStream*> bgSounds;
    7976                int currentBgSound;
    8077
     
    8481
    8582                // Vector containing all audio files
    86                 std::vector<AudioBuffer> buffers;
     83                std::vector<AudioBuffer*> buffers;
    8784                // Vector containing all audio sources which referer to one buffer
    88                 std::vector<AudioSource> sources;
     85                std::vector<AudioSource*> sources;
    8986                // The ambient background sound
    90                 AudioSource ambient;
     87                AudioSource* ambient;
    9188
    9289                std::vector<float> listenerPosition;
Note: See TracChangeset for help on using the changeset viewer.