[Scummvm-cvs-logs] CVS: scummvm-new/simon simon.cpp,1.2,1.3 vga.cpp,1.1.1.1,1.2
Pawe? Ko?odziejski
aquadran at users.sourceforge.net
Sat Aug 24 08:32:02 CEST 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm-new/scumm imuse.cpp,1.4,1.5 insane.cpp,1.1.1.1,1.2 saveload.cpp,1.1.1.1,1.2 script_v2.cpp,1.1.1.1,1.2
- Next message: [Scummvm-cvs-logs] CVS: scummvm-new/sound mididrv.cpp,1.2,1.3 mixer.cpp,1.2,1.3 mixer.h,1.1.1.1,1.2 sound.cpp,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm-new/simon
In directory usw-pr-cvs1:/tmp/cvs-serv7048/simon
Modified Files:
simon.cpp vga.cpp
Log Message:
synced with scummvm
Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm-new/simon/simon.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- simon.cpp 23 Aug 2002 22:17:24 -0000 1.2
+++ simon.cpp 24 Aug 2002 15:31:37 -0000 1.3
@@ -128,7 +128,7 @@
_game = detector->_gameId;
/* Setup mixer */
- if (!_mixer->bind_to_system(syst))
+ if (!_mixer->bindToSystem(syst))
warning("Sound initialization failed. "
"Features of the game that depend on sound synchronization will most likely break");
set_volume(detector->_sfx_volume);
@@ -3296,7 +3296,7 @@
fseek(in, 0, SEEK_SET);
/* stop all sounds */
- _mixer->stop_all();
+ _mixer->stopAll();
if (_sfx_heap)
free(_sfx_heap);
@@ -4038,12 +4038,11 @@
FILE *in;
char buf[50];
uint32 size;
-
- // FIXME - weird hack to make the beard show up when wearing it (see bug #590800)
- if (vga_id == 328)
- sprintf(buf, "0119.VGA");
- else
- sprintf(buf, "%.3d%d.VGA", vga_id >> 1, (vga_id & 1) + 1);
+ // FIXME - weird hack to make the beard show up when wearing it (see bug #590800)
+ if (vga_id == 328)
+ sprintf(buf, "0119.VGA");
+ else
+ sprintf(buf, "%.3d%d.VGA", vga_id >> 1, (vga_id & 1) + 1);
in = fopen_maybe_lowercase(buf);
if (in == NULL) {
@@ -4798,7 +4797,7 @@
byte *buffer = (byte *)malloc(data[1]);
fread(buffer, data[1], 1, _voice_file);
- _mixer->play_raw(&_voice_sound, buffer, data[1], READ_LE_UINT32(&wave_hdr.samples_per_sec),
+ _mixer->playRaw(&_voice_sound, buffer, data[1], READ_LE_UINT32(&wave_hdr.samples_per_sec),
SoundMixer::FLAG_UNSIGNED);
} else { /* VOC audio */
VocHeader voc_hdr;
@@ -4821,7 +4820,7 @@
byte *buffer = (byte *)malloc(size);
fread(buffer, size, 1, _voice_file);
- _mixer->play_raw(&_voice_sound, buffer, size, samples_per_sec, SoundMixer::FLAG_UNSIGNED);
+ _mixer->playRaw(&_voice_sound, buffer, size, samples_per_sec, SoundMixer::FLAG_UNSIGNED);
}
}
@@ -4854,7 +4853,7 @@
byte *buffer = (byte *)malloc(size);
fread(buffer, size, 1, _effects_file);
- _mixer->play_raw(&_effects_sound, buffer, size, samples_per_sec, SoundMixer::FLAG_UNSIGNED);
+ _mixer->playRaw(&_effects_sound, buffer, size, samples_per_sec, SoundMixer::FLAG_UNSIGNED);
} else {
byte *p;
@@ -4880,7 +4879,7 @@
p++;
}
- _mixer->play_raw(&_playing_sound, p + 8, READ_LE_UINT32(p + 4), 22050,
+ _mixer->playRaw(&_playing_sound, p + 8, READ_LE_UINT32(p + 4), 22050,
SoundMixer::FLAG_UNSIGNED);
}
} else {
@@ -4938,7 +4937,7 @@
void SimonState::set_volume(byte volume)
{
- _mixer->set_volume(volume);
+ _mixer->setVolume(volume);
}
Index: vga.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm-new/simon/vga.cpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- vga.cpp 21 Aug 2002 16:07:40 -0000 1.1.1.1
+++ vga.cpp 24 Aug 2002 15:31:37 -0000 1.2
@@ -1367,7 +1367,7 @@
void SimonState::vc_29_stop_all_sounds()
{
- _mixer->stop_all();
+ _mixer->stopAll();
}
void SimonState::vc_30_set_base_delay()
- Previous message: [Scummvm-cvs-logs] CVS: scummvm-new/scumm imuse.cpp,1.4,1.5 insane.cpp,1.1.1.1,1.2 saveload.cpp,1.1.1.1,1.2 script_v2.cpp,1.1.1.1,1.2
- Next message: [Scummvm-cvs-logs] CVS: scummvm-new/sound mididrv.cpp,1.2,1.3 mixer.cpp,1.2,1.3 mixer.h,1.1.1.1,1.2 sound.cpp,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list