[Scummvm-cvs-logs] CVS: scummvm/saga ihnm_introproc.cpp,1.23,1.24
Torbjörn Andersson
eriktorbjorn at users.sourceforge.net
Wed Nov 24 02:45:26 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm/imuse_digi dimuse.cpp,1.108,1.109 dimuse.h,1.61,1.62 dimuse_script.cpp,1.29,1.30 dimuse_track.cpp,1.35,1.36
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm/imuse_digi dimuse_track.cpp,1.36,1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4851
Modified Files:
ihnm_introproc.cpp
Log Message:
Added the next piece of music, to go along with AM's rantings. I'll
probably add some more of AM's speech soon, since that'd give me an
incentive to fix the remaining parts of the WAV playback code. I'll see if
I can add subtitles as well, like we do for ITE.
Index: ihnm_introproc.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/ihnm_introproc.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- ihnm_introproc.cpp 20 Nov 2004 17:32:47 -0000 1.23
+++ ihnm_introproc.cpp 24 Nov 2004 10:37:33 -0000 1.24
@@ -219,6 +219,14 @@
q_event = _vm->_events->queue(&event);
// Music, maestro
+
+ // As far as I can tell, there are 40 tracks, numbered 0
+ // through 39. This music appears as tracks 1, 7, 13, 19, 25
+ // and 31, and while they all sound the same to me in the GM
+ // music file, track 1 sounds different from the others in the
+ // FM music file. I believe track 1 is the correct one for
+ // this intro.
+
event.type = ONESHOT_EVENT;
event.code = MUSIC_EVENT;
event.param = 1;
@@ -280,6 +288,16 @@
switch (param) {
case SCENE_BEGIN:
+ // More music
+ event.type = ONESHOT_EVENT;
+ event.code = MUSIC_EVENT;
+ event.param = 32;
+ event.param2 = MUSIC_LOOP;
+ event.op = EVENT_PLAY;
+ event.time = 0;
+
+ q_event = _vm->_events->queue(&event);
+
// Background for intro scene is the first frame of the
// intro animation; display it and set the palette
event.type = ONESHOT_EVENT;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm/imuse_digi dimuse.cpp,1.108,1.109 dimuse.h,1.61,1.62 dimuse_script.cpp,1.29,1.30 dimuse_track.cpp,1.35,1.36
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm/imuse_digi dimuse_track.cpp,1.36,1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list