[Scummvm-cvs-logs] CVS: residual/imuse imuse.h,1.9,1.10 imuse_script.cpp,1.8,1.9

Pawel Kolodziejski aquadran at users.sourceforge.net
Sun Jan 2 14:49:07 CET 2005


Update of /cvsroot/scummvm/residual/imuse
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22332/imuse

Modified Files:
	imuse.h imuse_script.cpp 
Log Message:
corrections in imuse params

Index: imuse.h
===================================================================
RCS file: /cvsroot/scummvm/residual/imuse/imuse.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- imuse.h	2 Jan 2005 19:08:44 -0000	1.9
+++ imuse.h	2 Jan 2005 22:48:38 -0000	1.10
@@ -114,9 +114,9 @@
 	~Imuse();
 
 	bool startSound(const char *soundName, int volGroupId, int hookId, int volume, int pan, int priority);
-	void startVoice(const char *soundName);
+	void startVoice(const char *soundName, int volume = 127, int pan = 127);
 	void startMusic(const char *soundName, int hookId, int volume, int pan);
-	void startSfx(const char *soundName, int priority);
+	void startSfx(const char *soundName, int priority = 127);
 
 //	void saveOrLoad(Serializer *ser);
 	void resetState();

Index: imuse_script.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/imuse/imuse_script.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- imuse_script.cpp	1 Jan 2005 21:07:52 -0000	1.8
+++ imuse_script.cpp	2 Jan 2005 22:48:38 -0000	1.9
@@ -61,8 +61,8 @@
 	}
 }
 
-void Imuse::startVoice(const char *soundName) {
-	startSound(soundName, IMUSE_VOLGRP_VOICE, 0, 127, 0, 127);
+void Imuse::startVoice(const char *soundName, int volume, int pan) {
+	startSound(soundName, IMUSE_VOLGRP_VOICE, 0, volume, pan, 127);
 }
 
 void Imuse::startMusic(const char *soundName, int hookId, int volume, int pan) {





More information about the Scummvm-git-logs mailing list