QTfrontend/SDLs.h
changeset 2260 31756e21c436
parent 2216 82e7da49c26a
child 2392 a55dbef5cf31
--- a/QTfrontend/SDLs.h	Sun Jul 12 15:42:54 2009 +0000
+++ b/QTfrontend/SDLs.h	Sun Jul 12 19:12:08 2009 +0000
@@ -21,20 +21,20 @@
 
 #include <QStringList>
 
-extern "C" int openal_init		(unsigned int memorysize);
-extern "C" int openal_close		(void);
-extern "C" int openal_ready		(void);
-extern "C" int openal_loadfile		(const char *filename);
-extern "C" int openal_toggleloop	(unsigned int index);
-extern "C" int openal_setvolume		(unsigned int index, unsigned char percentage);
-extern "C" int openal_setglobalvolume	(unsigned char percentage);
-extern "C" int openal_togglemute	(void);
-extern "C" int openal_fadeout		(unsigned int index, unsigned short int quantity);
-extern "C" int openal_fadein		(unsigned int index, unsigned short int quantity);
-extern "C" int openal_fade		(unsigned int index, unsigned short int quantity, unsigned char direction);
-extern "C" int openal_playsound 	(unsigned int index);
-extern "C" int openal_stopsound		(unsigned int index);
-extern "C" int openal_pausesound	(unsigned int index);
+extern "C" bool openal_init		(unsigned int memorysize);
+extern "C" bool openal_close		(void);
+extern "C" bool openal_ready		(void);
+extern "C" int  openal_loadfile		(const char *filename);
+extern "C" bool openal_toggleloop	(unsigned int index);
+extern "C" bool openal_setvolume	(unsigned int index, unsigned char percentage);
+extern "C" bool openal_setglobalvolume	(unsigned char percentage);
+extern "C" bool openal_togglemute	(void);
+extern "C" bool openal_fadeout		(unsigned int index, unsigned short int quantity);
+extern "C" bool openal_fadein		(unsigned int index, unsigned short int quantity);
+extern "C" bool openal_fade		(unsigned int index, unsigned short int quantity, bool direction);
+extern "C" bool openal_playsound 	(unsigned int index);
+extern "C" bool openal_stopsound	(unsigned int index);
+extern "C" bool openal_pausesound	(unsigned int index);
 
 class SDLInteraction : public QObject
 {