From 966210b56dbe9a37ffde1fb0b46cc794ffed0562 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Fri, 24 Feb 2012 06:15:17 +0000 Subject: DREAMWEB: Migrate remaining minor functions to using datafile prefix variable. Currently, the usages associated with savegames have been omitted. These will probably need a different prefix constant as it is likely foreign variants still use "DREAMWEB.*" for savegames, while using a different prefix for the datafiles. We may even migrate away from this naming convention as this causes savegame collisions when multiple language variants are present, which could cause issues. The usages in the Room members of the constant g_roomData structure have also been omitted, as the members are copied into the savegame format, thus replacing these and fixing other accesses is not trivial. --- engines/dreamweb/stubs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/dreamweb/stubs.cpp') diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index a542173e1d..8e63774317 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -2001,7 +2001,7 @@ void DreamWebEngine::readSetData() { useCharset1(); // FIXME: Why is this commented out? - //openFile("DREAMWEB.VOL"); + //openFile(getDatafilePrefix() + "VOL"); //uint8 *volumeTab = getSegment(data.word(kSoundbuffer)).ptr(16384, 0); //readFromFile(volumeTab, 2048-256); //closeFile(); -- cgit v1.2.3