29 nonvirtual
virtual void Play(
void );
35 bool m_omniDirectional;
42 m_sample =
"common/null.wav";
62 m_omniDirectional =
true;
66 m_omniDirectional =
false;
70 m_ignoreReverb =
false;
74 m_ignoreReverb =
true;
80 if ( m_ignoreReverb ) {
81 soundFlags |= SOUNDFLAG_NOREVERB;
84 if ( m_omniDirectional ) {
85 soundFlags |= SOUNDFLAG_NOSPACIALISE;
89 sound(
this, CHAN_AUTO, m_sample, m_volume, m_radius, m_pitch, soundFlags, m_offset );
This entity class represents point-entity triggers.
Definition: NSPointTrigger.h:26
nonvirtual void MakeDirectional(void)
Definition: NSSound.h:65
nonvirtual void SetSoundOffset(float)
Definition: NSSound.h:57
nonvirtual void SetSample(string)
Definition: NSSound.h:45
nonvirtual void DisableReverb(void)
Definition: NSSound.h:73
void NSSound(void)
Definition: NSSound.h:39
nonvirtual void EnableReverb(void)
Definition: NSSound.h:69
nonvirtual void SetRadius(float)
Definition: NSSound.h:53
nonvirtual void SetVolume(float)
Definition: NSSound.h:49
nonvirtual void MakeOmniDirectional(void)
Definition: NSSound.h:61
virtual nonvirtual void Play(void)
Definition: NSSound.h:77