Update to 0.8.0
This commit is contained in:
parent
eb6054f05d
commit
3517542ffd
@ -1,12 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2005/07/28 17:28:14 jolan Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2005/11/03 09:35:31 jsg Exp $
|
||||
|
||||
.if ${MACHINE_ARCH} == "hppa"
|
||||
BROKEN= "gcc bug"
|
||||
.endif
|
||||
|
||||
COMMENT= "graphical adventure game interpreter"
|
||||
DISTNAME= scummvm-0.7.1
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
DISTNAME= scummvm-0.8.0
|
||||
PKGNAME= ${DISTNAME}
|
||||
CATEGORIES= games x11 emulators
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scummvm/}
|
||||
|
||||
@ -57,7 +57,7 @@ CXXFLAGS+= -O0
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/scummvm
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/scummvm
|
||||
${INSTALL_DATA} ${WRKSRC}/{NEWS,AUTHORS,README} ${PREFIX}/share/doc/scummvm
|
||||
${INSTALL_DATA} ${WRKSRC}/scummvm.xpm ${PREFIX}/share/pixmaps
|
||||
${INSTALL_MAN} ${WRKSRC}/scummvm.6 ${PREFIX}/man/man6
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/scummvm ${PREFIX}/bin
|
||||
|
@ -1,4 +1,4 @@
|
||||
MD5 (scummvm-0.7.1.tar.gz) = 42ca8a8903d1f22390fb98163e3f94b3
|
||||
RMD160 (scummvm-0.7.1.tar.gz) = 4061f7ec75faceb46c85cde19ddef2013a955866
|
||||
SHA1 (scummvm-0.7.1.tar.gz) = 103c8e1b1b8abfdf79b2fdc1cda24e163b6decaa
|
||||
SIZE (scummvm-0.7.1.tar.gz) = 2458980
|
||||
MD5 (scummvm-0.8.0.tar.gz) = 82c524fb36d2be88292ff60fddf54fa1
|
||||
RMD160 (scummvm-0.8.0.tar.gz) = f9d5bc5347f3dea24ae888e64c406ba3d46883fa
|
||||
SHA1 (scummvm-0.8.0.tar.gz) = d5ab8224b03a57bf168034bb53b314a6e566b18d
|
||||
SIZE (scummvm-0.8.0.tar.gz) = 3176190
|
||||
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-base_main_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
|
||||
--- base/main.cpp.orig Sat Mar 26 14:50:01 2005
|
||||
+++ base/main.cpp Wed Jul 27 17:37:10 2005
|
||||
@@ -96,6 +96,9 @@ const char *gScummVMVersion = "0.7.1";
|
||||
const char *gScummVMBuildDate = __DATE__ " " __TIME__;
|
||||
const char *gScummVMFullVersion = "ScummVM 0.7.1 (" __DATE__ " " __TIME__ ")";
|
||||
const char *gScummVMFeatures = ""
|
||||
+#ifdef USE_TREMOR
|
||||
+ "Tremor "
|
||||
+#endif
|
||||
#ifdef USE_VORBIS
|
||||
"Vorbis "
|
||||
#endif
|
@ -1,91 +0,0 @@
|
||||
$OpenBSD: patch-configure,v 1.2 2005/06/30 02:47:49 jolan Exp $
|
||||
--- configure.orig Fri Jan 7 08:14:07 2005
|
||||
+++ configure Wed Jun 29 20:50:35 2005
|
||||
@@ -15,6 +15,7 @@ CXXFLAGS="$CXXFLAGS $CPPFLAGS"
|
||||
|
||||
# default lib behaviour yes/no/auto
|
||||
_vorbis=auto
|
||||
+_tremor=auto
|
||||
_flac=auto
|
||||
_mad=auto
|
||||
_alsa=auto
|
||||
@@ -280,6 +281,9 @@ Optional Libraries:
|
||||
--with-vorbis-prefix=DIR Prefix where libvorbis is installed (optional)
|
||||
--disable-vorbis disable Ogg Vorbis support [autodetect]
|
||||
|
||||
+ --with-tremor-prefix=DIR Prefix where tremor is installed (optional)
|
||||
+ --disable-tremor disable tremor support [autodetect]
|
||||
+
|
||||
--with-mad-prefix=DIR Prefix where libmad is installed (optional)
|
||||
--disable-mad disable libmad (MP3) support [autodetect]
|
||||
|
||||
@@ -326,6 +330,8 @@ for ac_option in $@; do
|
||||
--disable-alsa) _alsa=no ;;
|
||||
--enable-vorbis) _vorbis=yes ;;
|
||||
--disable-vorbis) _vorbis=no ;;
|
||||
+ --enable-tremor) _tremor=yes ;;
|
||||
+ --disable-tremor) _tremor=no ;;
|
||||
--enable-flac) _flac=yes ;;
|
||||
--disable-flac) _flac=no ;;
|
||||
--enable-mad) _mad=yes ;;
|
||||
@@ -358,6 +364,11 @@ for ac_option in $@; do
|
||||
VORBIS_CFLAGS="-I$_prefix/include"
|
||||
VORBIS_LIBS="-L$_prefix/lib"
|
||||
;;
|
||||
+ --with-tremor-prefix=*)
|
||||
+ _prefix=`echo $ac_option | cut -d '=' -f 2`
|
||||
+ TREMOR_CFLAGS="-I$_prefix/include"
|
||||
+ TREMOR_LIBS="-L$_prefix/lib"
|
||||
+ ;;
|
||||
--with-flac-prefix=*)
|
||||
_prefix=`echo $ac_option | cut -d '=' -f 2`
|
||||
FLAC_CFLAGS="-I$_prefix/include"
|
||||
@@ -822,6 +833,31 @@ else
|
||||
fi
|
||||
echo "$_vorbis"
|
||||
|
||||
+#
|
||||
+# Check for Tremor
|
||||
+#
|
||||
+echocheck "Tremor"
|
||||
+if test "$_tremor" = auto ; then
|
||||
+ _tremor=no
|
||||
+ cat > $TMPC << EOF
|
||||
+#include <tremor/ivorbiscodec.h>
|
||||
+int main(void) { vorbis_packet_blocksize(0,0); return 0; }
|
||||
+EOF
|
||||
+cc_check $LDFLAGS $CXXFLAGS $TREMOR_CFLAGS $TREMOR_LIBS -lvorbisidec && \
|
||||
+ _tremor=yes
|
||||
+fi
|
||||
+if test "$_tremor" = yes && test "$_vorbis" = no; then
|
||||
+ _def_tremor='#define USE_TREMOR'
|
||||
+ LIBS="$LIBS $TREMOR_LIBS -lvorbisidec"
|
||||
+ INCLUDES="$INCLUDES $TREMOR_CFLAGS"
|
||||
+else
|
||||
+ if test "$_vorbis" = yes; then
|
||||
+ _tremor="no (Ogg Vorbis/Tremor support is mutually exclusive)"
|
||||
+ fi
|
||||
+ _def_tremor='#undef USE_TREMOR'
|
||||
+fi
|
||||
+echo "$_tremor"
|
||||
+
|
||||
echocheck "FLAC >= 1.0.1"
|
||||
if test "$_flac" = auto ; then
|
||||
_flac=no
|
||||
@@ -1072,6 +1108,7 @@ typedef signed $type_4_byte int32;
|
||||
|
||||
/* Libs */
|
||||
$_def_vorbis
|
||||
+$_def_tremor
|
||||
$_def_flac
|
||||
$_def_mad
|
||||
$_def_alsa
|
||||
@@ -1090,7 +1127,7 @@ cat > config.mak << EOF
|
||||
# -------- Generated by configure -----------
|
||||
|
||||
CXX := $CXX
|
||||
-CXXFLAGS += $CXXFLAGS
|
||||
+CXXFLAGS := $CXXFLAGS
|
||||
LIBS += $LIBS
|
||||
RANLIB := $_ranlib
|
||||
INSTALL := $_install
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-queen_sound_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
|
||||
--- queen/sound.cpp.orig Sun Dec 19 06:48:11 2004
|
||||
+++ queen/sound.cpp Thu Jul 28 12:20:47 2005
|
||||
@@ -60,7 +60,7 @@ Sound *Sound::giveSound(SoundMixer *mixe
|
||||
#endif
|
||||
break;
|
||||
case COMPRESSION_OGG:
|
||||
- #ifndef USE_VORBIS
|
||||
+ #if !defined(USE_TREMOR) && !defined(USE_VORBIS)
|
||||
warning("Using OGG compressed datafile, but OGG support not compiled in");
|
||||
return new SilentSound(mixer, vm);
|
||||
#else
|
||||
@@ -205,7 +205,7 @@ void MP3Sound::sfxPlay(const char *name,
|
||||
}
|
||||
#endif
|
||||
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
void OGGSound::sfxPlay(const char *name, bool isSpeech) {
|
||||
uint32 size;
|
||||
File *f = _vm->resource()->giveCompressedSound(name, &size);
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-queen_sound_h,v 1.1 2005/07/28 17:28:14 jolan Exp $
|
||||
--- queen/sound.h.orig Sun Dec 19 06:48:12 2004
|
||||
+++ queen/sound.h Thu Jul 28 12:20:03 2005
|
||||
@@ -138,7 +138,7 @@ public:
|
||||
};
|
||||
#endif
|
||||
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
class OGGSound : public Sound {
|
||||
public:
|
||||
OGGSound(SoundMixer *mixer, QueenEngine *vm) : Sound(mixer, vm) {};
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-scumm_smush_smush_player_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
|
||||
--- scumm/smush/smush_player.cpp.orig Sat Mar 26 07:14:32 2005
|
||||
+++ scumm/smush/smush_player.cpp Wed Jul 27 17:37:41 2005
|
||||
@@ -1177,7 +1177,7 @@ void SmushPlayer::tryOggFile(const char
|
||||
char fname[260];
|
||||
memcpy(fname, filename, i - filename);
|
||||
strcpy(fname + (i - filename), ".ogg");
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
_compressedFile.open(fname);
|
||||
if (_compressedFile.isOpen()) {
|
||||
int size = _compressedFile.size();
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-scumm_sound_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
|
||||
--- scumm/sound.cpp.orig Sun Dec 19 05:23:28 2004
|
||||
+++ scumm/sound.cpp Wed Jul 27 17:38:24 2005
|
||||
@@ -1005,7 +1005,7 @@ void Sound::startSfxSound(File *file, in
|
||||
#endif
|
||||
break;
|
||||
case kVorbisMode:
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
assert(file_size > 0);
|
||||
input = makeVorbisStream(file, file_size);
|
||||
#endif
|
||||
@@ -1044,7 +1044,7 @@ ScummFile *Sound::openSfxFile() {
|
||||
#ifdef USE_FLAC
|
||||
{ "sof", kFlacMode },
|
||||
#endif
|
||||
- #ifdef USE_VORBIS
|
||||
+ #if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
{ "sog", kVorbisMode },
|
||||
#endif
|
||||
#ifdef USE_MAD
|
@ -1,30 +0,0 @@
|
||||
$OpenBSD: patch-simon_sound_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
|
||||
--- simon/sound.cpp.orig Sat Dec 11 17:34:34 2004
|
||||
+++ simon/sound.cpp Wed Jul 27 17:38:55 2005
|
||||
@@ -223,7 +223,7 @@ void MP3Sound::playSound(uint sound, Pla
|
||||
}
|
||||
#endif
|
||||
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
class VorbisSound : public BaseSound {
|
||||
public:
|
||||
VorbisSound(SoundMixer *mixer, File *file, uint32 base = 0) : BaseSound(mixer, file, base) {};
|
||||
@@ -307,7 +307,7 @@ Sound::Sound(const byte game, const Game
|
||||
}
|
||||
}
|
||||
#endif
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
if (!_voice && gss->vorbis_filename && gss->vorbis_filename[0]) {
|
||||
file->open(gss->vorbis_filename);
|
||||
if (file->isOpen()) {
|
||||
@@ -368,7 +368,7 @@ Sound::Sound(const byte game, const Game
|
||||
}
|
||||
}
|
||||
#endif
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
if (!_effects && gss->vorbis_effects_filename && gss->vorbis_effects_filename[0]) {
|
||||
file->open(gss->vorbis_effects_filename);
|
||||
if (file->isOpen()) {
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-sound_audiocd_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
|
||||
--- sound/audiocd.cpp.orig Tue Sep 28 15:19:33 2004
|
||||
+++ sound/audiocd.cpp Wed Jul 27 17:39:45 2005
|
||||
@@ -46,9 +46,9 @@ static const TrackFormat TRACK_FORMATS[]
|
||||
#ifdef USE_FLAC
|
||||
{ "Flac", getFlacTrack },
|
||||
#endif // #ifdef USE_FLAC
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
{ "Ogg Vorbis", getVorbisTrack },
|
||||
-#endif // #ifdef USE_VORBIS
|
||||
+#endif // #if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
#ifdef USE_MAD
|
||||
{ "Mpeg Layer 3", getMP3Track },
|
||||
#endif // #ifdef USE_MAD
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-sound_audiostream_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
|
||||
--- sound/audiostream.cpp.orig Sat Nov 27 11:09:05 2004
|
||||
+++ sound/audiostream.cpp Wed Jul 27 17:40:14 2005
|
||||
@@ -57,9 +57,9 @@ static const StreamFileFormat STREAM_FIL
|
||||
{ "Flac", "flac", makeFlacStream },
|
||||
{ "Flac", "fla", makeFlacStream },
|
||||
#endif // #ifdef USE_FLAC
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
{ "Ogg Vorbis", "ogg", makeVorbisStream },
|
||||
-#endif // #ifdef USE_VORBIS
|
||||
+#endif // #if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
#ifdef USE_MAD
|
||||
{ "Mpeg Layer 3", "mp3", makeMP3Stream },
|
||||
#endif // #ifdef USE_MAD
|
@ -1,61 +0,0 @@
|
||||
$OpenBSD: patch-sound_vorbis_cpp,v 1.2 2005/07/28 17:28:14 jolan Exp $
|
||||
--- sound/vorbis.cpp.orig Sat Nov 27 07:54:08 2004
|
||||
+++ sound/vorbis.cpp Wed Jul 27 17:54:19 2005
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "sound/vorbis.h"
|
||||
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
|
||||
#include "common/file.h"
|
||||
#include "common/util.h"
|
||||
@@ -29,7 +29,11 @@
|
||||
#include "sound/audiostream.h"
|
||||
#include "sound/audiocd.h"
|
||||
|
||||
+#ifdef USE_TREMOR
|
||||
+#include <tremor/ivorbisfile.h>
|
||||
+#else
|
||||
#include <vorbis/vorbisfile.h>
|
||||
+#endif
|
||||
|
||||
|
||||
static AudioStream *makeVorbisStream(OggVorbis_File *file, int duration);
|
||||
@@ -162,16 +166,12 @@ VorbisTrackInfo::~VorbisTrackInfo() {
|
||||
}
|
||||
}
|
||||
|
||||
-#ifdef CHUNKSIZE
|
||||
-#define VORBIS_TREMOR
|
||||
-#endif
|
||||
-
|
||||
void VorbisTrackInfo::play(SoundMixer *mixer, PlayingSoundHandle *handle, int startFrame, int duration) {
|
||||
|
||||
bool err = openTrack();
|
||||
assert(!err);
|
||||
|
||||
-#ifdef VORBIS_TREMOR
|
||||
+#ifdef USE_TREMOR
|
||||
ov_time_seek(&_ov_file, (ogg_int64_t)(startFrame / 75.0 * 1000));
|
||||
#else
|
||||
ov_time_seek(&_ov_file, startFrame / 75.0);
|
||||
@@ -229,9 +229,6 @@ public:
|
||||
};
|
||||
|
||||
|
||||
-#ifdef CHUNKSIZE
|
||||
-#define VORBIS_TREMOR
|
||||
-#endif
|
||||
|
||||
|
||||
VorbisInputStream::VorbisInputStream(OggVorbis_File *file, int duration, bool deleteFileAfterUse)
|
||||
@@ -284,7 +281,7 @@ void VorbisInputStream::refill() {
|
||||
|
||||
while (len_left > 0 && _end_pos > ov_pcm_tell(_ov_file)) {
|
||||
long result = ov_read(_ov_file, read_pos, len_left,
|
||||
-#ifndef VORBIS_TREMOR
|
||||
+#ifndef USE_TREMOR
|
||||
#ifdef SCUMM_BIG_ENDIAN
|
||||
1,
|
||||
#else
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-sound_vorbis_h,v 1.1 2005/07/28 17:28:14 jolan Exp $
|
||||
--- sound/vorbis.h.orig Sun Feb 22 08:11:11 2004
|
||||
+++ sound/vorbis.h Wed Jul 27 17:40:47 2005
|
||||
@@ -25,7 +25,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "common/scummsys.h"
|
||||
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
|
||||
class AudioStream;
|
||||
class DigitalTrackInfo;
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-sword1_animation_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
|
||||
--- sword1/animation.cpp.orig Sun Mar 13 11:16:06 2005
|
||||
+++ sword1/animation.cpp Wed Jul 27 17:42:38 2005
|
||||
@@ -99,7 +99,7 @@ MoviePlayer::~MoviePlayer(void) {
|
||||
* @param id the id of the file
|
||||
*/
|
||||
void MoviePlayer::play(uint32 id) {
|
||||
-#if defined(USE_MPEG2) && defined(USE_VORBIS)
|
||||
+#if defined(USE_MPEG2) && (defined(USE_TREMOR) || defined(USE_VORBIS))
|
||||
AnimationState *anim = new AnimationState(_scr, _snd, _sys);
|
||||
AudioStream *stream = NULL;
|
||||
if (SwordEngine::_systemVars.cutscenePackVersion == 1) {
|
||||
@@ -165,7 +165,7 @@ void MoviePlayer::play(uint32 id) {
|
||||
while (!anim->soundFinished())
|
||||
_sys->delayMillis(100);
|
||||
delete anim;
|
||||
-#endif // USE_MPEG2 && USE_VORBIS
|
||||
+#endif // USE_MPEG2 && (USE_TREMOR || USE_VORBIS)
|
||||
}
|
||||
|
||||
void MoviePlayer::insertOverlay(OverlayColor *buf, uint8 *ovl, OverlayColor *pal) {
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-sword1_music_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
|
||||
--- sword1/music.cpp.orig Fri Dec 10 12:26:08 2004
|
||||
+++ sword1/music.cpp Wed Jul 27 17:43:16 2005
|
||||
@@ -109,7 +109,7 @@ AudioStream *MusicHandle::createAudioSou
|
||||
case MusicMp3:
|
||||
return makeMP3Stream(&_file, _file.size());
|
||||
#endif
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
case MusicVorbis:
|
||||
return makeVorbisStream(&_file, _file.size());
|
||||
#endif
|
||||
@@ -133,7 +133,7 @@ bool MusicHandle::play(const char *fileB
|
||||
if (_file.open(fileName))
|
||||
_musicMode = MusicMp3;
|
||||
#endif
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
if (!_file.isOpen()) { // mp3 doesn't exist (or not compiled with MAD support)
|
||||
sprintf(fileName, "%s.ogg", fileBase);
|
||||
if (_file.open(fileName))
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-sword1_sound_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
|
||||
--- sword1/sound.cpp.orig Sun Nov 28 17:02:28 2004
|
||||
+++ sword1/sound.cpp Wed Jul 27 17:43:45 2005
|
||||
@@ -202,7 +202,7 @@ bool Sound::startSpeech(uint16 roomNo, u
|
||||
_waveVolPos = 0;
|
||||
}
|
||||
#endif
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
else if (_cowMode == CowVorbis) {
|
||||
_cowFile.seek(index);
|
||||
_mixer->playInputStream(&_speechHandle, makeVorbisStream(&_cowFile, sampleSize), false, SOUND_SPEECH_ID, speechVol, speechPan);
|
||||
@@ -319,7 +319,7 @@ void Sound::initCowSystem(void) {
|
||||
_cowMode = CowMp3;
|
||||
}
|
||||
#endif
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
if (!_cowFile.isOpen()) {
|
||||
sprintf(cowName, "SPEECH%d.CLV", SwordEngine::_systemVars.currentCD);
|
||||
_cowFile.open(cowName);
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-sword1_sword1_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
|
||||
--- sword1/sword1.cpp.orig Mon Dec 20 12:33:54 2004
|
||||
+++ sword1/sword1.cpp Wed Jul 27 17:44:06 2005
|
||||
@@ -292,7 +292,7 @@ const CdFile SwordEngine::_cdFileList[]
|
||||
,{ "speech1.cl3", FLAG_SPEECH1 },
|
||||
{ "speech2.cl3", FLAG_SPEECH2 }
|
||||
#endif
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
,{ "speech1.clv", FLAG_SPEECH1 },
|
||||
{ "speech2.clv", FLAG_SPEECH2 }
|
||||
#endif
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-sword2_driver_d_sound_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
|
||||
--- sword2/driver/d_sound.cpp.orig Fri Feb 18 10:57:24 2005
|
||||
+++ sword2/driver/d_sound.cpp Wed Jul 27 17:44:31 2005
|
||||
@@ -48,7 +48,7 @@ static AudioStream *getAudioStream(File
|
||||
#ifdef USE_MAD
|
||||
{ "cl3", kMP3Mode },
|
||||
#endif
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
{ "clg", kVorbisMode },
|
||||
#endif
|
||||
#ifdef USE_FLAC
|
||||
@@ -122,7 +122,7 @@ static AudioStream *getAudioStream(File
|
||||
case kMP3Mode:
|
||||
return makeMP3Stream(fp, enc_len);
|
||||
#endif
|
||||
-#ifdef USE_VORBIS
|
||||
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
||||
case kVorbisMode:
|
||||
return makeVorbisStream(fp, enc_len);
|
||||
#endif
|
@ -1,7 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 00:46:10 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2005/11/03 09:35:31 jsg Exp $
|
||||
bin/scummvm
|
||||
@man man/man6/scummvm.6
|
||||
share/doc/scummvm/
|
||||
share/doc/scummvm/AUTHORS
|
||||
share/doc/scummvm/NEWS
|
||||
share/doc/scummvm/README
|
||||
share/pixmaps/
|
||||
share/pixmaps/scummvm.xpm
|
||||
|
Loading…
Reference in New Issue
Block a user