20#ifndef HEADER_DUMMY_SFX_HPP
21#define HEADER_DUMMY_SFX_HPP
23#include "audio/sfx_base.hpp"
24#include "utils/cpp2011.hpp"
38 virtual bool init() OVERRIDE {
return true; }
39 virtual bool isLooped() OVERRIDE {
return false; }
40 virtual void updatePlayingSFX(
float dt) OVERRIDE {}
41 virtual void setLoop(
bool status) OVERRIDE {}
42 virtual void reallySetLoop(
bool status) OVERRIDE {}
43 virtual void setPosition(
const Vec3 &p) OVERRIDE {}
44 virtual void reallySetPosition(
const Vec3 &p) OVERRIDE {}
45 virtual void setSpeedPosition(
float factor,
46 const Vec3 &p) OVERRIDE {}
47 virtual void reallySetSpeedPosition(
float f,
48 const Vec3 &p) OVERRIDE {}
49 virtual void play() OVERRIDE {}
50 virtual void reallyPlayNow(
SFXBuffer* buffer = NULL) OVERRIDE {}
51 virtual void play(
const Vec3 &xyz,
SFXBuffer* buffer = NULL) OVERRIDE {}
52 virtual void reallyPlayNow(
const Vec3 &xyz,
SFXBuffer* buffer = NULL) OVERRIDE {}
53 virtual void stop() OVERRIDE {}
54 virtual void reallyStopNow() OVERRIDE {}
55 virtual void pause() OVERRIDE {}
56 virtual void reallyPauseNow() OVERRIDE {}
57 virtual void resume() OVERRIDE {}
58 virtual void reallyResumeNow() OVERRIDE {}
59 virtual void deleteSFX() OVERRIDE {}
60 virtual void setSpeed(
float factor) OVERRIDE {}
61 virtual void reallySetSpeed(
float factor) OVERRIDE {}
62 virtual void setVolume(
float gain) OVERRIDE {}
63 virtual void reallySetVolume(
float gain) OVERRIDE {}
64 virtual void setMasterVolume(
float gain) OVERRIDE {}
65 virtual void reallySetMasterVolumeNow(
float gain) OVERRIDE {}
66 virtual SFXStatus getStatus() OVERRIDE {
return SFX_STOPPED; }
67 virtual void onSoundEnabledBack() OVERRIDE {}
68 virtual void setRolloff(
float rolloff) OVERRIDE {}
69 virtual SFXBuffer* getBuffer() const OVERRIDE {
return NULL; }
Dummy sound when ogg or openal aren't available.
Definition: dummy_sfx.hpp:31
virtual bool init() OVERRIDE
Late creation, if SFX was initially disabled.
Definition: dummy_sfx.hpp:38
The base class for sound effects.
Definition: sfx_base.hpp:43
SFXStatus
Status of a sound effect.
Definition: sfx_base.hpp:47
The buffer (data) for one kind of sound effects.
Definition: sfx_buffer.hpp:44
A wrapper around bullets btVector3 to include conventient conversion functions (e....
Definition: vec3.hpp:35