14 #ifndef __diguySoundInstance_H
15 #define __diguySoundInstance_H
21 #define CPLUSPLUS_ONLY
25 class bdiSoundInstance;
26 class bdiScenarioCharacter;
49 const char* get_name();
61 const char* get_type_name();
79 int play(
double offset = 0.0);
103 int get_is_stopping();
124 int stop(
float rampdown_time = 0.0f);
144 int set_automatic_destroy_flag();
163 void set_is_3d_sound_flag(
int is_3d_sound_flag);
175 int get_is_3d_sound_flag();
182 #ifdef CPLUSPLUS_ONLY
184 bdiSoundInstance* get_scripted_object() {
return m_scripted_object;}
188 void clear_scripted_object() {m_scripted_object = NULL;}
193 bdiScenarioCharacter* character);
203 bdiSoundInstance* m_scripted_object;
204 bdiScenarioCharacter* m_character;
206 friend class bdiScenarioCharacter;
207 friend class bdiSoundInstance;
208 friend class bdiSoundFactory;
209 friend class bdiSoundFactoryOpenAL;