|
Skyscraper 2.0
|
#include <reverb.h>


Public Member Functions | |
| Reverb (Object *parent, const std::string &name, std::string type, const Vector3 &position, Real min_distance, Real max_distance, bool permanent) | |
| ~Reverb () | |
| Real | GetMinimumDistance () |
| Real | GetMaximumDistance () |
| void | Report (const std::string &message) |
| bool | ReportError (const std::string &message) |
| void | OnMove (bool parent) |
| void | Enable (bool value) |
Public Member Functions inherited from SBS::Object | |
| Object (Object *parent) | |
| virtual | ~Object () |
| void | SetValues (const std::string &type, const std::string &name, bool is_permanent, bool is_movable=true) |
| bool | IsPermanent () |
| bool | IsMovable () |
| const std::string & | GetType () |
| int | GetNumber () |
| void | AddChild (Object *object) |
| Object * | GetChild (int index) |
| int | GetChildrenCount () |
| void | RemoveChild (Object *object) |
| SceneNode * | GetSceneNode () |
| void | ShowBoundingBox (bool value) |
| virtual void | Move (const Vector3 &vector, Real speed=1.0, bool force=false) |
| virtual void | Move (Real X, Real Y, Real Z, Real speed=1.0, bool force=false) |
| virtual void | SetPosition (const Vector3 &position, bool relative=false, bool force=false) |
| virtual void | SetPosition (Real X, Real Y, Real Z, bool relative=false, bool force=false) |
| virtual void | SetPositionY (Real value, bool force=false) |
| virtual Vector3 | GetPosition (bool relative=false) |
| virtual void | Rotate (const Vector3 &vector, Real speed=1.0) |
| virtual void | Rotate (Real X, Real Y, Real Z, Real speed=1.0) |
| virtual void | SetRotation (const Vector3 &rotation) |
| virtual void | SetRotation (Real X, Real Y, Real Z) |
| virtual Vector3 | GetRotation () |
| Quaternion | GetOrientation (bool relative=false) |
| void | SetOrientation (const Quaternion &q, bool relative=false) |
| virtual void | OnRotate (bool parent) |
| virtual void | OnClick (Vector3 &position, bool shift, bool ctrl, bool alt, bool right) |
| virtual void | OnUnclick (bool right) |
| virtual void | OnHit () |
| void | NotifyMove (bool parent=false) |
| void | NotifyRotate (bool parent=false) |
| virtual void | ResetState () |
| void | ChangeParent (Object *new_parent) |
| bool | IsGlobal () |
| void | Init (bool children=true) |
| virtual void | OnInit () |
| virtual void | Loop () |
| void | RegisterLoop (Object *object) |
| void | UnregisterLoop (Object *object) |
| virtual void | Enabled (bool value) |
| virtual bool | IsEnabled () |
| std::string | GetNameBase () |
| template<typename T > | |
| bool | IsType () |
| template<typename T > | |
| T * | ConvertTo () |
Public Member Functions inherited from SBS::ObjectBase | |
| ObjectBase (Object *parent) | |
| virtual | ~ObjectBase () |
| Object * | GetParent () |
| SBS * | GetRoot () |
| void | SetName (const std::string &name) |
| const std::string & | GetName () |
| std::string | GetNameBase () |
Private Attributes | |
| SoundSystem * | soundsys |
| FMOD::Reverb3D * | reverb |
| float | MinDistance |
| float | MaxDistance |
Additional Inherited Members | |
Public Attributes inherited from SBS::Object | |
| std::string | command |
| std::string | command_processed |
| std::string | context |
| int | linenum |
| std::string | includefile |
| bool | parent_deleting |
Protected Member Functions inherited from SBS::Object | |
| void | EnableLoop (bool value) |
| void | LoopChildren () |
| bool | SelfDestruct () |
Protected Attributes inherited from SBS::ObjectBase | |
| SBS * | sbs |
| SBS::Reverb::Reverb | ( | Object * | parent, |
| const std::string & | name, | ||
| std::string | type, | ||
| const Vector3 & | position, | ||
| Real | min_distance, | ||
| Real | max_distance, | ||
| bool | permanent ) |
Definition at line 37 of file reverb.cpp.
References SBS::SoundSystem::GetFmodSystem(), SBS::SBS::GetSoundSystem(), SBS::SBS::IncrementReverbCount(), MaxDistance, MinDistance, SBS::Object::Move(), Report(), ReportError(), reverb, SBS::ObjectBase::sbs, SBS::SetCase(), SBS::Object::SetValues(), soundsys, and SBS::SBS::ToGlobal().

| SBS::Reverb::~Reverb | ( | ) |
Definition at line 140 of file reverb.cpp.
References SBS::SBS::DecrementReverbCount(), SBS::SBS::FastDelete, SBS::ObjectBase::GetParent(), SBS::Object::GetType(), SBS::Object::parent_deleting, SBS::SBS::RemoveReverb(), reverb, and SBS::ObjectBase::sbs.

| void SBS::Reverb::Enable | ( | bool | value | ) |
Definition at line 209 of file reverb.cpp.
References reverb.
| Real SBS::Reverb::GetMaximumDistance | ( | ) |
Definition at line 194 of file reverb.cpp.
References MaxDistance.
| Real SBS::Reverb::GetMinimumDistance | ( | ) |
Definition at line 189 of file reverb.cpp.
References MinDistance.
|
virtual |
Reimplemented from SBS::Object.
Definition at line 167 of file reverb.cpp.
References SBS::Object::GetPosition(), MaxDistance, MinDistance, ReportError(), reverb, SBS::ObjectBase::sbs, and SBS::SBS::ToGlobal().

|
virtual |
Reimplemented from SBS::ObjectBase.
Definition at line 199 of file reverb.cpp.
References SBS::ObjectBase::GetName(), SBS::ObjectBase::GetParent(), and SBS::ObjectBase::Report().
Referenced by Reverb().

|
virtual |
Reimplemented from SBS::ObjectBase.
Definition at line 204 of file reverb.cpp.
References SBS::ObjectBase::GetName(), SBS::ObjectBase::GetParent(), and SBS::ObjectBase::ReportError().
Referenced by OnMove(), and Reverb().

|
private |
Definition at line 54 of file reverb.h.
Referenced by GetMaximumDistance(), OnMove(), and Reverb().
|
private |
Definition at line 53 of file reverb.h.
Referenced by GetMinimumDistance(), OnMove(), and Reverb().
|
private |
|
private |