From a6ff654ae37ca372d785c1e155fbfe67a3a25fed Mon Sep 17 00:00:00 2001 From: erihel Date: Thu, 20 Dec 2012 20:59:11 +0100 Subject: removing plugins for gold version (for mxe cross compiling) --- src/sound/sound.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/sound/sound.h') diff --git a/src/sound/sound.h b/src/sound/sound.h index c2b890f..566f415 100644 --- a/src/sound/sound.h +++ b/src/sound/sound.h @@ -28,8 +28,6 @@ #include "common/iman.h" #include "common/logger.h" -#include "plugins/plugininterface.h" - #include #include #include @@ -152,7 +150,7 @@ enum SoundNext * \brief Sound plugin interface * */ -class CSoundInterface : public CPluginInterface +class CSoundInterface { public: inline CSoundInterface() { -- cgit v1.2.3-1-g7c22 From c9ca8f2b62b4994fa797272aecaf33f23253acae Mon Sep 17 00:00:00 2001 From: erihel Date: Fri, 28 Dec 2012 21:19:50 +0100 Subject: * Fixed segault when could not set sound pitch (bad logger call) * All 81 audio files should be loaded instead of 69 high quality * Changed volume ajustment formula to proper one --- src/sound/sound.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sound/sound.h') diff --git a/src/sound/sound.h b/src/sound/sound.h index 566f415..518e2ad 100644 --- a/src/sound/sound.h +++ b/src/sound/sound.h @@ -168,7 +168,7 @@ class CSoundInterface * Function calls \link CSoundInterface::Cache() \endlink for each file */ inline void CacheAll(std::string path) { - for ( int i = 1; i < 69; i++ ) { + for ( int i = 1; i <= 81; i++ ) { std::stringstream filename; filename << path << "/sound" << std::setfill('0') << std::setw(3) << i << ".wav"; if ( !Cache(static_cast(i), filename.str()) ) -- cgit v1.2.3-1-g7c22