[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
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.68,1.69 game.cpp,1.46,1.47 input.cpp,1.28,1.29 interface.cpp,1.47,1.48 interface.h,1.17,1.18 ite_introproc.cpp,1.43,1.44 rscfile.cpp,1.17,1.18 saga.cpp,1.77,1.78 saga.h,1.62,1.63 script.h,1.43,1.44 sfuncs.cpp,1.64,1.65
- Next message: [Scummvm-cvs-logs] CVS: residual costume.cpp,1.24,1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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) {
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.68,1.69 game.cpp,1.46,1.47 input.cpp,1.28,1.29 interface.cpp,1.47,1.48 interface.h,1.17,1.18 ite_introproc.cpp,1.43,1.44 rscfile.cpp,1.17,1.18 saga.cpp,1.77,1.78 saga.h,1.62,1.63 script.h,1.43,1.44 sfuncs.cpp,1.64,1.65
- Next message: [Scummvm-cvs-logs] CVS: residual costume.cpp,1.24,1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list