summaryrefslogtreecommitdiff
path: root/src/sound.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-09-04Add const to more classes.Andrei Karas1-15/+15
2012-08-23Remove useless includes.Andrei Karas1-1/+0
2012-08-17Fix code style.Andrei Karas1-2/+2
2012-08-08Play sound on getting new quest and complete quest.Andrei Karas1-1/+2
New items for paths.xml: newQuestSfx and completeQuestSfx.
2012-07-15Add fallback from unsupported audio modes to default 22011/stereo.Andrei Karas1-1/+3
2012-06-17Replace SDL int types to C++ types.Andrei Karas1-1/+1
2012-04-21Add audio frequency and audio channels settings.Andrei Karas1-2/+15
2012-02-29Simplify remove listener calls.Andrei Karas1-5/+1
2012-02-28Add different sound effects for different events.Andrei Karas1-0/+6
Can be configured in audio tab in settings.
2012-02-25Replace setuo audio page to new class.Andrei Karas1-0/+8
2012-02-02Add some checks after automatic checking.Andrei Karas1-1/+8
2012-01-24Based on commit b856e8b47ab2dfd393e3c2720c5647eb66393931Andrei Karas1-62/+31
Author: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> Date: Tue Jan 24 19:14:24 2012 +0100 Stream music files directly from the archives Use Mix_LoadMUS_RW to stream music files directly from PhysFS. I kept around ResourceManager:copyFile for now, since it may have other uses.
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2012-01-04Allow play gui sound with incorrect paths configured.Andrei Karas1-2/+6
2011-11-08Fix more gcc 4.7 warnings.Andrei Karas1-6/+6
2011-11-07Fix some warnings under gcc 4.7.Andrei Karas1-1/+1
2011-09-05Fix multiply new message sounds at same time.Andrei Karas1-3/+6
2011-08-12Rename file names log and chatlog to correct logger and chatlogger.Andrei Karas1-1/+1
2011-07-08Fix music fade out.Andrei Karas1-2/+3
2011-05-24Add simple memory leak detector.Andrei Karas1-0/+2
Can be enabled by configure option -enable-memdebug=yes. Known issue: not all memory allocations hooked with it.
2011-04-28Implemented a simple non-blocking fadeOutAndPlay system.Yohann Ferreira1-8/+51
It's currently used when changing maps. Resolves: TMW-Mantis: #750. Reviewed-by: Thorbjorn. Conflicts: src/game.cpp src/sound.cpp src/sound.h
2011-04-04Replcae find to compare if need.Andrei Karas1-1/+1
2011-03-30Add background music map ranges.Andrei Karas1-1/+1
2011-02-19Update copyrights.Andrei Karas1-2/+3
2011-01-13Remove playSfx duplicate function and add check for negative volume.Andrei Karas1-20/+4
2011-01-06Set sound volume depends on distance to object.Andrei Karas1-0/+32
2011-01-02Initial commit.Andrei Karas1-0/+344
This code based on mana client http://www.gitorious.org/mana/mana and my private repository.