sound volume fixes, remove warnings, translation update for string

freeze
This commit is contained in:
doitux
2011-12-27 18:18:04 +00:00
parent 0d71521559
commit 81e6665ef6
28 changed files with 19026 additions and 17135 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ void SDLPlayer::playSound(string audioString, int playerID)
// set channel 0 to settings volume
Mix_Volume(0,myConfig->readConfigInt("SoundVolume")*10);
Mix_Volume(-1,myConfig->readConfigInt("SoundVolume")*10);
// set 3d effect
if(!Mix_SetPosition(0, position, distance)) {
+1 -1
View File
@@ -15,8 +15,8 @@ public:
private:
SDLPlayer *mySDLPlayer;
gameTableImpl *myW;
ConfigFile *myConfig;
gameTableImpl *myW;
unsigned int lastSBValue;
unsigned int lastSBLevel;