From 86debbd679d20f1188d2ba015e9d108cbbc85f1a Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 25 Apr 2009 06:42:01 +0000 Subject: Added code to enable Discworld 2 to play directly from the CD (only the first CD - Cd swap still doesn't work) or from files copied to the hard disk without the .smp/txt/idx files being properly renamed (again only for the first Cd). svn-id: r40141 --- engines/tinsel/sound.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/tinsel/sound.h') diff --git a/engines/tinsel/sound.h b/engines/tinsel/sound.h index 8b969a5f48..15919f8ec5 100644 --- a/engines/tinsel/sound.h +++ b/engines/tinsel/sound.h @@ -34,6 +34,7 @@ #include "tinsel/dw.h" #include "tinsel/tinsel.h" +#include "tinsel/drives.h" namespace Tinsel { @@ -87,7 +88,7 @@ protected: long _sampleIndexLen; /** file stream for sample file */ - Common::File _sampleStream; + TinselFile _sampleStream; bool offscreenChecks(int x, int &y); int8 getPan(int x); -- cgit v1.2.3