dungeon_crawler

diff prototype/src/tile.cc @ 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 c40efa9cf844
children 1ea56011c1ff
line diff
     1.1 --- a/prototype/src/tile.cc	Tue Sep 18 04:45:46 2012 +0300
     1.2 +++ b/prototype/src/tile.cc	Tue Sep 18 09:40:56 2012 +0300
     1.3 @@ -291,7 +291,7 @@
     1.4  				SampleSet *sampleset = tset->get_samples();
     1.5  				AudioSample *sample = sampleset->get("fire.ogg");
     1.6  				if(sample) {
     1.7 -					AudioSourceDesc adesc = {side, lt->get_position(), sample};
     1.8 +					AudioSourceDesc adesc = {side, lt->get_position(), sample, 1.0, 0.1};
     1.9  					ausrc.push_back(adesc);
    1.10  				}
    1.11  			}