Skyscraper 2.0
reverb.h
Go to the documentation of this file.
1/*
2 Scalable Building Simulator - Reverb Object
3 The Skyscraper Project - Version 2.0
4 Copyright (C)2004-2024 Ryan Thoryk
5 https://www.skyscrapersim.net
6 https://sourceforge.net/projects/skyscraper/
7 Contact - ryan@skyscrapersim.net
8
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License
11 as published by the Free Software Foundation; either version 2
12 of the License, or (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22*/
23
24#ifndef _SBS_REVERB_H
25#define _SBS_REVERB_H
26
27namespace FMOD {
28 class System;
29 class Reverb3D;
30}
31
32namespace SBS {
33
34class SBSIMPEXP Reverb : public Object
35{
36public:
37
38 Reverb(Object *parent, const std::string &name, std::string type, const Vector3 &position, Real min_distance, Real max_distance, bool permanent);
39 ~Reverb();
40 Real GetMinimumDistance();
41 Real GetMaximumDistance();
42 void Report(const std::string &message);
43 bool ReportError(const std::string &message);
44 void OnMove(bool parent);
45 void Enable(bool value);
46
47private:
48
49 //sound system
51
52 FMOD::Reverb3D *reverb;
55};
56
57}
58
59#endif
float MaxDistance
Definition reverb.h:54
float MinDistance
Definition reverb.h:53
FMOD::Reverb3D * reverb
Definition reverb.h:52
SoundSystem * soundsys
Definition reverb.h:50
Ogre::Vector3 Vector3
Definition globals.h:58
Ogre::Real Real
Definition globals.h:57
#define SBSIMPEXP
Definition globals.h:53