summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2012-07-04 20:03:17 +0200
committererihel <erihel@gmail.com>2012-07-04 20:03:17 +0200
commit0e4b070b5f10c0004cfbfa234e3634357b070cba (patch)
treed3647ab259d66d349077e69185468cd2759b4d74 /src
parentecab9761d46754cd8d7a513a8ac16a8b88499d55 (diff)
downloadcolobot-0e4b070b5f10c0004cfbfa234e3634357b070cba.tar.gz
colobot-0e4b070b5f10c0004cfbfa234e3634357b070cba.tar.bz2
colobot-0e4b070b5f10c0004cfbfa234e3634357b070cba.zip
just some fixes
Diffstat (limited to 'src')
-rw-r--r--src/common/logger.h1
-rw-r--r--src/plugins/sound/oalsound/alsound.cpp4
-rw-r--r--src/plugins/sound/oalsound/alsound.h5
3 files changed, 5 insertions, 5 deletions
diff --git a/src/common/logger.h b/src/common/logger.h
index 1b3829c..3a48210 100644
--- a/src/common/logger.h
+++ b/src/common/logger.h
@@ -21,6 +21,7 @@
#include <string>
#include <cstdarg>
+#include <cstdio>
#include <common/singleton.h>
diff --git a/src/plugins/sound/oalsound/alsound.cpp b/src/plugins/sound/oalsound/alsound.cpp
index 87baabd..0e15a40 100644
--- a/src/plugins/sound/oalsound/alsound.cpp
+++ b/src/plugins/sound/oalsound/alsound.cpp
@@ -27,13 +27,13 @@
PLUGIN_INTERFACE(ALSound, CSoundInterface)
-char* ALSound::pluginName()
+char* ALSound::PluginName()
{
return const_cast<char *>("Sound plugin using OpenAL library to play sounds.");
}
-int ALSound::pluginVersion()
+int ALSound::PluginVersion()
{
return 1;
}
diff --git a/src/plugins/sound/oalsound/alsound.h b/src/plugins/sound/oalsound/alsound.h
index d41f6bf..982d3a3 100644
--- a/src/plugins/sound/oalsound/alsound.h
+++ b/src/plugins/sound/oalsound/alsound.h
@@ -74,9 +74,8 @@ class ALSound : public CSoundInterface
bool IsPlayingMusic();
// plugin interface
- char* pluginName();
- int pluginVersion();
- void pluginInit();
+ char* PluginName();
+ int PluginVersion();
private:
void CleanUp();