aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/strres.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2009-04-25 06:42:01 +0000
committerPaul Gilbert2009-04-25 06:42:01 +0000
commit86debbd679d20f1188d2ba015e9d108cbbc85f1a (patch)
tree4e5c7d2f55b13ca579d3be87ce483f1ae888544e /engines/tinsel/strres.cpp
parentd594211ab3fe8782dc1f01e8a8730f109dfa5a92 (diff)
downloadscummvm-rg350-86debbd679d20f1188d2ba015e9d108cbbc85f1a.tar.gz
scummvm-rg350-86debbd679d20f1188d2ba015e9d108cbbc85f1a.tar.bz2
scummvm-rg350-86debbd679d20f1188d2ba015e9d108cbbc85f1a.zip
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
Diffstat (limited to 'engines/tinsel/strres.cpp')
-rw-r--r--engines/tinsel/strres.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tinsel/strres.cpp b/engines/tinsel/strres.cpp
index bbf02301db..b8a92572eb 100644
--- a/engines/tinsel/strres.cpp
+++ b/engines/tinsel/strres.cpp
@@ -25,6 +25,7 @@
*/
#include "tinsel/dw.h"
+#include "tinsel/drives.h"
#include "tinsel/sound.h"
#include "tinsel/strres.h"
#include "common/file.h"
@@ -80,7 +81,7 @@ LANGUAGE textLanguage, sampleLanguage = TXT_ENGLISH;
* @param newLang The new language
*/
void ChangeLanguage(LANGUAGE newLang) {
- Common::File f;
+ TinselFile f;
uint32 textLen = 0; // length of buffer
textLanguage = newLang;