dungeon_crawler

diff prototype/src/audio/source.h @ 51:d57df51f6b50

- fixed audio panning (listener direction) - particles had no fog - sound sources were not destroyed properly
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 18 Sep 2012 09:40:56 +0300
parents aa9e28670ae2
children
line diff
     1.1 --- a/prototype/src/audio/source.h	Tue Sep 18 04:45:46 2012 +0300
     1.2 +++ b/prototype/src/audio/source.h	Tue Sep 18 09:40:56 2012 +0300
     1.3 @@ -19,6 +19,12 @@
     1.4  	void set_position(const Vector3 &pos, bool viewspace = false);
     1.5  	Vector3 get_position() const;
     1.6  
     1.7 +	void set_volume(float vol);
     1.8 +	float get_volume() const;
     1.9 +
    1.10 +	void set_reference_dist(float rdist);
    1.11 +	float get_reference_dist() const;
    1.12 +
    1.13  	bool is_playing() const;
    1.14  	void play();
    1.15  	void stop();